@metamask-previews/design-tokens 4.1.0-preview.f4da8f1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +353 -0
- package/LICENSE +20 -0
- package/README.md +103 -0
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +3 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/js/brandColor/brandColor.cjs +190 -0
- package/dist/js/brandColor/brandColor.cjs.map +1 -0
- package/dist/js/brandColor/brandColor.d.cts +3 -0
- package/dist/js/brandColor/brandColor.d.cts.map +1 -0
- package/dist/js/brandColor/brandColor.d.mts +3 -0
- package/dist/js/brandColor/brandColor.d.mts.map +1 -0
- package/dist/js/brandColor/brandColor.mjs +187 -0
- package/dist/js/brandColor/brandColor.mjs.map +1 -0
- package/dist/js/brandColor/brandColor.types.cjs +3 -0
- package/dist/js/brandColor/brandColor.types.cjs.map +1 -0
- package/dist/js/brandColor/brandColor.types.d.cts +187 -0
- package/dist/js/brandColor/brandColor.types.d.cts.map +1 -0
- package/dist/js/brandColor/brandColor.types.d.mts +187 -0
- package/dist/js/brandColor/brandColor.types.d.mts.map +1 -0
- package/dist/js/brandColor/brandColor.types.mjs +2 -0
- package/dist/js/brandColor/brandColor.types.mjs.map +1 -0
- package/dist/js/brandColor/index.cjs +6 -0
- package/dist/js/brandColor/index.cjs.map +1 -0
- package/dist/js/brandColor/index.d.cts +2 -0
- package/dist/js/brandColor/index.d.cts.map +1 -0
- package/dist/js/brandColor/index.d.mts +2 -0
- package/dist/js/brandColor/index.d.mts.map +1 -0
- package/dist/js/brandColor/index.mjs +2 -0
- package/dist/js/brandColor/index.mjs.map +1 -0
- package/dist/js/colors/colors.cjs +17 -0
- package/dist/js/colors/colors.cjs.map +1 -0
- package/dist/js/colors/colors.d.cts +157 -0
- package/dist/js/colors/colors.d.cts.map +1 -0
- package/dist/js/colors/colors.d.mts +157 -0
- package/dist/js/colors/colors.d.mts.map +1 -0
- package/dist/js/colors/colors.mjs +14 -0
- package/dist/js/colors/colors.mjs.map +1 -0
- package/dist/js/colors/index.cjs +8 -0
- package/dist/js/colors/index.cjs.map +1 -0
- package/dist/js/colors/index.d.cts +3 -0
- package/dist/js/colors/index.d.cts.map +1 -0
- package/dist/js/colors/index.d.mts +3 -0
- package/dist/js/colors/index.d.mts.map +1 -0
- package/dist/js/colors/index.mjs +3 -0
- package/dist/js/colors/index.mjs.map +1 -0
- package/dist/js/index.cjs +15 -0
- package/dist/js/index.cjs.map +1 -0
- package/dist/js/index.d.cts +7 -0
- package/dist/js/index.d.cts.map +1 -0
- package/dist/js/index.d.mts +7 -0
- package/dist/js/index.d.mts.map +1 -0
- package/dist/js/index.mjs +7 -0
- package/dist/js/index.mjs.map +1 -0
- package/dist/js/themes/darkTheme/colors.cjs +80 -0
- package/dist/js/themes/darkTheme/colors.cjs.map +1 -0
- package/dist/js/themes/darkTheme/colors.d.cts +3 -0
- package/dist/js/themes/darkTheme/colors.d.cts.map +1 -0
- package/dist/js/themes/darkTheme/colors.d.mts +3 -0
- package/dist/js/themes/darkTheme/colors.d.mts.map +1 -0
- package/dist/js/themes/darkTheme/colors.mjs +77 -0
- package/dist/js/themes/darkTheme/colors.mjs.map +1 -0
- package/dist/js/themes/darkTheme/darkTheme.cjs +12 -0
- package/dist/js/themes/darkTheme/darkTheme.cjs.map +1 -0
- package/dist/js/themes/darkTheme/darkTheme.d.cts +3 -0
- package/dist/js/themes/darkTheme/darkTheme.d.cts.map +1 -0
- package/dist/js/themes/darkTheme/darkTheme.d.mts +3 -0
- package/dist/js/themes/darkTheme/darkTheme.d.mts.map +1 -0
- package/dist/js/themes/darkTheme/darkTheme.mjs +9 -0
- package/dist/js/themes/darkTheme/darkTheme.mjs.map +1 -0
- package/dist/js/themes/darkTheme/index.cjs +6 -0
- package/dist/js/themes/darkTheme/index.cjs.map +1 -0
- package/dist/js/themes/darkTheme/index.d.cts +2 -0
- package/dist/js/themes/darkTheme/index.d.cts.map +1 -0
- package/dist/js/themes/darkTheme/index.d.mts +2 -0
- package/dist/js/themes/darkTheme/index.d.mts.map +1 -0
- package/dist/js/themes/darkTheme/index.mjs +2 -0
- package/dist/js/themes/darkTheme/index.mjs.map +1 -0
- package/dist/js/themes/darkTheme/shadows.cjs +45 -0
- package/dist/js/themes/darkTheme/shadows.cjs.map +1 -0
- package/dist/js/themes/darkTheme/shadows.d.cts +3 -0
- package/dist/js/themes/darkTheme/shadows.d.cts.map +1 -0
- package/dist/js/themes/darkTheme/shadows.d.mts +3 -0
- package/dist/js/themes/darkTheme/shadows.d.mts.map +1 -0
- package/dist/js/themes/darkTheme/shadows.mjs +42 -0
- package/dist/js/themes/darkTheme/shadows.mjs.map +1 -0
- package/dist/js/themes/index.cjs +8 -0
- package/dist/js/themes/index.cjs.map +1 -0
- package/dist/js/themes/index.d.cts +4 -0
- package/dist/js/themes/index.d.cts.map +1 -0
- package/dist/js/themes/index.d.mts +4 -0
- package/dist/js/themes/index.d.mts.map +1 -0
- package/dist/js/themes/index.mjs +3 -0
- package/dist/js/themes/index.mjs.map +1 -0
- package/dist/js/themes/lightTheme/colors.cjs +80 -0
- package/dist/js/themes/lightTheme/colors.cjs.map +1 -0
- package/dist/js/themes/lightTheme/colors.d.cts +3 -0
- package/dist/js/themes/lightTheme/colors.d.cts.map +1 -0
- package/dist/js/themes/lightTheme/colors.d.mts +3 -0
- package/dist/js/themes/lightTheme/colors.d.mts.map +1 -0
- package/dist/js/themes/lightTheme/colors.mjs +77 -0
- package/dist/js/themes/lightTheme/colors.mjs.map +1 -0
- package/dist/js/themes/lightTheme/index.cjs +6 -0
- package/dist/js/themes/lightTheme/index.cjs.map +1 -0
- package/dist/js/themes/lightTheme/index.d.cts +2 -0
- package/dist/js/themes/lightTheme/index.d.cts.map +1 -0
- package/dist/js/themes/lightTheme/index.d.mts +2 -0
- package/dist/js/themes/lightTheme/index.d.mts.map +1 -0
- package/dist/js/themes/lightTheme/index.mjs +2 -0
- package/dist/js/themes/lightTheme/index.mjs.map +1 -0
- package/dist/js/themes/lightTheme/lightTheme.cjs +12 -0
- package/dist/js/themes/lightTheme/lightTheme.cjs.map +1 -0
- package/dist/js/themes/lightTheme/lightTheme.d.cts +3 -0
- package/dist/js/themes/lightTheme/lightTheme.d.cts.map +1 -0
- package/dist/js/themes/lightTheme/lightTheme.d.mts +3 -0
- package/dist/js/themes/lightTheme/lightTheme.d.mts.map +1 -0
- package/dist/js/themes/lightTheme/lightTheme.mjs +9 -0
- package/dist/js/themes/lightTheme/lightTheme.mjs.map +1 -0
- package/dist/js/themes/lightTheme/shadows.cjs +45 -0
- package/dist/js/themes/lightTheme/shadows.cjs.map +1 -0
- package/dist/js/themes/lightTheme/shadows.d.cts +3 -0
- package/dist/js/themes/lightTheme/shadows.d.cts.map +1 -0
- package/dist/js/themes/lightTheme/shadows.d.mts +3 -0
- package/dist/js/themes/lightTheme/shadows.d.mts.map +1 -0
- package/dist/js/themes/lightTheme/shadows.mjs +42 -0
- package/dist/js/themes/lightTheme/shadows.mjs.map +1 -0
- package/dist/js/themes/types.cjs +3 -0
- package/dist/js/themes/types.cjs.map +1 -0
- package/dist/js/themes/types.d.cts +248 -0
- package/dist/js/themes/types.d.cts.map +1 -0
- package/dist/js/themes/types.d.mts +248 -0
- package/dist/js/themes/types.d.mts.map +1 -0
- package/dist/js/themes/types.mjs +2 -0
- package/dist/js/themes/types.mjs.map +1 -0
- package/dist/js/typography/fontFamilies.cjs +7 -0
- package/dist/js/typography/fontFamilies.cjs.map +1 -0
- package/dist/js/typography/fontFamilies.d.cts +4 -0
- package/dist/js/typography/fontFamilies.d.cts.map +1 -0
- package/dist/js/typography/fontFamilies.d.mts +4 -0
- package/dist/js/typography/fontFamilies.d.mts.map +1 -0
- package/dist/js/typography/fontFamilies.mjs +4 -0
- package/dist/js/typography/fontFamilies.mjs.map +1 -0
- package/dist/js/typography/fontSizes.cjs +14 -0
- package/dist/js/typography/fontSizes.cjs.map +1 -0
- package/dist/js/typography/fontSizes.d.cts +11 -0
- package/dist/js/typography/fontSizes.d.cts.map +1 -0
- package/dist/js/typography/fontSizes.d.mts +11 -0
- package/dist/js/typography/fontSizes.d.mts.map +1 -0
- package/dist/js/typography/fontSizes.mjs +11 -0
- package/dist/js/typography/fontSizes.mjs.map +1 -0
- package/dist/js/typography/fontWeights.cjs +9 -0
- package/dist/js/typography/fontWeights.cjs.map +1 -0
- package/dist/js/typography/fontWeights.d.cts +6 -0
- package/dist/js/typography/fontWeights.d.cts.map +1 -0
- package/dist/js/typography/fontWeights.d.mts +6 -0
- package/dist/js/typography/fontWeights.d.mts.map +1 -0
- package/dist/js/typography/fontWeights.mjs +6 -0
- package/dist/js/typography/fontWeights.mjs.map +1 -0
- package/dist/js/typography/index.cjs +6 -0
- package/dist/js/typography/index.cjs.map +1 -0
- package/dist/js/typography/index.d.cts +3 -0
- package/dist/js/typography/index.d.cts.map +1 -0
- package/dist/js/typography/index.d.mts +3 -0
- package/dist/js/typography/index.d.mts.map +1 -0
- package/dist/js/typography/index.mjs +2 -0
- package/dist/js/typography/index.mjs.map +1 -0
- package/dist/js/typography/letterSpacing.cjs +8 -0
- package/dist/js/typography/letterSpacing.cjs.map +1 -0
- package/dist/js/typography/letterSpacing.d.cts +5 -0
- package/dist/js/typography/letterSpacing.d.cts.map +1 -0
- package/dist/js/typography/letterSpacing.d.mts +5 -0
- package/dist/js/typography/letterSpacing.d.mts.map +1 -0
- package/dist/js/typography/letterSpacing.mjs +5 -0
- package/dist/js/typography/letterSpacing.mjs.map +1 -0
- package/dist/js/typography/lineHeights.cjs +13 -0
- package/dist/js/typography/lineHeights.cjs.map +1 -0
- package/dist/js/typography/lineHeights.d.cts +10 -0
- package/dist/js/typography/lineHeights.d.cts.map +1 -0
- package/dist/js/typography/lineHeights.d.mts +10 -0
- package/dist/js/typography/lineHeights.d.mts.map +1 -0
- package/dist/js/typography/lineHeights.mjs +10 -0
- package/dist/js/typography/lineHeights.mjs.map +1 -0
- package/dist/js/typography/types.cjs +3 -0
- package/dist/js/typography/types.cjs.map +1 -0
- package/dist/js/typography/types.d.cts +39 -0
- package/dist/js/typography/types.d.cts.map +1 -0
- package/dist/js/typography/types.d.mts +39 -0
- package/dist/js/typography/types.d.mts.map +1 -0
- package/dist/js/typography/types.mjs +2 -0
- package/dist/js/typography/types.mjs.map +1 -0
- package/dist/js/typography/typography.cjs +216 -0
- package/dist/js/typography/typography.cjs.map +1 -0
- package/dist/js/typography/typography.d.cts +3 -0
- package/dist/js/typography/typography.d.cts.map +1 -0
- package/dist/js/typography/typography.d.mts +3 -0
- package/dist/js/typography/typography.d.mts.map +1 -0
- package/dist/js/typography/typography.mjs +213 -0
- package/dist/js/typography/typography.mjs.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":";;;AACA,6CAAsC;AAA7B,oGAAA,UAAU,OAAA;AACnB,6CAAqC;AAA5B,mGAAA,SAAS,OAAA;AAClB,qDAA0C;AAAjC,wGAAA,UAAU,OAAA;AAEnB,uDAAuD;AACvD,6CAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,qDAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export type { Theme } from './themes';\nexport { lightTheme } from './themes';\nexport { darkTheme } from './themes';\nexport { brandColor } from './brandColor';\n\n// DEPRECATED in favor of importing theme objects above\nexport { colors } from './colors';\nexport { typography } from './typography';\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { Theme } from "./themes/index.cjs";
|
|
2
|
+
export { lightTheme } from "./themes/index.cjs";
|
|
3
|
+
export { darkTheme } from "./themes/index.cjs";
|
|
4
|
+
export { brandColor } from "./brandColor/index.cjs";
|
|
5
|
+
export { colors } from "./colors/index.cjs";
|
|
6
|
+
export { typography } from "./typography/index.cjs";
|
|
7
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,2BAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,2BAAiB;AACtC,OAAO,EAAE,SAAS,EAAE,2BAAiB;AACrC,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAG1C,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAClC,OAAO,EAAE,UAAU,EAAE,+BAAqB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { Theme } from "./themes/index.mjs";
|
|
2
|
+
export { lightTheme } from "./themes/index.mjs";
|
|
3
|
+
export { darkTheme } from "./themes/index.mjs";
|
|
4
|
+
export { brandColor } from "./brandColor/index.mjs";
|
|
5
|
+
export { colors } from "./colors/index.mjs";
|
|
6
|
+
export { typography } from "./typography/index.mjs";
|
|
7
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,2BAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,2BAAiB;AACtC,OAAO,EAAE,SAAS,EAAE,2BAAiB;AACrC,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAG1C,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAClC,OAAO,EAAE,UAAU,EAAE,+BAAqB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { lightTheme } from "./themes/index.mjs";
|
|
2
|
+
export { darkTheme } from "./themes/index.mjs";
|
|
3
|
+
export { brandColor } from "./brandColor/index.mjs";
|
|
4
|
+
// DEPRECATED in favor of importing theme objects above
|
|
5
|
+
export { colors } from "./colors/index.mjs";
|
|
6
|
+
export { typography } from "./typography/index.mjs";
|
|
7
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/js/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,2BAAiB;AACtC,OAAO,EAAE,SAAS,EAAE,2BAAiB;AACrC,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAE1C,uDAAuD;AACvD,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAClC,OAAO,EAAE,UAAU,EAAE,+BAAqB","sourcesContent":["export type { Theme } from './themes';\nexport { lightTheme } from './themes';\nexport { darkTheme } from './themes';\nexport { brandColor } from './brandColor';\n\n// DEPRECATED in favor of importing theme objects above\nexport { colors } from './colors';\nexport { typography } from './typography';\n"]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.colors = void 0;
|
|
4
|
+
const brandColor_1 = require("../../brandColor/index.cjs");
|
|
5
|
+
exports.colors = {
|
|
6
|
+
background: {
|
|
7
|
+
default: brandColor_1.brandColor.grey800,
|
|
8
|
+
alternative: brandColor_1.brandColor.grey900,
|
|
9
|
+
defaultHover: '#313235',
|
|
10
|
+
defaultPressed: '#3f4145',
|
|
11
|
+
alternativeHover: '#1f2123',
|
|
12
|
+
alternativePressed: '#2e3033',
|
|
13
|
+
hover: '#ffffff0a',
|
|
14
|
+
pressed: '#ffffff14', // For "pressed" state that use no background fill.
|
|
15
|
+
},
|
|
16
|
+
text: {
|
|
17
|
+
default: brandColor_1.brandColor.grey000,
|
|
18
|
+
alternative: brandColor_1.brandColor.grey200,
|
|
19
|
+
muted: brandColor_1.brandColor.grey400, // For the softest contrast neutral text (not accessible)
|
|
20
|
+
},
|
|
21
|
+
icon: {
|
|
22
|
+
default: brandColor_1.brandColor.grey000,
|
|
23
|
+
alternative: brandColor_1.brandColor.grey200,
|
|
24
|
+
muted: brandColor_1.brandColor.grey400, // For the weakest contrast neutral icons (not accessible)
|
|
25
|
+
},
|
|
26
|
+
border: {
|
|
27
|
+
default: brandColor_1.brandColor.grey400,
|
|
28
|
+
muted: '#848c9629', // For the weakest contrast neutral border
|
|
29
|
+
},
|
|
30
|
+
overlay: {
|
|
31
|
+
default: '#00000099',
|
|
32
|
+
alternative: '#000000cc',
|
|
33
|
+
inverse: brandColor_1.brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border
|
|
34
|
+
},
|
|
35
|
+
primary: {
|
|
36
|
+
default: brandColor_1.brandColor.blue300,
|
|
37
|
+
alternative: brandColor_1.brandColor.blue200,
|
|
38
|
+
muted: '#43aefc26',
|
|
39
|
+
inverse: brandColor_1.brandColor.grey900,
|
|
40
|
+
defaultHover: '#26a2fc',
|
|
41
|
+
defaultPressed: '#3baafd', // For the "pressed" state of primary-default elements
|
|
42
|
+
},
|
|
43
|
+
error: {
|
|
44
|
+
default: brandColor_1.brandColor.red300,
|
|
45
|
+
alternative: brandColor_1.brandColor.red200,
|
|
46
|
+
muted: '#e88f9726',
|
|
47
|
+
inverse: brandColor_1.brandColor.grey900,
|
|
48
|
+
defaultHover: '#e47782',
|
|
49
|
+
defaultPressed: '#e78891', // For the "pressed" state of error-default elements.
|
|
50
|
+
},
|
|
51
|
+
warning: {
|
|
52
|
+
default: brandColor_1.brandColor.yellow100,
|
|
53
|
+
muted: '#ffdf7026',
|
|
54
|
+
inverse: brandColor_1.brandColor.grey900,
|
|
55
|
+
defaultHover: '#ffe485',
|
|
56
|
+
defaultPressed: '#ffe899', // For the "pressed" state of warning-default elements
|
|
57
|
+
},
|
|
58
|
+
success: {
|
|
59
|
+
default: brandColor_1.brandColor.green300,
|
|
60
|
+
muted: '#28a74526',
|
|
61
|
+
inverse: brandColor_1.brandColor.grey900,
|
|
62
|
+
defaultHover: '#2cb94c',
|
|
63
|
+
defaultPressed: '#30ca53', // For the "pressed" state of success-default elements
|
|
64
|
+
},
|
|
65
|
+
info: {
|
|
66
|
+
default: brandColor_1.brandColor.blue300,
|
|
67
|
+
muted: '#43aefc26',
|
|
68
|
+
inverse: brandColor_1.brandColor.grey900, // For elements used on top of info/default. Used for text, icon or border
|
|
69
|
+
},
|
|
70
|
+
flask: {
|
|
71
|
+
default: brandColor_1.brandColor.purple300,
|
|
72
|
+
inverse: brandColor_1.brandColor.grey900, // For elements used on top of flask/default. Used for text, icon or border
|
|
73
|
+
},
|
|
74
|
+
shadow: {
|
|
75
|
+
default: '#00000066',
|
|
76
|
+
primary: '#43aefc33',
|
|
77
|
+
error: '#ff758466', // For critical/danger drop shadow color.
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=colors.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.cjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":";;;AAAA,2DAA8C;AAGjC,QAAA,MAAM,GAAgB;IACjC,UAAU,EAAE;QACV,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS;QACzB,gBAAgB,EAAE,SAAS;QAC3B,kBAAkB,EAAE,SAAS;QAC7B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,WAAW,EAAE,mDAAmD;KAC1E;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,uBAAU,CAAC,OAAO,EAAE,yDAAyD;KACrF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,uBAAU,CAAC,OAAO,EAAE,0DAA0D;KACtF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,KAAK,EAAE,WAAW,EAAE,2CAA2C;KAChE;IACD,OAAO,EAAE;QACP,OAAO,EAAE,WAAW;QACpB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,uBAAU,CAAC,OAAO,EAAE,iFAAiF;KAC/G;IACD,OAAO,EAAE;QACP,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,uBAAU,CAAC,MAAM;QAC1B,WAAW,EAAE,uBAAU,CAAC,MAAM;QAC9B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,qDAAqD;KACjF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,uBAAU,CAAC,SAAS;QAC7B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,uBAAU,CAAC,QAAQ;QAC5B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO,EAAE,0EAA0E;KACxG;IACD,KAAK,EAAE;QACL,OAAO,EAAE,uBAAU,CAAC,SAAS;QAC7B,OAAO,EAAE,uBAAU,CAAC,OAAO,EAAE,2EAA2E;KACzG;IACD,MAAM,EAAE;QACN,OAAO,EAAE,WAAW;QACpB,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,WAAW,EAAE,yCAAyC;KAC9D;CACF,CAAC","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n default: brandColor.grey800, // For default neutral backgrounds\n alternative: brandColor.grey900, // For secondary neutral backgrounds.\n defaultHover: '#313235', // For \"hover\" states that use background-default.\n defaultPressed: '#3f4145', // For \"pressed\" states that use background-alternative.\n alternativeHover: '#1f2123', // For \"hover\" states that use background-alternative.\n alternativePressed: '#2e3033', // For \"pressed\" states that use background-alternative.\n hover: '#ffffff0a', // For \"hover\" state that use no background fill.\n pressed: '#ffffff14', // For \"pressed\" state that use no background fill.\n },\n text: {\n default: brandColor.grey000, // For default neutral text.\n alternative: brandColor.grey200, // For softer contrast neutral text\n muted: brandColor.grey400, // For the softest contrast neutral text (not accessible)\n },\n icon: {\n default: brandColor.grey000, // For default neutral icons\n alternative: brandColor.grey200, // For softer neutral icons\n muted: brandColor.grey400, // For the weakest contrast neutral icons (not accessible)\n },\n border: {\n default: brandColor.grey400, // For soft contrast neutral border\n muted: '#848c9629', // For the weakest contrast neutral border\n },\n overlay: {\n default: '#00000099', // For the default shade of screen\n alternative: '#000000cc', // For a stronger shade of screen\n inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border\n },\n primary: {\n default: brandColor.blue300, // For interactive, active, and selected semantics. Used for text, background, icon or border\n alternative: brandColor.blue200, // For the stronger contrast primary semantic elements.\n muted: '#43aefc26', // For the weakest contrast primary semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of primary/default. Used for text, icon or border\n defaultHover: '#26a2fc', // For the \"hover\" state of primary-default elements\n defaultPressed: '#3baafd', // For the \"pressed\" state of primary-default elements\n },\n error: {\n default: brandColor.red300, // For the critical alert semantic elements. Used for text, background, icon or border\n alternative: brandColor.red200, // For the stronger contrast error semantic elements.\n muted: '#e88f9726', // For the weakest contrast critical alert semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of error/default. Used for text, icon or border\n defaultHover: '#e47782', // For the \"hover\" state of error-default elements.\n defaultPressed: '#e78891', // For the \"pressed\" state of error-default elements.\n },\n warning: {\n default: brandColor.yellow100, // For the caution alert semantic elements. Used for text, background, icon or border\n muted: '#ffdf7026', // For the weakest contrast caution alert semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of warning/default. Used for text, icon or border\n defaultHover: '#ffe485', // For the \"hover\" state of warning-default elements\n defaultPressed: '#ffe899', // For the \"pressed\" state of warning-default elements\n },\n success: {\n default: brandColor.green300, // For the positive semantic elements. Used for text, background, icon or border\n muted: '#28a74526', // For the weakest contrast positive semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of success/default. Used for text, icon or border\n defaultHover: '#2cb94c', // For the \"hover\" state of success-default elements\n defaultPressed: '#30ca53', // For the \"pressed\" state of success-default elements\n },\n info: {\n default: brandColor.blue300, // For informational read-only elements. Used for text, background, icon or border\n muted: '#43aefc26', // For the weakest contrast informational semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of info/default. Used for text, icon or border\n },\n flask: {\n default: brandColor.purple300, // For Flask primary accent color.\n inverse: brandColor.grey900, // For elements used on top of flask/default. Used for text, icon or border\n },\n shadow: {\n default: '#00000066', // For neutral drop shadow color.\n primary: '#43aefc33', // For primary drop shadow color.\n error: '#ff758466', // For critical/danger drop shadow color.\n },\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAiB;AAE5C,eAAO,MAAM,MAAM,EAAE,WA0EpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAiB;AAE5C,eAAO,MAAM,MAAM,EAAE,WA0EpB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { brandColor } from "../../brandColor/index.mjs";
|
|
2
|
+
export const colors = {
|
|
3
|
+
background: {
|
|
4
|
+
default: brandColor.grey800,
|
|
5
|
+
alternative: brandColor.grey900,
|
|
6
|
+
defaultHover: '#313235',
|
|
7
|
+
defaultPressed: '#3f4145',
|
|
8
|
+
alternativeHover: '#1f2123',
|
|
9
|
+
alternativePressed: '#2e3033',
|
|
10
|
+
hover: '#ffffff0a',
|
|
11
|
+
pressed: '#ffffff14', // For "pressed" state that use no background fill.
|
|
12
|
+
},
|
|
13
|
+
text: {
|
|
14
|
+
default: brandColor.grey000,
|
|
15
|
+
alternative: brandColor.grey200,
|
|
16
|
+
muted: brandColor.grey400, // For the softest contrast neutral text (not accessible)
|
|
17
|
+
},
|
|
18
|
+
icon: {
|
|
19
|
+
default: brandColor.grey000,
|
|
20
|
+
alternative: brandColor.grey200,
|
|
21
|
+
muted: brandColor.grey400, // For the weakest contrast neutral icons (not accessible)
|
|
22
|
+
},
|
|
23
|
+
border: {
|
|
24
|
+
default: brandColor.grey400,
|
|
25
|
+
muted: '#848c9629', // For the weakest contrast neutral border
|
|
26
|
+
},
|
|
27
|
+
overlay: {
|
|
28
|
+
default: '#00000099',
|
|
29
|
+
alternative: '#000000cc',
|
|
30
|
+
inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border
|
|
31
|
+
},
|
|
32
|
+
primary: {
|
|
33
|
+
default: brandColor.blue300,
|
|
34
|
+
alternative: brandColor.blue200,
|
|
35
|
+
muted: '#43aefc26',
|
|
36
|
+
inverse: brandColor.grey900,
|
|
37
|
+
defaultHover: '#26a2fc',
|
|
38
|
+
defaultPressed: '#3baafd', // For the "pressed" state of primary-default elements
|
|
39
|
+
},
|
|
40
|
+
error: {
|
|
41
|
+
default: brandColor.red300,
|
|
42
|
+
alternative: brandColor.red200,
|
|
43
|
+
muted: '#e88f9726',
|
|
44
|
+
inverse: brandColor.grey900,
|
|
45
|
+
defaultHover: '#e47782',
|
|
46
|
+
defaultPressed: '#e78891', // For the "pressed" state of error-default elements.
|
|
47
|
+
},
|
|
48
|
+
warning: {
|
|
49
|
+
default: brandColor.yellow100,
|
|
50
|
+
muted: '#ffdf7026',
|
|
51
|
+
inverse: brandColor.grey900,
|
|
52
|
+
defaultHover: '#ffe485',
|
|
53
|
+
defaultPressed: '#ffe899', // For the "pressed" state of warning-default elements
|
|
54
|
+
},
|
|
55
|
+
success: {
|
|
56
|
+
default: brandColor.green300,
|
|
57
|
+
muted: '#28a74526',
|
|
58
|
+
inverse: brandColor.grey900,
|
|
59
|
+
defaultHover: '#2cb94c',
|
|
60
|
+
defaultPressed: '#30ca53', // For the "pressed" state of success-default elements
|
|
61
|
+
},
|
|
62
|
+
info: {
|
|
63
|
+
default: brandColor.blue300,
|
|
64
|
+
muted: '#43aefc26',
|
|
65
|
+
inverse: brandColor.grey900, // For elements used on top of info/default. Used for text, icon or border
|
|
66
|
+
},
|
|
67
|
+
flask: {
|
|
68
|
+
default: brandColor.purple300,
|
|
69
|
+
inverse: brandColor.grey900, // For elements used on top of flask/default. Used for text, icon or border
|
|
70
|
+
},
|
|
71
|
+
shadow: {
|
|
72
|
+
default: '#00000066',
|
|
73
|
+
primary: '#43aefc33',
|
|
74
|
+
error: '#ff758466', // For critical/danger drop shadow color.
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=colors.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.mjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mCAAyB;AAG9C,MAAM,CAAC,MAAM,MAAM,GAAgB;IACjC,UAAU,EAAE;QACV,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS;QACzB,gBAAgB,EAAE,SAAS;QAC3B,kBAAkB,EAAE,SAAS;QAC7B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,WAAW,EAAE,mDAAmD;KAC1E;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,EAAE,yDAAyD;KACrF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,EAAE,0DAA0D;KACtF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,KAAK,EAAE,WAAW,EAAE,2CAA2C;KAChE;IACD,OAAO,EAAE;QACP,OAAO,EAAE,WAAW;QACpB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,UAAU,CAAC,OAAO,EAAE,iFAAiF;KAC/G;IACD,OAAO,EAAE;QACP,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,UAAU,CAAC,MAAM;QAC1B,WAAW,EAAE,UAAU,CAAC,MAAM;QAC9B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,qDAAqD;KACjF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,UAAU,CAAC,SAAS;QAC7B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,UAAU,CAAC,QAAQ;QAC5B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,UAAU,CAAC,OAAO,EAAE,0EAA0E;KACxG;IACD,KAAK,EAAE;QACL,OAAO,EAAE,UAAU,CAAC,SAAS;QAC7B,OAAO,EAAE,UAAU,CAAC,OAAO,EAAE,2EAA2E;KACzG;IACD,MAAM,EAAE;QACN,OAAO,EAAE,WAAW;QACpB,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,WAAW,EAAE,yCAAyC;KAC9D;CACF,CAAC","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n default: brandColor.grey800, // For default neutral backgrounds\n alternative: brandColor.grey900, // For secondary neutral backgrounds.\n defaultHover: '#313235', // For \"hover\" states that use background-default.\n defaultPressed: '#3f4145', // For \"pressed\" states that use background-alternative.\n alternativeHover: '#1f2123', // For \"hover\" states that use background-alternative.\n alternativePressed: '#2e3033', // For \"pressed\" states that use background-alternative.\n hover: '#ffffff0a', // For \"hover\" state that use no background fill.\n pressed: '#ffffff14', // For \"pressed\" state that use no background fill.\n },\n text: {\n default: brandColor.grey000, // For default neutral text.\n alternative: brandColor.grey200, // For softer contrast neutral text\n muted: brandColor.grey400, // For the softest contrast neutral text (not accessible)\n },\n icon: {\n default: brandColor.grey000, // For default neutral icons\n alternative: brandColor.grey200, // For softer neutral icons\n muted: brandColor.grey400, // For the weakest contrast neutral icons (not accessible)\n },\n border: {\n default: brandColor.grey400, // For soft contrast neutral border\n muted: '#848c9629', // For the weakest contrast neutral border\n },\n overlay: {\n default: '#00000099', // For the default shade of screen\n alternative: '#000000cc', // For a stronger shade of screen\n inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border\n },\n primary: {\n default: brandColor.blue300, // For interactive, active, and selected semantics. Used for text, background, icon or border\n alternative: brandColor.blue200, // For the stronger contrast primary semantic elements.\n muted: '#43aefc26', // For the weakest contrast primary semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of primary/default. Used for text, icon or border\n defaultHover: '#26a2fc', // For the \"hover\" state of primary-default elements\n defaultPressed: '#3baafd', // For the \"pressed\" state of primary-default elements\n },\n error: {\n default: brandColor.red300, // For the critical alert semantic elements. Used for text, background, icon or border\n alternative: brandColor.red200, // For the stronger contrast error semantic elements.\n muted: '#e88f9726', // For the weakest contrast critical alert semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of error/default. Used for text, icon or border\n defaultHover: '#e47782', // For the \"hover\" state of error-default elements.\n defaultPressed: '#e78891', // For the \"pressed\" state of error-default elements.\n },\n warning: {\n default: brandColor.yellow100, // For the caution alert semantic elements. Used for text, background, icon or border\n muted: '#ffdf7026', // For the weakest contrast caution alert semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of warning/default. Used for text, icon or border\n defaultHover: '#ffe485', // For the \"hover\" state of warning-default elements\n defaultPressed: '#ffe899', // For the \"pressed\" state of warning-default elements\n },\n success: {\n default: brandColor.green300, // For the positive semantic elements. Used for text, background, icon or border\n muted: '#28a74526', // For the weakest contrast positive semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of success/default. Used for text, icon or border\n defaultHover: '#2cb94c', // For the \"hover\" state of success-default elements\n defaultPressed: '#30ca53', // For the \"pressed\" state of success-default elements\n },\n info: {\n default: brandColor.blue300, // For informational read-only elements. Used for text, background, icon or border\n muted: '#43aefc26', // For the weakest contrast informational semantic backgrounds.\n inverse: brandColor.grey900, // For elements used on top of info/default. Used for text, icon or border\n },\n flask: {\n default: brandColor.purple300, // For Flask primary accent color.\n inverse: brandColor.grey900, // For elements used on top of flask/default. Used for text, icon or border\n },\n shadow: {\n default: '#00000066', // For neutral drop shadow color.\n primary: '#43aefc33', // For primary drop shadow color.\n error: '#ff758466', // For critical/danger drop shadow color.\n },\n};\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.darkTheme = void 0;
|
|
4
|
+
const typography_1 = require("../../typography/index.cjs");
|
|
5
|
+
const colors_1 = require("./colors.cjs");
|
|
6
|
+
const shadows_1 = require("./shadows.cjs");
|
|
7
|
+
exports.darkTheme = {
|
|
8
|
+
colors: colors_1.colors,
|
|
9
|
+
typography: typography_1.typography,
|
|
10
|
+
shadows: shadows_1.shadows,
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=darkTheme.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"darkTheme.cjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/darkTheme.ts"],"names":[],"mappings":";;;AAAA,2DAA8C;AAE9C,yCAAkC;AAClC,2CAAoC;AAEvB,QAAA,SAAS,GAAU;IAC9B,MAAM,EAAN,eAAM;IACN,UAAU,EAAV,uBAAU;IACV,OAAO,EAAP,iBAAO;CACR,CAAC","sourcesContent":["import { typography } from '../../typography';\nimport type { Theme } from '../types';\nimport { colors } from './colors';\nimport { shadows } from './shadows';\n\nexport const darkTheme: Theme = {\n colors,\n typography,\n shadows,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"darkTheme.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/darkTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAiB;AAItC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"darkTheme.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/darkTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAiB;AAItC,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"darkTheme.mjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/darkTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mCAAyB;AAE9C,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,OAAO,EAAE,sBAAkB;AAEpC,MAAM,CAAC,MAAM,SAAS,GAAU;IAC9B,MAAM;IACN,UAAU;IACV,OAAO;CACR,CAAC","sourcesContent":["import { typography } from '../../typography';\nimport type { Theme } from '../types';\nimport { colors } from './colors';\nimport { shadows } from './shadows';\n\nexport const darkTheme: Theme = {\n colors,\n typography,\n shadows,\n};\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.darkTheme = void 0;
|
|
4
|
+
var darkTheme_1 = require("./darkTheme.cjs");
|
|
5
|
+
Object.defineProperty(exports, "darkTheme", { enumerable: true, get: function () { return darkTheme_1.darkTheme; } });
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/index.ts"],"names":[],"mappings":";;;AAAA,6CAAwC;AAA/B,sGAAA,SAAS,OAAA","sourcesContent":["export { darkTheme } from './darkTheme';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,wBAAoB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,wBAAoB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,wBAAoB","sourcesContent":["export { darkTheme } from './darkTheme';\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shadows = void 0;
|
|
4
|
+
const colors_1 = require("./colors.cjs");
|
|
5
|
+
exports.shadows = {
|
|
6
|
+
size: {
|
|
7
|
+
xs: {
|
|
8
|
+
shadowColor: colors_1.colors.shadow.default,
|
|
9
|
+
shadowOffset: {
|
|
10
|
+
width: 0,
|
|
11
|
+
height: 2,
|
|
12
|
+
},
|
|
13
|
+
shadowOpacity: 1,
|
|
14
|
+
shadowRadius: 4,
|
|
15
|
+
},
|
|
16
|
+
sm: {
|
|
17
|
+
shadowColor: colors_1.colors.shadow.default,
|
|
18
|
+
shadowOffset: {
|
|
19
|
+
width: 0,
|
|
20
|
+
height: 2,
|
|
21
|
+
},
|
|
22
|
+
shadowOpacity: 1,
|
|
23
|
+
shadowRadius: 8,
|
|
24
|
+
},
|
|
25
|
+
md: {
|
|
26
|
+
shadowColor: colors_1.colors.shadow.default,
|
|
27
|
+
shadowOffset: {
|
|
28
|
+
width: 0,
|
|
29
|
+
height: 2,
|
|
30
|
+
},
|
|
31
|
+
shadowOpacity: 1,
|
|
32
|
+
shadowRadius: 16,
|
|
33
|
+
},
|
|
34
|
+
lg: {
|
|
35
|
+
shadowColor: colors_1.colors.shadow.default,
|
|
36
|
+
shadowOffset: {
|
|
37
|
+
width: 0,
|
|
38
|
+
height: 2,
|
|
39
|
+
},
|
|
40
|
+
shadowOpacity: 1,
|
|
41
|
+
shadowRadius: 40,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=shadows.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.cjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/shadows.ts"],"names":[],"mappings":";;;AACA,yCAAkC;AAErB,QAAA,OAAO,GAAiB;IACnC,IAAI,EAAE;QACJ,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;KACF;CACF,CAAC","sourcesContent":["import type { ThemeShadows } from '../types';\nimport { colors } from './colors';\n\nexport const shadows: ThemeShadows = {\n size: {\n xs: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 4,\n },\n sm: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 8,\n },\n md: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 16,\n },\n lg: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 40,\n },\n },\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/shadows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAiB;AAG7C,eAAO,MAAM,OAAO,EAAE,YAuCrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/shadows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAiB;AAG7C,eAAO,MAAM,OAAO,EAAE,YAuCrB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { colors } from "./colors.mjs";
|
|
2
|
+
export const shadows = {
|
|
3
|
+
size: {
|
|
4
|
+
xs: {
|
|
5
|
+
shadowColor: colors.shadow.default,
|
|
6
|
+
shadowOffset: {
|
|
7
|
+
width: 0,
|
|
8
|
+
height: 2,
|
|
9
|
+
},
|
|
10
|
+
shadowOpacity: 1,
|
|
11
|
+
shadowRadius: 4,
|
|
12
|
+
},
|
|
13
|
+
sm: {
|
|
14
|
+
shadowColor: colors.shadow.default,
|
|
15
|
+
shadowOffset: {
|
|
16
|
+
width: 0,
|
|
17
|
+
height: 2,
|
|
18
|
+
},
|
|
19
|
+
shadowOpacity: 1,
|
|
20
|
+
shadowRadius: 8,
|
|
21
|
+
},
|
|
22
|
+
md: {
|
|
23
|
+
shadowColor: colors.shadow.default,
|
|
24
|
+
shadowOffset: {
|
|
25
|
+
width: 0,
|
|
26
|
+
height: 2,
|
|
27
|
+
},
|
|
28
|
+
shadowOpacity: 1,
|
|
29
|
+
shadowRadius: 16,
|
|
30
|
+
},
|
|
31
|
+
lg: {
|
|
32
|
+
shadowColor: colors.shadow.default,
|
|
33
|
+
shadowOffset: {
|
|
34
|
+
width: 0,
|
|
35
|
+
height: 2,
|
|
36
|
+
},
|
|
37
|
+
shadowOpacity: 1,
|
|
38
|
+
shadowRadius: 40,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=shadows.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadows.mjs","sourceRoot":"","sources":["../../../../src/js/themes/darkTheme/shadows.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAElC,MAAM,CAAC,MAAM,OAAO,GAAiB;IACnC,IAAI,EAAE;QACJ,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;KACF;CACF,CAAC","sourcesContent":["import type { ThemeShadows } from '../types';\nimport { colors } from './colors';\n\nexport const shadows: ThemeShadows = {\n size: {\n xs: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 4,\n },\n sm: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 8,\n },\n md: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 16,\n },\n lg: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 40,\n },\n },\n};\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.darkTheme = exports.lightTheme = void 0;
|
|
4
|
+
var lightTheme_1 = require("./lightTheme/index.cjs");
|
|
5
|
+
Object.defineProperty(exports, "lightTheme", { enumerable: true, get: function () { return lightTheme_1.lightTheme; } });
|
|
6
|
+
var darkTheme_1 = require("./darkTheme/index.cjs");
|
|
7
|
+
Object.defineProperty(exports, "darkTheme", { enumerable: true, get: function () { return darkTheme_1.darkTheme; } });
|
|
8
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/js/themes/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,mDAAwC;AAA/B,sGAAA,SAAS,OAAA","sourcesContent":["export { lightTheme } from './lightTheme';\nexport { darkTheme } from './darkTheme';\nexport type { Theme } from './types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/js/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAC1C,OAAO,EAAE,SAAS,EAAE,8BAAoB;AACxC,YAAY,EAAE,KAAK,EAAE,oBAAgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/js/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAC1C,OAAO,EAAE,SAAS,EAAE,8BAAoB;AACxC,YAAY,EAAE,KAAK,EAAE,oBAAgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/js/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAC1C,OAAO,EAAE,SAAS,EAAE,8BAAoB","sourcesContent":["export { lightTheme } from './lightTheme';\nexport { darkTheme } from './darkTheme';\nexport type { Theme } from './types';\n"]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.colors = void 0;
|
|
4
|
+
const brandColor_1 = require("../../brandColor/index.cjs");
|
|
5
|
+
exports.colors = {
|
|
6
|
+
background: {
|
|
7
|
+
default: brandColor_1.brandColor.grey000,
|
|
8
|
+
alternative: brandColor_1.brandColor.grey050,
|
|
9
|
+
defaultHover: '#f5f5f5',
|
|
10
|
+
defaultPressed: '#ebebeb',
|
|
11
|
+
alternativeHover: '#e7ebee',
|
|
12
|
+
alternativePressed: '#dbe0e6',
|
|
13
|
+
hover: '#0000000a',
|
|
14
|
+
pressed: '#00000014', // For "pressed" state that use no background fill.
|
|
15
|
+
},
|
|
16
|
+
text: {
|
|
17
|
+
default: brandColor_1.brandColor.grey900,
|
|
18
|
+
alternative: brandColor_1.brandColor.grey500,
|
|
19
|
+
muted: brandColor_1.brandColor.grey300, // For the softest contrast neutral text (not accessible)
|
|
20
|
+
},
|
|
21
|
+
icon: {
|
|
22
|
+
default: brandColor_1.brandColor.grey900,
|
|
23
|
+
alternative: brandColor_1.brandColor.grey500,
|
|
24
|
+
muted: brandColor_1.brandColor.grey300, // For the weakest contrast neutral icons (not accessible)
|
|
25
|
+
},
|
|
26
|
+
border: {
|
|
27
|
+
default: brandColor_1.brandColor.grey200,
|
|
28
|
+
muted: '#bbc0c566', // For the weakest contrast neutral border
|
|
29
|
+
},
|
|
30
|
+
overlay: {
|
|
31
|
+
default: '#00000099',
|
|
32
|
+
alternative: '#000000cc',
|
|
33
|
+
inverse: brandColor_1.brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border
|
|
34
|
+
},
|
|
35
|
+
primary: {
|
|
36
|
+
default: brandColor_1.brandColor.blue500,
|
|
37
|
+
alternative: brandColor_1.brandColor.blue600,
|
|
38
|
+
muted: '#0376c91a',
|
|
39
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
40
|
+
defaultHover: '#036ab5',
|
|
41
|
+
defaultPressed: '#025ea1', // For the "pressed" state of primary-default elements
|
|
42
|
+
},
|
|
43
|
+
error: {
|
|
44
|
+
default: brandColor_1.brandColor.red500,
|
|
45
|
+
alternative: brandColor_1.brandColor.red600,
|
|
46
|
+
muted: '#d738471a',
|
|
47
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
48
|
+
defaultHover: '#d02a3a',
|
|
49
|
+
defaultPressed: '#bf2635', // For the "pressed" state of error-default elements.
|
|
50
|
+
},
|
|
51
|
+
warning: {
|
|
52
|
+
default: brandColor_1.brandColor.yellow500,
|
|
53
|
+
muted: '#bf52081a',
|
|
54
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
55
|
+
defaultHover: '#ac4a07',
|
|
56
|
+
defaultPressed: '#984106', // For the "pressed" state of warning-default elements
|
|
57
|
+
},
|
|
58
|
+
success: {
|
|
59
|
+
default: brandColor_1.brandColor.green500,
|
|
60
|
+
muted: '#1c82341a',
|
|
61
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
62
|
+
defaultHover: '#18712d',
|
|
63
|
+
defaultPressed: '#156127', // For the "pressed" state of success-default elements
|
|
64
|
+
},
|
|
65
|
+
info: {
|
|
66
|
+
default: brandColor_1.brandColor.blue500,
|
|
67
|
+
muted: '#0376c91a',
|
|
68
|
+
inverse: brandColor_1.brandColor.grey000, // For elements used on top of info/default. Used for text, icon or border
|
|
69
|
+
},
|
|
70
|
+
flask: {
|
|
71
|
+
default: brandColor_1.brandColor.purple500,
|
|
72
|
+
inverse: brandColor_1.brandColor.grey000, // For elements used on top of flask/default. Used for text, icon or border
|
|
73
|
+
},
|
|
74
|
+
shadow: {
|
|
75
|
+
default: '#0000001a',
|
|
76
|
+
primary: '#0376c933',
|
|
77
|
+
error: '#ca354266', // For critical/danger drop shadow color.
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=colors.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.cjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/colors.ts"],"names":[],"mappings":";;;AAAA,2DAA8C;AAGjC,QAAA,MAAM,GAAgB;IACjC,UAAU,EAAE;QACV,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS;QACzB,gBAAgB,EAAE,SAAS;QAC3B,kBAAkB,EAAE,SAAS;QAC7B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,WAAW,EAAE,mDAAmD;KAC1E;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,uBAAU,CAAC,OAAO,EAAE,yDAAyD;KACrF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,uBAAU,CAAC,OAAO,EAAE,0DAA0D;KACtF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,KAAK,EAAE,WAAW,EAAE,2CAA2C;KAChE;IACD,OAAO,EAAE;QACP,OAAO,EAAE,WAAW;QACpB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,uBAAU,CAAC,OAAO,EAAE,iFAAiF;KAC/G;IACD,OAAO,EAAE;QACP,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,uBAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,uBAAU,CAAC,MAAM;QAC1B,WAAW,EAAE,uBAAU,CAAC,MAAM;QAC9B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,qDAAqD;KACjF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,uBAAU,CAAC,SAAS;QAC7B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,uBAAU,CAAC,QAAQ;QAC5B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS,EAAE,sDAAsD;KAClF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,uBAAU,CAAC,OAAO;QAC3B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,uBAAU,CAAC,OAAO,EAAE,0EAA0E;KACxG;IACD,KAAK,EAAE;QACL,OAAO,EAAE,uBAAU,CAAC,SAAS;QAC7B,OAAO,EAAE,uBAAU,CAAC,OAAO,EAAE,2EAA2E;KACzG;IACD,MAAM,EAAE;QACN,OAAO,EAAE,WAAW;QACpB,OAAO,EAAE,WAAW;QACpB,KAAK,EAAE,WAAW,EAAE,yCAAyC;KAC9D;CACF,CAAC","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n default: brandColor.grey000, // For default neutral backgrounds\n alternative: brandColor.grey050, // For secondary neutral backgrounds.\n defaultHover: '#f5f5f5', // For \"hover\" states that use background-default.\n defaultPressed: '#ebebeb', // For \"pressed\" states that use background-alternative.\n alternativeHover: '#e7ebee', // For \"hover\" states that use background-alternative.\n alternativePressed: '#dbe0e6', // For \"pressed\" states that use background-alternative.\n hover: '#0000000a', // For \"hover\" state that use no background fill.\n pressed: '#00000014', // For \"pressed\" state that use no background fill.\n },\n text: {\n default: brandColor.grey900, // For default neutral text.\n alternative: brandColor.grey500, // For softer contrast neutral text\n muted: brandColor.grey300, // For the softest contrast neutral text (not accessible)\n },\n icon: {\n default: brandColor.grey900, // For default neutral icons\n alternative: brandColor.grey500, // For softer neutral icons\n muted: brandColor.grey300, // For the weakest contrast neutral icons (not accessible)\n },\n border: {\n default: brandColor.grey200, // For soft contrast neutral border\n muted: '#bbc0c566', // For the weakest contrast neutral border\n },\n overlay: {\n default: '#00000099', // For the default shade of screen\n alternative: '#000000cc', // For a stronger shade of screen\n inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border\n },\n primary: {\n default: brandColor.blue500, // For interactive, active, and selected semantics. Used for text, background, icon or border\n alternative: brandColor.blue600, // For the stronger contrast primary semantic elements.\n muted: '#0376c91a', // For the weakest contrast primary semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of primary/default. Used for text, icon or border\n defaultHover: '#036ab5', // For the \"hover\" state of primary-default elements\n defaultPressed: '#025ea1', // For the \"pressed\" state of primary-default elements\n },\n error: {\n default: brandColor.red500, // For the critical alert semantic elements. Used for text, background, icon or border\n alternative: brandColor.red600, // For the stronger contrast error semantic elements.\n muted: '#d738471a', // For the weakest contrast critical alert semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of error/default. Used for text, icon or border\n defaultHover: '#d02a3a', // For the \"hover\" state of error-default elements.\n defaultPressed: '#bf2635', // For the \"pressed\" state of error-default elements.\n },\n warning: {\n default: brandColor.yellow500, // For the caution alert semantic elements. Used for text, background, icon or border\n muted: '#bf52081a', // For the weakest contrast caution alert semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of warning/default. Used for text, icon or border\n defaultHover: '#ac4a07', // For the \"hover\" state of warning-default elements\n defaultPressed: '#984106', // For the \"pressed\" state of warning-default elements\n },\n success: {\n default: brandColor.green500, // For the positive semantic elements. Used for text, background, icon or border\n muted: '#1c82341a', // For the weakest contrast positive semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of success/default. Used for text, icon or border\n defaultHover: '#18712d', // For the \"hover\" state of success-default elements\n defaultPressed: '#156127', // For the \"pressed\" state of success-default elements\n },\n info: {\n default: brandColor.blue500, // For informational read-only elements. Used for text, background, icon or border\n muted: '#0376c91a', // For the weakest contrast informational semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of info/default. Used for text, icon or border\n },\n flask: {\n default: brandColor.purple500, // For Flask primary accent color.\n inverse: brandColor.grey000, // For elements used on top of flask/default. Used for text, icon or border\n },\n shadow: {\n default: '#0000001a', // For neutral drop shadow color.\n primary: '#0376c933', // For primary drop shadow color.\n error: '#ca354266', // For critical/danger drop shadow color.\n },\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAiB;AAE5C,eAAO,MAAM,MAAM,EAAE,WA0EpB,CAAC"}
|