feat(smart-app): implement complete mobile app MVP

- App.tsx: full navigation (Auth stack + Main tabs with 5 screens)
- Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen
- HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors
- MapScreen: interactive map with layer toggles (6 layers)
- MarketplaceScreen: categories (6), products (5), search
- ChatScreen: AI chat with quick prompts (4), bot responses
- ProfileScreen: user info, stats, menu (9 items), logout
- AlertsScreen: alert list with severity, acknowledge
- SensorsScreen: sensor list with type filters (6 types), search
- ZonesScreen: zone cards with stats
- SettingsScreen: language picker (FR/EN/ES/DE), privacy, about
- Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n
- Hooks: useSensors, useAlerts, useNotifications, useLocation
- Components: Card, Button, LoadingSpinner, ErrorBoundary, Header
- Services: iotService, notificationService (with axios API client)
- Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN)
- Theme: colors.ts with full design system (Blue Ocean palette)
- Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
This commit is contained in:
Eric FELIXINE
2026-06-01 18:00:35 -04:00
parent 08ca495bde
commit e30ae8ed09
35578 changed files with 3703534 additions and 43 deletions

View File

@@ -0,0 +1,113 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = configureFonts;
exports.fontConfig = void 0;
var _reactNative = require("react-native");
var _tokens = require("./themes/v3/tokens");
const fontConfig = exports.fontConfig = {
web: {
regular: {
fontFamily: 'Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif',
fontWeight: '400'
},
medium: {
fontFamily: 'Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif',
fontWeight: '500'
},
light: {
fontFamily: 'Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif',
fontWeight: '300'
},
thin: {
fontFamily: 'Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif',
fontWeight: '100'
}
},
ios: {
regular: {
fontFamily: 'System',
fontWeight: '400'
},
medium: {
fontFamily: 'System',
fontWeight: '500'
},
light: {
fontFamily: 'System',
fontWeight: '300'
},
thin: {
fontFamily: 'System',
fontWeight: '100'
}
},
default: {
regular: {
fontFamily: 'sans-serif',
fontWeight: 'normal'
},
medium: {
fontFamily: 'sans-serif-medium',
fontWeight: 'normal'
},
light: {
fontFamily: 'sans-serif-light',
fontWeight: 'normal'
},
thin: {
fontFamily: 'sans-serif-thin',
fontWeight: 'normal'
}
}
};
function configureV2Fonts(config) {
const fonts = _reactNative.Platform.select({
...fontConfig,
...config
});
return fonts;
}
function configureV3Fonts(config) {
if (!config) {
return _tokens.typescale;
}
const isFlatConfig = Object.keys(config).every(key => typeof config[key] !== 'object');
if (isFlatConfig) {
return Object.fromEntries(Object.entries(_tokens.typescale).map(([variantName, variantProperties]) => [variantName, {
...variantProperties,
...config
}]));
}
return Object.assign({}, _tokens.typescale, ...Object.entries(config).map(([variantName, variantProperties]) => ({
[variantName]: {
..._tokens.typescale[variantName],
...variantProperties
}
})));
}
// eslint-disable-next-line no-redeclare
// eslint-disable-next-line no-redeclare
// eslint-disable-next-line no-redeclare
// eslint-disable-next-line no-redeclare
// eslint-disable-next-line no-redeclare
// eslint-disable-next-line no-redeclare
function configureFonts(params) {
const {
isV3 = true,
config
} = params || {};
if (isV3) {
return configureV3Fonts(config);
}
return configureV2Fonts(config);
}
//# sourceMappingURL=fonts.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_reactNative","require","_tokens","fontConfig","exports","web","regular","fontFamily","fontWeight","medium","light","thin","ios","default","configureV2Fonts","config","fonts","Platform","select","configureV3Fonts","typescale","isFlatConfig","Object","keys","every","key","fromEntries","entries","map","variantName","variantProperties","assign","configureFonts","params","isV3"],"sourceRoot":"../../../src","sources":["styles/fonts.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGA,IAAAC,OAAA,GAAAD,OAAA;AAEO,MAAME,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,GAAG,EAAE;IACHC,OAAO,EAAE;MACPC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C,IAAI,CAACR,MAAM,CAAC,CAACS,KAAK,CAC3CC,GAAG,IAAK,OAAOV,MAAM,CAACU,GAAG,CAAwB,KAAK,QACzD,CAAC;EAED,IAAIJ,YAAY,EAAE;IAChB,OAAOC,MAAM,CAACI,WAAW,CACvBJ,MAAM,CAACK,OAAO,CAACP,iBAAS,CAAC,CAACQ,GAAG,CAAC,CAAC,CAACC,WAAW,EAAEC,iBAAiB,CAAC,KAAK,CAClED,WAAW,EACX;MAAE,GAAGC,iBAAiB;MAAE,GAAGf;IAAO,CAAC,CACpC,CACH,CAAC;EACH;EAEA,OAAOO,MAAM,CAACS,MAAM,CAClB,CAAC,CAAC,EACFX,iBAAS,EACT,GAAGE,MAAM,CAACK,OAAO,CAACZ,MAAM,CAAC,CAACa,GAAG,CAAC,CAAC,CAACC,WAAW,EAAEC,iBAAiB,CAAC,MAAM;IACnE,CAACD,WAAW,GAAG;MACb,GAAGT,iBAAS,CAACS,WAAW,CAAoB;MAC5C,GAAGC;IACL;EACF,CAAC,CAAC,CACJ,CAAC;AACH;;AAEA;;AAEA;;AAKA;;AAKA;;AAKA;;AAKA;AACe,SAASE,cAAcA,CAACC,MAAY,EAAE;EACnD,MAAM;IAAEC,IAAI,GAAG,IAAI;IAAEnB;EAAO,CAAC,GAAGkB,MAAM,IAAI,CAAC,CAAC;EAE5C,IAAIC,IAAI,EAAE;IACR,OAAOf,gBAAgB,CAACJ,MAAM,CAAC;EACjC;EACA,OAAOD,gBAAgB,CAACC,MAAM,CAAC;AACjC","ignoreList":[]}

View File

@@ -0,0 +1,67 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = overlay;
exports.isAnimatedValue = void 0;
var _reactNative = require("react-native");
var _color = _interopRequireDefault(require("color"));
var _DarkTheme = require("./themes/v2/DarkTheme");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const isAnimatedValue = it => it instanceof _reactNative.Animated.Value;
exports.isAnimatedValue = isAnimatedValue;
function overlay(elevation, surfaceColor = (_MD2DarkTheme$colors => (_MD2DarkTheme$colors = _DarkTheme.MD2DarkTheme.colors) === null || _MD2DarkTheme$colors === void 0 ? void 0 : _MD2DarkTheme$colors.surface)()) {
if (isAnimatedValue(elevation)) {
const inputRange = [0, 1, 2, 3, 8, 24];
// @ts-expect-error: TS doesn't seem to refine the type correctly
return elevation.interpolate({
inputRange,
outputRange: inputRange.map(elevation => {
return calculateColor(surfaceColor, elevation);
})
});
}
// @ts-expect-error: TS doesn't seem to refine the type correctly
return calculateColor(surfaceColor, elevation);
}
function calculateColor(surfaceColor, elevation = 1) {
let overlayTransparency;
if (elevation >= 1 && elevation <= 24) {
overlayTransparency = elevationOverlayTransparency[elevation];
} else if (elevation > 24) {
overlayTransparency = elevationOverlayTransparency[24];
} else {
overlayTransparency = elevationOverlayTransparency[1];
}
return (0, _color.default)(surfaceColor).mix((0, _color.default)('white'), overlayTransparency * 0.01).hex();
}
const elevationOverlayTransparency = {
1: 5,
2: 7,
3: 8,
4: 9,
5: 10,
6: 11,
7: 11.5,
8: 12,
9: 12.5,
10: 13,
11: 13.5,
12: 14,
13: 14.25,
14: 14.5,
15: 14.75,
16: 15,
17: 15.12,
18: 15.24,
19: 15.36,
20: 15.48,
21: 15.6,
22: 15.72,
23: 15.84,
24: 16
};
//# sourceMappingURL=overlay.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_reactNative","require","_color","_interopRequireDefault","_DarkTheme","e","__esModule","default","isAnimatedValue","it","Animated","Value","exports","overlay","elevation","surfaceColor","_MD2DarkTheme$colors","MD2DarkTheme","colors","surface","inputRange","interpolate","outputRange","map","calculateColor","overlayTransparency","elevationOverlayTransparency","color","mix","hex"],"sourceRoot":"../../../src","sources":["styles/overlay.tsx"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,UAAA,GAAAH,OAAA;AAAqD,SAAAE,uBAAAE,C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EAAEF,mBAAmB,GAAG,IAAI,CAAC,CAC/CI,GAAG,CAAC,CAAC;AACV;AAEA,MAAMH,4BAAoD,GAAG;EAC3D,CAAC,EAAE,CAAC;EACJ,CAAC,EAAE,CAAC;EACJ,CAAC,EAAE,CAAC;EACJ,CAAC,EAAE,CAAC;EACJ,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,IAAI;EACP,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,IAAI;EACP,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,IAAI;EACR,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,KAAK;EACT,EAAE,EAAE,IAAI;EACR,EAAE,EAAE,KAAK;EACT,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,KAAK;EACT,EAAE,EAAE,KAAK;EACT,EAAE,EAAE,KAAK;EACT,EAAE,EAAE,KAAK;EACT,EAAE,EAAE,IAAI;EACR,EAAE,EAAE,KAAK;EACT,EAAE,EAAE,KAAK;EACT,EAAE,EAAE;AACN,CAAC","ignoreList":[]}

View File

@@ -0,0 +1,105 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = shadow;
var _reactNative = require("react-native");
var MD2Colors = _interopRequireWildcard(require("./themes/v2/colors"));
var _tokens = require("./themes/v3/tokens");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
const SHADOW_COLOR = MD2Colors.black;
const SHADOW_OPACITY = 0.24;
const MD3_SHADOW_OPACITY = 0.3;
const MD3_SHADOW_COLOR = _tokens.MD3Colors.primary0;
function shadow(elevation = 0, isV3 = false) {
return isV3 ? v3Shadow(elevation) : v2Shadow(elevation);
}
function v2Shadow(elevation = 0) {
if (elevation instanceof _reactNative.Animated.Value) {
const inputRange = [0, 1, 2, 3, 8, 24];
return {
shadowColor: SHADOW_COLOR,
shadowOffset: {
width: new _reactNative.Animated.Value(0),
height: elevation.interpolate({
inputRange,
outputRange: [0, 0.5, 0.75, 2, 7, 23]
})
},
shadowOpacity: elevation.interpolate({
inputRange: [0, 1],
outputRange: [0, SHADOW_OPACITY],
extrapolate: 'clamp'
}),
shadowRadius: elevation.interpolate({
inputRange,
outputRange: [0, 0.75, 1.5, 3, 8, 24]
})
};
} else {
if (elevation === 0) {
return {};
}
let height, radius;
switch (elevation) {
case 1:
height = 0.5;
radius = 0.75;
break;
case 2:
height = 0.75;
radius = 1.5;
break;
default:
height = elevation - 1;
radius = elevation;
}
return {
shadowColor: SHADOW_COLOR,
shadowOffset: {
width: 0,
height
},
shadowOpacity: SHADOW_OPACITY,
shadowRadius: radius
};
}
}
function v3Shadow(elevation = 0) {
const inputRange = [0, 1, 2, 3, 4, 5];
const shadowHeight = [0, 1, 2, 4, 6, 8];
const shadowRadius = [0, 3, 6, 8, 10, 12];
if (elevation instanceof _reactNative.Animated.Value) {
return {
shadowColor: MD3_SHADOW_COLOR,
shadowOffset: {
width: new _reactNative.Animated.Value(0),
height: elevation.interpolate({
inputRange,
outputRange: shadowHeight
})
},
shadowOpacity: elevation.interpolate({
inputRange: [0, 1],
outputRange: [0, MD3_SHADOW_OPACITY],
extrapolate: 'clamp'
}),
shadowRadius: elevation.interpolate({
inputRange,
outputRange: shadowRadius
})
};
} else {
return {
shadowColor: MD3_SHADOW_COLOR,
shadowOpacity: elevation ? MD3_SHADOW_OPACITY : 0,
shadowOffset: {
width: 0,
height: shadowHeight[elevation]
},
shadowRadius: shadowRadius[elevation]
};
}
}
//# sourceMappingURL=shadow.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_reactNative","require","MD2Colors","_interopRequireWildcard","_tokens","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SHADOW_COLOR","black","SHADOW_OPACITY","MD3_SHADOW_OPACITY","MD3_SHADOW_COLOR","MD3Colors","primary0","shadow","elevation","isV3","v3Shadow","v2Shadow","Animated","Value","inputRange","shadowColor","shadowOffset","width","height","interpolate","outputRange","shadowOpacity","extrapolate","shadowRadius","radius","shadowHeight"],"sourceRoot":"../../../src","sources":["styles/shadow.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAA+C,SAAAE,wBAAAE,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAJ,uBAAA,YAAAA,CAAAE,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,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,CAAC,CAAC,CAAC;QAC5BK,MAAM,EAAEV,SAAS,CAACW,WAAW,CAAC;UAC5BL,UAAU;UACVM,WAAW,EAAEK;QACf,CAAC;MACH,CAAC;MACDJ,aAAa,EAAEb,SAAS,CAACW,WAAW,CAAC;QACnCL,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QAClBM,WAAW,EAAE,CAAC,CAAC,EAAEjB,kBAAkB,CAAC;QACpCmB,WAAW,EAAE;MACf,CAAC,CAAC;MACFC,YAAY,EAAEf,SAAS,CAACW,WAAW,CAAC;QAClCL,UAAU;QACVM,WAAW,EAAEG;MACf,CAAC;IACH,CAAC;EACH,CAAC,MAAM;IACL,OAAO;MACLR,WAAW,EAAEX,gBAAgB;MAC7BiB,aAAa,EAAEb,SAAS,GAAGL,kBAAkB,GAAG,CAAC;MACjDa,YAAY,EAAE;QACZC,KAAK,EAAE,CAAC;QACRC,MAAM,EAAEO,YAAY,CAACjB,SAAS;MAChC,CAAC;MACDe,YAAY,EAAEA,YAAY,CAACf,SAAS;IACtC,CAAC;EACH;AACF","ignoreList":[]}

View File

@@ -0,0 +1,34 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "MD2DarkTheme", {
enumerable: true,
get: function () {
return _DarkTheme2.MD2DarkTheme;
}
});
Object.defineProperty(exports, "MD2LightTheme", {
enumerable: true,
get: function () {
return _LightTheme2.MD2LightTheme;
}
});
Object.defineProperty(exports, "MD3DarkTheme", {
enumerable: true,
get: function () {
return _DarkTheme.MD3DarkTheme;
}
});
Object.defineProperty(exports, "MD3LightTheme", {
enumerable: true,
get: function () {
return _LightTheme.MD3LightTheme;
}
});
var _LightTheme = require("./v3/LightTheme");
var _DarkTheme = require("./v3/DarkTheme");
var _LightTheme2 = require("./v2/LightTheme");
var _DarkTheme2 = require("./v2/DarkTheme");
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_LightTheme","require","_DarkTheme","_LightTheme2","_DarkTheme2"],"sourceRoot":"../../../../src","sources":["styles/themes/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA","ignoreList":[]}

View File

@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MD2DarkTheme = void 0;
var _color = _interopRequireDefault(require("color"));
var _colors = require("./colors");
var _LightTheme = require("./LightTheme");
var _fonts = _interopRequireDefault(require("../../fonts"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const MD2DarkTheme = exports.MD2DarkTheme = {
..._LightTheme.MD2LightTheme,
dark: true,
mode: 'adaptive',
version: 2,
isV3: false,
colors: {
..._LightTheme.MD2LightTheme.colors,
primary: '#BB86FC',
accent: '#03dac6',
background: '#121212',
surface: '#121212',
error: '#CF6679',
onSurface: '#FFFFFF',
text: _colors.white,
disabled: (0, _color.default)(_colors.white).alpha(0.38).rgb().string(),
placeholder: (0, _color.default)(_colors.white).alpha(0.54).rgb().string(),
backdrop: (0, _color.default)(_colors.black).alpha(0.5).rgb().string(),
notification: _colors.pinkA100,
tooltip: 'rgba(230, 225, 229, 1)'
},
fonts: (0, _fonts.default)({
isV3: false
})
};
//# sourceMappingURL=DarkTheme.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_color","_interopRequireDefault","require","_colors","_LightTheme","_fonts","e","__esModule","default","MD2DarkTheme","exports","MD2LightTheme","dark","mode","version","isV3","colors","primary","accent","background","surface","error","onSurface","text","white","disabled","color","alpha","rgb","string","placeholder","backdrop","black","notification","pinkA100","tooltip","fonts","configureFonts"],"sourceRoot":"../../../../../src","sources":["styles/themes/v2/DarkTheme.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAyC,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,MAAMG,YAAsB,GAAAC,OAAA,CAAAD,YAAA,GAAG;EACpC,GAAGE,yBAAa;EAChBC,IAAI,EAAE,IAAI;EACVC,IAAI,EAAE,UAAU;EAChBC,OAAO,EAAE,CAAC;EACVC,IAAI,EAAE,KAAK;EACXC,MAAM,EAAE;IACN,GAAGL,yBAAa,CAACK,MAAM;IACvBC,OAAO,EAAE,SAAS;IAClBC,MAAM,EAAE,SAAS;IACjBC,UAAU,EAAE,SAAS;IACrBC,OAAO,EAAE,SAAS;IAClBC,KAAK,EAAE,SAAS;IAChBC,SAAS,EAAE,SAAS;IACpBC,IAAI,EAAEC,aAAK;IACXC,QAAQ,EAAE,IAAAC,cAAK,EAACF,aAAK,CAAC,CAACG,KAAK,CAAC,IAAI,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACjDC,WAAW,EAAE,IAAAJ,cAAK,EAACF,aAAK,CAAC,CAACG,KAAK,CAAC,IAAI,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACpDE,QAAQ,EAAE,IAAAL,cAAK,EAACM,aAAK,CAAC,CAACL,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IAChDI,YAAY,EAAEC,gBAAQ;IACtBC,OAAO,EAAE;EACX,CAAC;EACDC,KAAK,EAAE,IAAAC,cAAc,EAAC;IAAEtB,IAAI,EAAE;EAAM,CAAC;AACvC,CAAC","ignoreList":[]}

View File

@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MD2LightTheme = void 0;
var _color = _interopRequireDefault(require("color"));
var _colors = require("./colors");
var _fonts = _interopRequireDefault(require("../../fonts"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const MD2LightTheme = exports.MD2LightTheme = {
dark: false,
roundness: 4,
version: 2,
isV3: false,
colors: {
primary: '#6200ee',
accent: '#03dac4',
background: '#f6f6f6',
surface: _colors.white,
error: '#B00020',
text: _colors.black,
onSurface: '#000000',
disabled: (0, _color.default)(_colors.black).alpha(0.26).rgb().string(),
placeholder: (0, _color.default)(_colors.black).alpha(0.54).rgb().string(),
backdrop: (0, _color.default)(_colors.black).alpha(0.5).rgb().string(),
notification: _colors.pinkA400,
tooltip: 'rgba(28, 27, 31, 1)'
},
fonts: (0, _fonts.default)({
isV3: false
}),
animation: {
scale: 1.0
}
};
//# sourceMappingURL=LightTheme.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_color","_interopRequireDefault","require","_colors","_fonts","e","__esModule","default","MD2LightTheme","exports","dark","roundness","version","isV3","colors","primary","accent","background","surface","white","error","text","black","onSurface","disabled","color","alpha","rgb","string","placeholder","backdrop","notification","pinkA400","tooltip","fonts","configureFonts","animation","scale"],"sourceRoot":"../../../../../src","sources":["styles/themes/v2/LightTheme.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAyC,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAElC,MAAMG,aAAuB,GAAAC,OAAA,CAAAD,aAAA,GAAG;EACrCE,IAAI,EAAE,KAAK;EACXC,SAAS,EAAE,CAAC;EACZC,OAAO,EAAE,CAAC;EACVC,IAAI,EAAE,KAAK;EACXC,MAAM,EAAE;IACNC,OAAO,EAAE,SAAS;IAClBC,MAAM,EAAE,SAAS;IACjBC,UAAU,EAAE,SAAS;IACrBC,OAAO,EAAEC,aAAK;IACdC,KAAK,EAAE,SAAS;IAChBC,IAAI,EAAEC,aAAK;IACXC,SAAS,EAAE,SAAS;IACpBC,QAAQ,EAAE,IAAAC,cAAK,EAACH,aAAK,CAAC,CAACI,KAAK,CAAC,IAAI,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACjDC,WAAW,EAAE,IAAAJ,cAAK,EAACH,aAAK,CAAC,CAACI,KAAK,CAAC,IAAI,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACpDE,QAAQ,EAAE,IAAAL,cAAK,EAACH,aAAK,CAAC,CAACI,KAAK,CAAC,GAAG,CAAC,CAACC,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IAChDG,YAAY,EAAEC,gBAAQ;IACtBC,OAAO,EAAE;EACX,CAAC;EACDC,KAAK,EAAE,IAAAC,cAAc,EAAC;IAAEtB,IAAI,EAAE;EAAM,CAAC,CAAU;EAC/CuB,SAAS,EAAE;IACTC,KAAK,EAAE;EACT;AACF,CAAC","ignoreList":[]}

View File

@@ -0,0 +1,266 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.green800 = exports.green700 = exports.green600 = exports.green500 = exports.green50 = exports.green400 = exports.green300 = exports.green200 = exports.green100 = exports.deepPurpleA700 = exports.deepPurpleA400 = exports.deepPurpleA200 = exports.deepPurpleA100 = exports.deepPurple900 = exports.deepPurple800 = exports.deepPurple700 = exports.deepPurple600 = exports.deepPurple500 = exports.deepPurple50 = exports.deepPurple400 = exports.deepPurple300 = exports.deepPurple200 = exports.deepPurple100 = exports.deepOrangeA700 = exports.deepOrangeA400 = exports.deepOrangeA200 = exports.deepOrangeA100 = exports.deepOrange900 = exports.deepOrange800 = exports.deepOrange700 = exports.deepOrange600 = exports.deepOrange500 = exports.deepOrange50 = exports.deepOrange400 = exports.deepOrange300 = exports.deepOrange200 = exports.deepOrange100 = exports.cyanA700 = exports.cyanA400 = exports.cyanA200 = exports.cyanA100 = exports.cyan900 = exports.cyan800 = exports.cyan700 = exports.cyan600 = exports.cyan500 = exports.cyan50 = exports.cyan400 = exports.cyan300 = exports.cyan200 = exports.cyan100 = exports.brown900 = exports.brown800 = exports.brown700 = exports.brown600 = exports.brown500 = exports.brown50 = exports.brown400 = exports.brown300 = exports.brown200 = exports.brown100 = exports.blueGrey900 = exports.blueGrey800 = exports.blueGrey700 = exports.blueGrey600 = exports.blueGrey500 = exports.blueGrey50 = exports.blueGrey400 = exports.blueGrey300 = exports.blueGrey200 = exports.blueGrey100 = exports.blueA700 = exports.blueA400 = exports.blueA200 = exports.blueA100 = exports.blue900 = exports.blue800 = exports.blue700 = exports.blue600 = exports.blue500 = exports.blue50 = exports.blue400 = exports.blue300 = exports.blue200 = exports.blue100 = exports.black = exports.amberA700 = exports.amberA400 = exports.amberA200 = exports.amberA100 = exports.amber900 = exports.amber800 = exports.amber700 = exports.amber600 = exports.amber500 = exports.amber50 = exports.amber400 = exports.amber300 = exports.amber200 = exports.amber100 = void 0;
exports.purple100 = exports.pinkA700 = exports.pinkA400 = exports.pinkA200 = exports.pinkA100 = exports.pink900 = exports.pink800 = exports.pink700 = exports.pink600 = exports.pink500 = exports.pink50 = exports.pink400 = exports.pink300 = exports.pink200 = exports.pink100 = exports.orangeA700 = exports.orangeA400 = exports.orangeA200 = exports.orangeA100 = exports.orange900 = exports.orange800 = exports.orange700 = exports.orange600 = exports.orange500 = exports.orange50 = exports.orange400 = exports.orange300 = exports.orange200 = exports.orange100 = exports.limeA700 = exports.limeA400 = exports.limeA200 = exports.limeA100 = exports.lime900 = exports.lime800 = exports.lime700 = exports.lime600 = exports.lime500 = exports.lime50 = exports.lime400 = exports.lime300 = exports.lime200 = exports.lime100 = exports.lightGreenA700 = exports.lightGreenA400 = exports.lightGreenA200 = exports.lightGreenA100 = exports.lightGreen900 = exports.lightGreen800 = exports.lightGreen700 = exports.lightGreen600 = exports.lightGreen500 = exports.lightGreen50 = exports.lightGreen400 = exports.lightGreen300 = exports.lightGreen200 = exports.lightGreen100 = exports.lightBlueA700 = exports.lightBlueA400 = exports.lightBlueA200 = exports.lightBlueA100 = exports.lightBlue900 = exports.lightBlue800 = exports.lightBlue700 = exports.lightBlue600 = exports.lightBlue500 = exports.lightBlue50 = exports.lightBlue400 = exports.lightBlue300 = exports.lightBlue200 = exports.lightBlue100 = exports.indigoA700 = exports.indigoA400 = exports.indigoA200 = exports.indigoA100 = exports.indigo900 = exports.indigo800 = exports.indigo700 = exports.indigo600 = exports.indigo500 = exports.indigo50 = exports.indigo400 = exports.indigo300 = exports.indigo200 = exports.indigo100 = exports.grey900 = exports.grey800 = exports.grey700 = exports.grey600 = exports.grey500 = exports.grey50 = exports.grey400 = exports.grey300 = exports.grey200 = exports.grey100 = exports.greenA700 = exports.greenA400 = exports.greenA200 = exports.greenA100 = exports.green900 = void 0;
exports.yellowA700 = exports.yellowA400 = exports.yellowA200 = exports.yellowA100 = exports.yellow900 = exports.yellow800 = exports.yellow700 = exports.yellow600 = exports.yellow500 = exports.yellow50 = exports.yellow400 = exports.yellow300 = exports.yellow200 = exports.yellow100 = exports.white = exports.transparent = exports.tealA700 = exports.tealA400 = exports.tealA200 = exports.tealA100 = exports.teal900 = exports.teal800 = exports.teal700 = exports.teal600 = exports.teal500 = exports.teal50 = exports.teal400 = exports.teal300 = exports.teal200 = exports.teal100 = exports.redA700 = exports.redA400 = exports.redA200 = exports.redA100 = exports.red900 = exports.red800 = exports.red700 = exports.red600 = exports.red500 = exports.red50 = exports.red400 = exports.red300 = exports.red200 = exports.red100 = exports.purpleA700 = exports.purpleA400 = exports.purpleA200 = exports.purpleA100 = exports.purple900 = exports.purple800 = exports.purple700 = exports.purple600 = exports.purple500 = exports.purple50 = exports.purple400 = exports.purple300 = exports.purple200 = void 0;
const transparent = exports.transparent = 'rgba(255, 255, 255, 0)';
const red50 = exports.red50 = '#ffebee';
const red100 = exports.red100 = '#ffcdd2';
const red200 = exports.red200 = '#ef9a9a';
const red300 = exports.red300 = '#e57373';
const red400 = exports.red400 = '#ef5350';
const red500 = exports.red500 = '#f44336';
const red600 = exports.red600 = '#e53935';
const red700 = exports.red700 = '#d32f2f';
const red800 = exports.red800 = '#c62828';
const red900 = exports.red900 = '#b71c1c';
const redA100 = exports.redA100 = '#ff8a80';
const redA200 = exports.redA200 = '#ff5252';
const redA400 = exports.redA400 = '#ff1744';
const redA700 = exports.redA700 = '#d50000';
const pink50 = exports.pink50 = '#fce4ec';
const pink100 = exports.pink100 = '#f8bbd0';
const pink200 = exports.pink200 = '#f48fb1';
const pink300 = exports.pink300 = '#f06292';
const pink400 = exports.pink400 = '#ec407a';
const pink500 = exports.pink500 = '#e91e63';
const pink600 = exports.pink600 = '#d81b60';
const pink700 = exports.pink700 = '#c2185b';
const pink800 = exports.pink800 = '#ad1457';
const pink900 = exports.pink900 = '#880e4f';
const pinkA100 = exports.pinkA100 = '#ff80ab';
const pinkA200 = exports.pinkA200 = '#ff4081';
const pinkA400 = exports.pinkA400 = '#f50057';
const pinkA700 = exports.pinkA700 = '#c51162';
const purple50 = exports.purple50 = '#f3e5f5';
const purple100 = exports.purple100 = '#e1bee7';
const purple200 = exports.purple200 = '#ce93d8';
const purple300 = exports.purple300 = '#ba68c8';
const purple400 = exports.purple400 = '#ab47bc';
const purple500 = exports.purple500 = '#9c27b0';
const purple600 = exports.purple600 = '#8e24aa';
const purple700 = exports.purple700 = '#7b1fa2';
const purple800 = exports.purple800 = '#6a1b9a';
const purple900 = exports.purple900 = '#4a148c';
const purpleA100 = exports.purpleA100 = '#ea80fc';
const purpleA200 = exports.purpleA200 = '#e040fb';
const purpleA400 = exports.purpleA400 = '#d500f9';
const purpleA700 = exports.purpleA700 = '#aa00ff';
const deepPurple50 = exports.deepPurple50 = '#ede7f6';
const deepPurple100 = exports.deepPurple100 = '#d1c4e9';
const deepPurple200 = exports.deepPurple200 = '#b39ddb';
const deepPurple300 = exports.deepPurple300 = '#9575cd';
const deepPurple400 = exports.deepPurple400 = '#7e57c2';
const deepPurple500 = exports.deepPurple500 = '#673ab7';
const deepPurple600 = exports.deepPurple600 = '#5e35b1';
const deepPurple700 = exports.deepPurple700 = '#512da8';
const deepPurple800 = exports.deepPurple800 = '#4527a0';
const deepPurple900 = exports.deepPurple900 = '#311b92';
const deepPurpleA100 = exports.deepPurpleA100 = '#b388ff';
const deepPurpleA200 = exports.deepPurpleA200 = '#7c4dff';
const deepPurpleA400 = exports.deepPurpleA400 = '#651fff';
const deepPurpleA700 = exports.deepPurpleA700 = '#6200ea';
const indigo50 = exports.indigo50 = '#e8eaf6';
const indigo100 = exports.indigo100 = '#c5cae9';
const indigo200 = exports.indigo200 = '#9fa8da';
const indigo300 = exports.indigo300 = '#7986cb';
const indigo400 = exports.indigo400 = '#5c6bc0';
const indigo500 = exports.indigo500 = '#3f51b5';
const indigo600 = exports.indigo600 = '#3949ab';
const indigo700 = exports.indigo700 = '#303f9f';
const indigo800 = exports.indigo800 = '#283593';
const indigo900 = exports.indigo900 = '#1a237e';
const indigoA100 = exports.indigoA100 = '#8c9eff';
const indigoA200 = exports.indigoA200 = '#536dfe';
const indigoA400 = exports.indigoA400 = '#3d5afe';
const indigoA700 = exports.indigoA700 = '#304ffe';
const blue50 = exports.blue50 = '#e3f2fd';
const blue100 = exports.blue100 = '#bbdefb';
const blue200 = exports.blue200 = '#90caf9';
const blue300 = exports.blue300 = '#64b5f6';
const blue400 = exports.blue400 = '#42a5f5';
const blue500 = exports.blue500 = '#2196f3';
const blue600 = exports.blue600 = '#1e88e5';
const blue700 = exports.blue700 = '#1976d2';
const blue800 = exports.blue800 = '#1565c0';
const blue900 = exports.blue900 = '#0d47a1';
const blueA100 = exports.blueA100 = '#82b1ff';
const blueA200 = exports.blueA200 = '#448aff';
const blueA400 = exports.blueA400 = '#2979ff';
const blueA700 = exports.blueA700 = '#2962ff';
const lightBlue50 = exports.lightBlue50 = '#e1f5fe';
const lightBlue100 = exports.lightBlue100 = '#b3e5fc';
const lightBlue200 = exports.lightBlue200 = '#81d4fa';
const lightBlue300 = exports.lightBlue300 = '#4fc3f7';
const lightBlue400 = exports.lightBlue400 = '#29b6f6';
const lightBlue500 = exports.lightBlue500 = '#03a9f4';
const lightBlue600 = exports.lightBlue600 = '#039be5';
const lightBlue700 = exports.lightBlue700 = '#0288d1';
const lightBlue800 = exports.lightBlue800 = '#0277bd';
const lightBlue900 = exports.lightBlue900 = '#01579b';
const lightBlueA100 = exports.lightBlueA100 = '#80d8ff';
const lightBlueA200 = exports.lightBlueA200 = '#40c4ff';
const lightBlueA400 = exports.lightBlueA400 = '#00b0ff';
const lightBlueA700 = exports.lightBlueA700 = '#0091ea';
const cyan50 = exports.cyan50 = '#e0f7fa';
const cyan100 = exports.cyan100 = '#b2ebf2';
const cyan200 = exports.cyan200 = '#80deea';
const cyan300 = exports.cyan300 = '#4dd0e1';
const cyan400 = exports.cyan400 = '#26c6da';
const cyan500 = exports.cyan500 = '#00bcd4';
const cyan600 = exports.cyan600 = '#00acc1';
const cyan700 = exports.cyan700 = '#0097a7';
const cyan800 = exports.cyan800 = '#00838f';
const cyan900 = exports.cyan900 = '#006064';
const cyanA100 = exports.cyanA100 = '#84ffff';
const cyanA200 = exports.cyanA200 = '#18ffff';
const cyanA400 = exports.cyanA400 = '#00e5ff';
const cyanA700 = exports.cyanA700 = '#00b8d4';
const teal50 = exports.teal50 = '#e0f2f1';
const teal100 = exports.teal100 = '#b2dfdb';
const teal200 = exports.teal200 = '#80cbc4';
const teal300 = exports.teal300 = '#4db6ac';
const teal400 = exports.teal400 = '#26a69a';
const teal500 = exports.teal500 = '#009688';
const teal600 = exports.teal600 = '#00897b';
const teal700 = exports.teal700 = '#00796b';
const teal800 = exports.teal800 = '#00695c';
const teal900 = exports.teal900 = '#004d40';
const tealA100 = exports.tealA100 = '#a7ffeb';
const tealA200 = exports.tealA200 = '#64ffda';
const tealA400 = exports.tealA400 = '#1de9b6';
const tealA700 = exports.tealA700 = '#00bfa5';
const green50 = exports.green50 = '#e8f5e9';
const green100 = exports.green100 = '#c8e6c9';
const green200 = exports.green200 = '#a5d6a7';
const green300 = exports.green300 = '#81c784';
const green400 = exports.green400 = '#66bb6a';
const green500 = exports.green500 = '#4caf50';
const green600 = exports.green600 = '#43a047';
const green700 = exports.green700 = '#388e3c';
const green800 = exports.green800 = '#2e7d32';
const green900 = exports.green900 = '#1b5e20';
const greenA100 = exports.greenA100 = '#b9f6ca';
const greenA200 = exports.greenA200 = '#69f0ae';
const greenA400 = exports.greenA400 = '#00e676';
const greenA700 = exports.greenA700 = '#00c853';
const lightGreen50 = exports.lightGreen50 = '#f1f8e9';
const lightGreen100 = exports.lightGreen100 = '#dcedc8';
const lightGreen200 = exports.lightGreen200 = '#c5e1a5';
const lightGreen300 = exports.lightGreen300 = '#aed581';
const lightGreen400 = exports.lightGreen400 = '#9ccc65';
const lightGreen500 = exports.lightGreen500 = '#8bc34a';
const lightGreen600 = exports.lightGreen600 = '#7cb342';
const lightGreen700 = exports.lightGreen700 = '#689f38';
const lightGreen800 = exports.lightGreen800 = '#558b2f';
const lightGreen900 = exports.lightGreen900 = '#33691e';
const lightGreenA100 = exports.lightGreenA100 = '#ccff90';
const lightGreenA200 = exports.lightGreenA200 = '#b2ff59';
const lightGreenA400 = exports.lightGreenA400 = '#76ff03';
const lightGreenA700 = exports.lightGreenA700 = '#64dd17';
const lime50 = exports.lime50 = '#f9fbe7';
const lime100 = exports.lime100 = '#f0f4c3';
const lime200 = exports.lime200 = '#e6ee9c';
const lime300 = exports.lime300 = '#dce775';
const lime400 = exports.lime400 = '#d4e157';
const lime500 = exports.lime500 = '#cddc39';
const lime600 = exports.lime600 = '#c0ca33';
const lime700 = exports.lime700 = '#afb42b';
const lime800 = exports.lime800 = '#9e9d24';
const lime900 = exports.lime900 = '#827717';
const limeA100 = exports.limeA100 = '#f4ff81';
const limeA200 = exports.limeA200 = '#eeff41';
const limeA400 = exports.limeA400 = '#c6ff00';
const limeA700 = exports.limeA700 = '#aeea00';
const yellow50 = exports.yellow50 = '#fffde7';
const yellow100 = exports.yellow100 = '#fff9c4';
const yellow200 = exports.yellow200 = '#fff59d';
const yellow300 = exports.yellow300 = '#fff176';
const yellow400 = exports.yellow400 = '#ffee58';
const yellow500 = exports.yellow500 = '#ffeb3b';
const yellow600 = exports.yellow600 = '#fdd835';
const yellow700 = exports.yellow700 = '#fbc02d';
const yellow800 = exports.yellow800 = '#f9a825';
const yellow900 = exports.yellow900 = '#f57f17';
const yellowA100 = exports.yellowA100 = '#ffff8d';
const yellowA200 = exports.yellowA200 = '#ffff00';
const yellowA400 = exports.yellowA400 = '#ffea00';
const yellowA700 = exports.yellowA700 = '#ffd600';
const amber50 = exports.amber50 = '#fff8e1';
const amber100 = exports.amber100 = '#ffecb3';
const amber200 = exports.amber200 = '#ffe082';
const amber300 = exports.amber300 = '#ffd54f';
const amber400 = exports.amber400 = '#ffca28';
const amber500 = exports.amber500 = '#ffc107';
const amber600 = exports.amber600 = '#ffb300';
const amber700 = exports.amber700 = '#ffa000';
const amber800 = exports.amber800 = '#ff8f00';
const amber900 = exports.amber900 = '#ff6f00';
const amberA100 = exports.amberA100 = '#ffe57f';
const amberA200 = exports.amberA200 = '#ffd740';
const amberA400 = exports.amberA400 = '#ffc400';
const amberA700 = exports.amberA700 = '#ffab00';
const orange50 = exports.orange50 = '#fff3e0';
const orange100 = exports.orange100 = '#ffe0b2';
const orange200 = exports.orange200 = '#ffcc80';
const orange300 = exports.orange300 = '#ffb74d';
const orange400 = exports.orange400 = '#ffa726';
const orange500 = exports.orange500 = '#ff9800';
const orange600 = exports.orange600 = '#fb8c00';
const orange700 = exports.orange700 = '#f57c00';
const orange800 = exports.orange800 = '#ef6c00';
const orange900 = exports.orange900 = '#e65100';
const orangeA100 = exports.orangeA100 = '#ffd180';
const orangeA200 = exports.orangeA200 = '#ffab40';
const orangeA400 = exports.orangeA400 = '#ff9100';
const orangeA700 = exports.orangeA700 = '#ff6d00';
const deepOrange50 = exports.deepOrange50 = '#fbe9e7';
const deepOrange100 = exports.deepOrange100 = '#ffccbc';
const deepOrange200 = exports.deepOrange200 = '#ffab91';
const deepOrange300 = exports.deepOrange300 = '#ff8a65';
const deepOrange400 = exports.deepOrange400 = '#ff7043';
const deepOrange500 = exports.deepOrange500 = '#ff5722';
const deepOrange600 = exports.deepOrange600 = '#f4511e';
const deepOrange700 = exports.deepOrange700 = '#e64a19';
const deepOrange800 = exports.deepOrange800 = '#d84315';
const deepOrange900 = exports.deepOrange900 = '#bf360c';
const deepOrangeA100 = exports.deepOrangeA100 = '#ff9e80';
const deepOrangeA200 = exports.deepOrangeA200 = '#ff6e40';
const deepOrangeA400 = exports.deepOrangeA400 = '#ff3d00';
const deepOrangeA700 = exports.deepOrangeA700 = '#dd2c00';
const brown50 = exports.brown50 = '#efebe9';
const brown100 = exports.brown100 = '#d7ccc8';
const brown200 = exports.brown200 = '#bcaaa4';
const brown300 = exports.brown300 = '#a1887f';
const brown400 = exports.brown400 = '#8d6e63';
const brown500 = exports.brown500 = '#795548';
const brown600 = exports.brown600 = '#6d4c41';
const brown700 = exports.brown700 = '#5d4037';
const brown800 = exports.brown800 = '#4e342e';
const brown900 = exports.brown900 = '#3e2723';
const blueGrey50 = exports.blueGrey50 = '#eceff1';
const blueGrey100 = exports.blueGrey100 = '#cfd8dc';
const blueGrey200 = exports.blueGrey200 = '#b0bec5';
const blueGrey300 = exports.blueGrey300 = '#90a4ae';
const blueGrey400 = exports.blueGrey400 = '#78909c';
const blueGrey500 = exports.blueGrey500 = '#607d8b';
const blueGrey600 = exports.blueGrey600 = '#546e7a';
const blueGrey700 = exports.blueGrey700 = '#455a64';
const blueGrey800 = exports.blueGrey800 = '#37474f';
const blueGrey900 = exports.blueGrey900 = '#263238';
const grey50 = exports.grey50 = '#fafafa';
const grey100 = exports.grey100 = '#f5f5f5';
const grey200 = exports.grey200 = '#eeeeee';
const grey300 = exports.grey300 = '#e0e0e0';
const grey400 = exports.grey400 = '#bdbdbd';
const grey500 = exports.grey500 = '#9e9e9e';
const grey600 = exports.grey600 = '#757575';
const grey700 = exports.grey700 = '#616161';
const grey800 = exports.grey800 = '#424242';
const grey900 = exports.grey900 = '#212121';
const black = exports.black = '#000000';
const white = exports.white = '#ffffff';
//# sourceMappingURL=colors.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,71 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MD3DarkTheme = void 0;
var _color = _interopRequireDefault(require("color"));
var _LightTheme = require("./LightTheme");
var _tokens = require("./tokens");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const {
palette,
opacity
} = _tokens.tokens.md.ref;
const MD3DarkTheme = exports.MD3DarkTheme = {
..._LightTheme.MD3LightTheme,
dark: true,
mode: 'adaptive',
version: 3,
isV3: true,
colors: {
primary: palette.primary80,
primaryContainer: palette.primary30,
secondary: palette.secondary80,
secondaryContainer: palette.secondary30,
tertiary: palette.tertiary80,
tertiaryContainer: palette.tertiary30,
surface: palette.neutral10,
surfaceVariant: palette.neutralVariant30,
surfaceDisabled: (0, _color.default)(palette.neutral90).alpha(opacity.level2).rgb().string(),
background: palette.neutral10,
error: palette.error80,
errorContainer: palette.error30,
onPrimary: palette.primary20,
onPrimaryContainer: palette.primary90,
onSecondary: palette.secondary20,
onSecondaryContainer: palette.secondary90,
onTertiary: palette.tertiary20,
onTertiaryContainer: palette.tertiary90,
onSurface: palette.neutral90,
onSurfaceVariant: palette.neutralVariant80,
onSurfaceDisabled: (0, _color.default)(palette.neutral90).alpha(opacity.level4).rgb().string(),
onError: palette.error20,
onErrorContainer: palette.error80,
onBackground: palette.neutral90,
outline: palette.neutralVariant60,
outlineVariant: palette.neutralVariant30,
inverseSurface: palette.neutral90,
inverseOnSurface: palette.neutral20,
inversePrimary: palette.primary40,
shadow: palette.neutral0,
scrim: palette.neutral0,
backdrop: (0, _color.default)(_tokens.MD3Colors.neutralVariant20).alpha(0.4).rgb().string(),
elevation: {
level0: 'transparent',
// Note: Color values with transparency cause RN to transfer shadows to children nodes
// instead of View component in Surface. Providing solid background fixes the issue.
// Opaque color values generated with `palette.primary80` used as background
level1: 'rgb(37, 35, 42)',
// palette.primary80, alpha 0.05
level2: 'rgb(44, 40, 49)',
// palette.primary80, alpha 0.08
level3: 'rgb(49, 44, 56)',
// palette.primary80, alpha 0.11
level4: 'rgb(51, 46, 58)',
// palette.primary80, alpha 0.12
level5: 'rgb(52, 49, 63)' // palette.primary80, alpha 0.14
}
}
};
//# sourceMappingURL=DarkTheme.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_color","_interopRequireDefault","require","_LightTheme","_tokens","e","__esModule","default","palette","opacity","tokens","md","ref","MD3DarkTheme","exports","MD3LightTheme","dark","mode","version","isV3","colors","primary","primary80","primaryContainer","primary30","secondary","secondary80","secondaryContainer","secondary30","tertiary","tertiary80","tertiaryContainer","tertiary30","surface","neutral10","surfaceVariant","neutralVariant30","surfaceDisabled","color","neutral90","alpha","level2","rgb","string","background","error","error80","errorContainer","error30","onPrimary","primary20","onPrimaryContainer","primary90","onSecondary","secondary20","onSecondaryContainer","secondary90","onTertiary","tertiary20","onTertiaryContainer","tertiary90","onSurface","onSurfaceVariant","neutralVariant80","onSurfaceDisabled","level4","onError","error20","onErrorContainer","onBackground","outline","neutralVariant60","outlineVariant","inverseSurface","inverseOnSurface","neutral20","inversePrimary","primary40","shadow","neutral0","scrim","backdrop","MD3Colors","neutralVariant20","elevation","level0","level1","level3","level5"],"sourceRoot":"../../../../../src","sources":["styles/themes/v3/DarkTheme.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AAA6C,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAG7C,MA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gBAAgB;IAC1CC,iBAAiB,EAAE,IAAA1B,cAAK,EAAC9B,OAAO,CAAC+B,SAAS,CAAC,CACxCC,KAAK,CAAC/B,OAAO,CAACwD,MAAM,CAAC,CACrBvB,GAAG,CAAC,CAAC,CACLC,MAAM,CAAC,CAAC;IACXuB,OAAO,EAAE1D,OAAO,CAAC2D,OAAO;IACxBC,gBAAgB,EAAE5D,OAAO,CAACsC,OAAO;IACjCuB,YAAY,EAAE7D,OAAO,CAAC+B,SAAS;IAC/B+B,OAAO,EAAE9D,OAAO,CAAC+D,gBAAgB;IACjCC,cAAc,EAAEhE,OAAO,CAAC4B,gBAAgB;IACxCqC,cAAc,EAAEjE,OAAO,CAAC+B,SAAS;IACjCmC,gBAAgB,EAAElE,OAAO,CAACmE,SAAS;IACnCC,cAAc,EAAEpE,OAAO,CAACqE,SAAS;IACjCC,MAAM,EAAEtE,OAAO,CAACuE,QAAQ;IACxBC,KAAK,EAAExE,OAAO,CAACuE,QAAQ;IACvBE,QAAQ,EAAE,IAAA3C,cAAK,EAAC4C,iBAAS,CAACC,gBAAgB,CAAC,CAAC3C,KAAK,CAAC,GAAG,CAAC,CAACE,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACrEyC,SAAS,EAAE;MACTC,MAAM,EAAE,aAAa;MACrB;MACA;MACA;MACAC,MAAM,EAAE,iBAAiB;MAAE;MAC3B7C,MAAM,EAAE,iBAAiB;MAAE;MAC3B8C,MAAM,EAAE,iBAAiB;MAAE;MAC3BtB,MAAM,EAAE,iBAAiB;MAAE;MAC3BuB,MAAM,EAAE,iBAAiB,CAAE;IAC7B;EACF;AACF,CAAC","ignoreList":[]}

View File

@@ -0,0 +1,74 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MD3LightTheme = void 0;
var _color = _interopRequireDefault(require("color"));
var _tokens = require("./tokens");
var _fonts = _interopRequireDefault(require("../../fonts"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const {
palette,
opacity
} = _tokens.tokens.md.ref;
const MD3LightTheme = exports.MD3LightTheme = {
dark: false,
roundness: 4,
version: 3,
isV3: true,
colors: {
primary: palette.primary40,
primaryContainer: palette.primary90,
secondary: palette.secondary40,
secondaryContainer: palette.secondary90,
tertiary: palette.tertiary40,
tertiaryContainer: palette.tertiary90,
surface: palette.neutral99,
surfaceVariant: palette.neutralVariant90,
surfaceDisabled: (0, _color.default)(palette.neutral10).alpha(opacity.level2).rgb().string(),
background: palette.neutral99,
error: palette.error40,
errorContainer: palette.error90,
onPrimary: palette.primary100,
onPrimaryContainer: palette.primary10,
onSecondary: palette.secondary100,
onSecondaryContainer: palette.secondary10,
onTertiary: palette.tertiary100,
onTertiaryContainer: palette.tertiary10,
onSurface: palette.neutral10,
onSurfaceVariant: palette.neutralVariant30,
onSurfaceDisabled: (0, _color.default)(palette.neutral10).alpha(opacity.level4).rgb().string(),
onError: palette.error100,
onErrorContainer: palette.error10,
onBackground: palette.neutral10,
outline: palette.neutralVariant50,
outlineVariant: palette.neutralVariant80,
inverseSurface: palette.neutral20,
inverseOnSurface: palette.neutral95,
inversePrimary: palette.primary80,
shadow: palette.neutral0,
scrim: palette.neutral0,
backdrop: (0, _color.default)(_tokens.MD3Colors.neutralVariant20).alpha(0.4).rgb().string(),
elevation: {
level0: 'transparent',
// Note: Color values with transparency cause RN to transfer shadows to children nodes
// instead of View component in Surface. Providing solid background fixes the issue.
// Opaque color values generated with `palette.primary99` used as background
level1: 'rgb(247, 243, 249)',
// palette.primary40, alpha 0.05
level2: 'rgb(243, 237, 246)',
// palette.primary40, alpha 0.08
level3: 'rgb(238, 232, 244)',
// palette.primary40, alpha 0.11
level4: 'rgb(236, 230, 243)',
// palette.primary40, alpha 0.12
level5: 'rgb(233, 227, 241)' // palette.primary40, alpha 0.14
}
},
fonts: (0, _fonts.default)(),
animation: {
scale: 1.0
}
};
//# sourceMappingURL=LightTheme.js.map

View File

@@ -0,0 +1 @@
{"version":3,"names":["_color","_interopRequireDefault","require","_tokens","_fonts","e","__esModule","default","palette","opacity","tokens","md","ref","MD3LightTheme","exports","dark","roundness","version","isV3","colors","primary","primary40","primaryContainer","primary90","secondary","secondary40","secondaryContainer","secondary90","tertiary","tertiary40","tertiaryContainer","tertiary90","surface","neutral99","surfaceVariant","neutralVariant90","surfaceDisabled","color","neutral10","alpha","level2","rgb","string","background","error","error40","errorContainer","error90","onPrimary","primary100","onPrimaryContainer","primary10","onSecondary","secondary100","onSecondaryContainer","secondary10","onTertiary","tertiary100","onTertiaryContainer","tertiary10","onSurface","onSurfaceVariant","neutralVariant30","onSurfaceDisabled","level4","onError","error100","onErrorContainer","error10","onBackground","outline","neutralVariant50","outlineVariant","neutralVariant80","inverseSurface","neutral20","inverseOnSurface","neutral95","inversePrimary","primary80","shadow","neutral0","scrim","backdrop","MD3Colors","neutralVariant20","elevation","level0","level1","level3","level5","fonts","configureFonts","animation","scale"],"sourceRoot":"../../../../../src","sources":["styles/themes/v3/LightTheme.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAyC,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEzC,MAAM;EAAEG,OAAO;EAAEC;AAAQ,CAAC,GAAGC,cAAM,CAACC,EAAE,CAACC,GAAG;AAEnC,MAAMC,aAAuB,GAAAC,OAAA,CAAAD,aAAA,GAAG;EACrCE,IAAI,EAAE,KAAK;EACXC,SAAS,EAAE,CAAC;EACZC,OAAO,EAAE,CAAC;EACVC,IAAI,EAAE,IAAI;EACVC,MAAM,EAAE;IACNC,OAAO,EAAEZ,OAAO,CAACa,SAAS;IAC1BC,gBAAgB,EAAEd,OAAO,CAACe,SAAS;IACnCC,SAAS,EAAEhB,OAAO,CAACiB,W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iE,gBAAgB;IACxCC,cAAc,EAAElE,OAAO,CAACmE,SAAS;IACjCC,gBAAgB,EAAEpE,OAAO,CAACqE,SAAS;IACnCC,cAAc,EAAEtE,OAAO,CAACuE,SAAS;IACjCC,MAAM,EAAExE,OAAO,CAACyE,QAAQ;IACxBC,KAAK,EAAE1E,OAAO,CAACyE,QAAQ;IACvBE,QAAQ,EAAE,IAAA9C,cAAK,EAAC+C,iBAAS,CAACC,gBAAgB,CAAC,CAAC9C,KAAK,CAAC,GAAG,CAAC,CAACE,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACrE4C,SAAS,EAAE;MACTC,MAAM,EAAE,aAAa;MACrB;MACA;MACA;MACAC,MAAM,EAAE,oBAAoB;MAAE;MAC9BhD,MAAM,EAAE,oBAAoB;MAAE;MAC9BiD,MAAM,EAAE,oBAAoB;MAAE;MAC9BzB,MAAM,EAAE,oBAAoB;MAAE;MAC9B0B,MAAM,EAAE,oBAAoB,CAAE;IAChC;EACF,CAAC;EACDC,KAAK,EAAE,IAAAC,cAAc,EAAC,CAAC;EACvBC,SAAS,EAAE;IACTC,KAAK,EAAE;EACT;AACF,CAAC","ignoreList":[]}

View File

@@ -0,0 +1,221 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.typescale = exports.tokens = exports.MD3Colors = void 0;
var _reactNative = require("react-native");
const ref = {
palette: {
primary100: 'rgba(255, 255, 255, 1)',
primary99: 'rgba(255, 251, 254, 1)',
primary95: 'rgba(246, 237, 255, 1)',
primary90: 'rgba(234, 221, 255, 1)',
primary80: 'rgba(208, 188, 255, 1)',
primary70: 'rgba(182, 157, 248, 1)',
primary60: 'rgba(154, 130, 219, 1)',
primary50: 'rgba(127, 103, 190, 1)',
primary40: 'rgba(103, 80, 164, 1)',
primary30: 'rgba(79, 55, 139, 1)',
primary20: 'rgba(56, 30, 114, 1)',
primary10: 'rgba(33, 0, 93, 1)',
primary0: 'rgba(0, 0, 0, 1)',
secondary100: 'rgba(255, 255, 255, 1)',
secondary99: 'rgba(255, 251, 254, 1)',
secondary95: 'rgba(246, 237, 255, 1)',
secondary90: 'rgba(232, 222, 248, 1)',
secondary80: 'rgba(204, 194, 220, 1)',
secondary70: 'rgba(176, 167, 192, 1)',
secondary60: 'rgba(149, 141, 165, 1)',
secondary50: 'rgba(122, 114, 137, 1)',
secondary40: 'rgba(98, 91, 113, 1)',
secondary30: 'rgba(74, 68, 88, 1)',
secondary20: 'rgba(51, 45, 65, 1)',
secondary10: 'rgba(29, 25, 43, 1)',
secondary0: 'rgba(0, 0, 0, 1)',
tertiary100: 'rgba(255, 255, 255, 1)',
tertiary99: 'rgba(255, 251, 250, 1)',
tertiary95: 'rgba(255, 236, 241, 1)',
tertiary90: 'rgba(255, 216, 228, 1)',
tertiary80: 'rgba(239, 184, 200, 1)',
tertiary70: 'rgba(210, 157, 172, 1)',
tertiary60: 'rgba(181, 131, 146, 1)',
tertiary50: 'rgba(152, 105, 119, 1)',
tertiary40: 'rgba(125, 82, 96, 1)',
tertiary30: 'rgba(99, 59, 72, 1)',
tertiary20: 'rgba(73, 37, 50, 1)',
tertiary10: 'rgba(49, 17, 29, 1)',
tertiary0: 'rgba(0, 0, 0, 1)',
neutral100: 'rgba(255, 255, 255, 1)',
neutral99: 'rgba(255, 251, 254, 1)',
neutral95: 'rgba(244, 239, 244, 1)',
neutral90: 'rgba(230, 225, 229, 1)',
neutral80: 'rgba(201, 197, 202, 1)',
neutral70: 'rgba(174, 170, 174, 1)',
neutral60: 'rgba(147, 144, 148, 1)',
neutral50: 'rgba(120, 117, 121, 1)',
neutral40: 'rgba(96, 93, 98, 1)',
neutral30: 'rgba(72, 70, 73, 1)',
neutral20: 'rgba(49, 48, 51, 1)',
neutral10: 'rgba(28, 27, 31, 1)',
neutral0: 'rgba(0, 0, 0, 1)',
neutralVariant100: 'rgba(255, 255, 255, 1)',
neutralVariant99: 'rgba(255, 251, 254, 1)',
neutralVariant95: 'rgba(245, 238, 250, 1)',
neutralVariant90: 'rgba(231, 224, 236, 1)',
neutralVariant80: 'rgba(202, 196, 208, 1)',
neutralVariant70: 'rgba(174, 169, 180, 1)',
neutralVariant60: 'rgba(147, 143, 153, 1)',
neutralVariant50: 'rgba(121, 116, 126, 1)',
neutralVariant40: 'rgba(96, 93, 102, 1)',
neutralVariant30: 'rgba(73, 69, 79, 1)',
neutralVariant20: 'rgba(50, 47, 55, 1)',
neutralVariant10: 'rgba(29, 26, 34, 1)',
neutralVariant0: 'rgba(0, 0, 0, 1)',
error100: 'rgba(255, 255, 255, 1)',
error99: 'rgba(255, 251, 249, 1)',
error95: 'rgba(252, 238, 238, 1)',
error90: 'rgba(249, 222, 220, 1)',
error80: 'rgba(242, 184, 181, 1)',
error70: 'rgba(236, 146, 142, 1)',
error60: 'rgba(228, 105, 98, 1)',
error50: 'rgba(220, 54, 46, 1)',
error40: 'rgba(179, 38, 30, 1)',
error30: 'rgba(140, 29, 24, 1)',
error20: 'rgba(96, 20, 16, 1)',
error10: 'rgba(65, 14, 11, 1)',
error0: 'rgba(0, 0, 0, 1)'
},
typeface: {
brandRegular: _reactNative.Platform.select({
web: 'Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif',
ios: 'System',
default: 'sans-serif'
}),
weightRegular: '400',
plainMedium: _reactNative.Platform.select({
web: 'Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif',
ios: 'System',
default: 'sans-serif-medium'
}),
weightMedium: '500'
},
opacity: {
level1: 0.08,
level2: 0.12,
level3: 0.16,
level4: 0.38
}
};
const regularType = {
fontFamily: ref.typeface.brandRegular,
letterSpacing: 0,
fontWeight: ref.typeface.weightRegular
};
const mediumType = {
fontFamily: ref.typeface.plainMedium,
letterSpacing: 0.15,
fontWeight: ref.typeface.weightMedium
};
const typescale = exports.typescale = {
displayLarge: {
...regularType,
lineHeight: 64,
fontSize: 57
},
displayMedium: {
...regularType,
lineHeight: 52,
fontSize: 45
},
displaySmall: {
...regularType,
lineHeight: 44,
fontSize: 36
},
headlineLarge: {
...regularType,
lineHeight: 40,
fontSize: 32
},
headlineMedium: {
...regularType,
lineHeight: 36,
fontSize: 28
},
headlineSmall: {
...regularType,
lineHeight: 32,
fontSize: 24
},
titleLarge: {
...regularType,
lineHeight: 28,
fontSize: 22
},
titleMedium: {
...mediumType,
lineHeight: 24,
fontSize: 16
},
titleSmall: {
...mediumType,
letterSpacing: 0.1,
lineHeight: 20,
fontSize: 14
},
labelLarge: {
...mediumType,
letterSpacing: 0.1,
lineHeight: 20,
fontSize: 14
},
labelMedium: {
...mediumType,
letterSpacing: 0.5,
lineHeight: 16,
fontSize: 12
},
labelSmall: {
...mediumType,
letterSpacing: 0.5,
lineHeight: 16,
fontSize: 11
},
bodyLarge: {
...mediumType,
fontWeight: ref.typeface.weightRegular,
fontFamily: ref.typeface.brandRegular,
lineHeight: 24,
fontSize: 16
},
bodyMedium: {
...mediumType,
fontWeight: ref.typeface.weightRegular,
fontFamily: ref.typeface.brandRegular,
letterSpacing: 0.25,
lineHeight: 20,
fontSize: 14
},
bodySmall: {
...mediumType,
fontWeight: ref.typeface.weightRegular,
fontFamily: ref.typeface.brandRegular,
letterSpacing: 0.4,
lineHeight: 16,
fontSize: 12
},
default: {
...regularType
}
};
const tokens = exports.tokens = {
md: {
ref,
sys: {
typescale
}
}
};
const MD3Colors = exports.MD3Colors = ref.palette;
//# sourceMappingURL=tokens.js.map

File diff suppressed because one or more lines are too long