@metamask-previews/design-tokens 4.1.0-preview.019292f
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 +163 -0
- package/dist/js/colors/colors.d.cts.map +1 -0
- package/dist/js/colors/colors.d.mts +163 -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 +135 -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 +132 -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 +135 -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 +132 -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 +156 -0
- package/dist/js/themes/types.d.cts.map +1 -0
- package/dist/js/themes/types.d.mts +156 -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/dist/styles.css +1 -0
- package/package.json +71 -0
|
@@ -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,135 @@
|
|
|
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
|
+
/** For default neutral surface (#FFFFFF) */
|
|
8
|
+
default: brandColor_1.brandColor.grey000,
|
|
9
|
+
/** For sunken neutral surface below background/default (#F2F4F6) */
|
|
10
|
+
alternative: brandColor_1.brandColor.grey050,
|
|
11
|
+
/** For raised neutral surface above background/default (#F2F4F6) */
|
|
12
|
+
muted: brandColor_1.brandColor.grey050,
|
|
13
|
+
/** Hover state surface for background/default (#F5F5F5) */
|
|
14
|
+
defaultHover: '#F5F5F5',
|
|
15
|
+
/** Pressed state surface for background/default (#EBEBEB) */
|
|
16
|
+
defaultPressed: '#EBEBEB',
|
|
17
|
+
/** Hover state surface for background/alternative (#E7EBEE) */
|
|
18
|
+
alternativeHover: '#E7EBEE',
|
|
19
|
+
/** Pressed state surface for background/alternative (#DBE0E6) */
|
|
20
|
+
alternativePressed: '#DBE0E6',
|
|
21
|
+
/** Hover state surface for background/muted (#E7EBEE) */
|
|
22
|
+
mutedHover: '#E7EBEE',
|
|
23
|
+
/** Pressed state surface for background/muted (#DBE0E6) */
|
|
24
|
+
mutedPressed: '#DBE0E6',
|
|
25
|
+
/** General purpose hover state tint (#0000000A) */
|
|
26
|
+
hover: '#0000000A',
|
|
27
|
+
/** General purpose pressed state tint (#00000014) */
|
|
28
|
+
pressed: '#00000014',
|
|
29
|
+
},
|
|
30
|
+
text: {
|
|
31
|
+
/** Default color for text (#24272A) */
|
|
32
|
+
default: brandColor_1.brandColor.grey900,
|
|
33
|
+
/** Softer color for text (#848C96) */
|
|
34
|
+
alternative: brandColor_1.brandColor.grey500,
|
|
35
|
+
/** Muted color for text (Not accessible) (#BBC0C5) */
|
|
36
|
+
muted: brandColor_1.brandColor.grey300,
|
|
37
|
+
},
|
|
38
|
+
icon: {
|
|
39
|
+
/** Default color for icons (#24272A) */
|
|
40
|
+
default: brandColor_1.brandColor.grey900,
|
|
41
|
+
/** Softer color for icons (#848C96) */
|
|
42
|
+
alternative: brandColor_1.brandColor.grey500,
|
|
43
|
+
/** Muted color for icons (Not accessible) (#BBC0C5) */
|
|
44
|
+
muted: brandColor_1.brandColor.grey300,
|
|
45
|
+
},
|
|
46
|
+
border: {
|
|
47
|
+
/** Default color for borders (#9FA6AE) */
|
|
48
|
+
default: brandColor_1.brandColor.grey400,
|
|
49
|
+
/** Muted color for borders (#BBC0C566) */
|
|
50
|
+
muted: '#BBC0C566',
|
|
51
|
+
},
|
|
52
|
+
overlay: {
|
|
53
|
+
/** Default color for overlays(scrim) (#00000099) */
|
|
54
|
+
default: '#00000099',
|
|
55
|
+
/** Dimmer color for overlays(scrim) (#000000CC) */
|
|
56
|
+
alternative: '#000000CC',
|
|
57
|
+
/** For elements placed on top of overlay/alternative (#FFFFFF) */
|
|
58
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
59
|
+
},
|
|
60
|
+
primary: {
|
|
61
|
+
/** For primary semantic elements: interactive, active, selected... (#0376C9) */
|
|
62
|
+
default: brandColor_1.brandColor.blue500,
|
|
63
|
+
/** Stronger color for primary semantic elements (#0260A4) */
|
|
64
|
+
alternative: brandColor_1.brandColor.blue600,
|
|
65
|
+
/** Muted color for primary semantic elements (#0376C91A) */
|
|
66
|
+
muted: '#0376C91A',
|
|
67
|
+
/** For elements placed on top of primary/default fill (#FFFFFF) */
|
|
68
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
69
|
+
/** Hover state surface for primary/default (#036AB5) */
|
|
70
|
+
defaultHover: '#036AB5',
|
|
71
|
+
/** Pressed state surface for primary/default (#025EA1) */
|
|
72
|
+
defaultPressed: '#025EA1',
|
|
73
|
+
},
|
|
74
|
+
error: {
|
|
75
|
+
/** For danger semantic elements: error, critical, destructive... (#D73847) */
|
|
76
|
+
default: brandColor_1.brandColor.red500,
|
|
77
|
+
/** Stronger color for danger semantic (#B92534) */
|
|
78
|
+
alternative: brandColor_1.brandColor.red600,
|
|
79
|
+
/** Muted color for danger semantic (#D738471A) */
|
|
80
|
+
muted: '#D738471A',
|
|
81
|
+
/** For elements placed on top of error/default fill (#FFFFFF) */
|
|
82
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
83
|
+
/** Hover state surface for error/default (#D02A3A) */
|
|
84
|
+
defaultHover: '#D02A3A',
|
|
85
|
+
/** Pressed state surface for error/default (#BF2635) */
|
|
86
|
+
defaultPressed: '#BF2635',
|
|
87
|
+
},
|
|
88
|
+
warning: {
|
|
89
|
+
/** For warning semantic elements: caution, attention, precaution... (#BF5208) */
|
|
90
|
+
default: brandColor_1.brandColor.yellow500,
|
|
91
|
+
/** Muted color option for warning semantic (#BF52081A) */
|
|
92
|
+
muted: '#BF52081A',
|
|
93
|
+
/** For elements placed on top of warning/default fill (#FFFFFF) */
|
|
94
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
95
|
+
/** Hover state surface for warning/default (#AC4A07) */
|
|
96
|
+
defaultHover: '#AC4A07',
|
|
97
|
+
/** Pressed state surface for warning/default (#984106) */
|
|
98
|
+
defaultPressed: '#984106',
|
|
99
|
+
},
|
|
100
|
+
success: {
|
|
101
|
+
/** For positive semantic elements: success, confirm, complete, safe... (#1C8234) */
|
|
102
|
+
default: brandColor_1.brandColor.green500,
|
|
103
|
+
/** Muted color for positive semantic (#1C82341A) */
|
|
104
|
+
muted: '#1C82341A',
|
|
105
|
+
/** For elements placed on top of success/default fill (#FFFFFF) */
|
|
106
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
107
|
+
/** Hover state surface for success/default (#18712D) */
|
|
108
|
+
defaultHover: '#18712D',
|
|
109
|
+
/** Pressed state surface for success/default (#156127) */
|
|
110
|
+
defaultPressed: '#156127',
|
|
111
|
+
},
|
|
112
|
+
info: {
|
|
113
|
+
/** For soft alert semantic elements: info, reminder, hint... (#0376C9) */
|
|
114
|
+
default: brandColor_1.brandColor.blue500,
|
|
115
|
+
/** Muted color for soft alert semantic (#0376C91A) */
|
|
116
|
+
muted: '#0376C91A',
|
|
117
|
+
/** For elements placed on top of info/default fill (#FFFFFF) */
|
|
118
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
119
|
+
},
|
|
120
|
+
flask: {
|
|
121
|
+
/** For Flask primary accent color (#6F4CFF) */
|
|
122
|
+
default: brandColor_1.brandColor.purple500,
|
|
123
|
+
/** For elements placed on top of flask/default (#FFFFFF) */
|
|
124
|
+
inverse: brandColor_1.brandColor.grey000,
|
|
125
|
+
},
|
|
126
|
+
shadow: {
|
|
127
|
+
/** For neutral drop shadow color (#0000001A) */
|
|
128
|
+
default: '#0000001A',
|
|
129
|
+
/** For primary drop shadow color (#0376C933) */
|
|
130
|
+
primary: '#0376C933',
|
|
131
|
+
/** For critical/danger drop shadow color (#CA354266) */
|
|
132
|
+
error: '#CA354266',
|
|
133
|
+
},
|
|
134
|
+
};
|
|
135
|
+
//# sourceMappingURL=colors.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.cjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/colors.ts"],"names":[],"mappings":"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","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n /** For default neutral surface (#FFFFFF) */\n default: brandColor.grey000,\n /** For sunken neutral surface below background/default (#F2F4F6) */\n alternative: brandColor.grey050,\n /** For raised neutral surface above background/default (#F2F4F6) */\n muted: brandColor.grey050,\n /** Hover state surface for background/default (#F5F5F5) */\n defaultHover: '#F5F5F5',\n /** Pressed state surface for background/default (#EBEBEB) */\n defaultPressed: '#EBEBEB',\n /** Hover state surface for background/alternative (#E7EBEE) */\n alternativeHover: '#E7EBEE',\n /** Pressed state surface for background/alternative (#DBE0E6) */\n alternativePressed: '#DBE0E6',\n /** Hover state surface for background/muted (#E7EBEE) */\n mutedHover: '#E7EBEE',\n /** Pressed state surface for background/muted (#DBE0E6) */\n mutedPressed: '#DBE0E6',\n /** General purpose hover state tint (#0000000A) */\n hover: '#0000000A',\n /** General purpose pressed state tint (#00000014) */\n pressed: '#00000014',\n },\n text: {\n /** Default color for text (#24272A) */\n default: brandColor.grey900,\n /** Softer color for text (#848C96) */\n alternative: brandColor.grey500,\n /** Muted color for text (Not accessible) (#BBC0C5) */\n muted: brandColor.grey300,\n },\n icon: {\n /** Default color for icons (#24272A) */\n default: brandColor.grey900,\n /** Softer color for icons (#848C96) */\n alternative: brandColor.grey500,\n /** Muted color for icons (Not accessible) (#BBC0C5) */\n muted: brandColor.grey300,\n },\n border: {\n /** Default color for borders (#9FA6AE) */\n default: brandColor.grey400,\n /** Muted color for borders (#BBC0C566) */\n muted: '#BBC0C566',\n },\n overlay: {\n /** Default color for overlays(scrim) (#00000099) */\n default: '#00000099',\n /** Dimmer color for overlays(scrim) (#000000CC) */\n alternative: '#000000CC',\n /** For elements placed on top of overlay/alternative (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n primary: {\n /** For primary semantic elements: interactive, active, selected... (#0376C9) */\n default: brandColor.blue500,\n /** Stronger color for primary semantic elements (#0260A4) */\n alternative: brandColor.blue600,\n /** Muted color for primary semantic elements (#0376C91A) */\n muted: '#0376C91A',\n /** For elements placed on top of primary/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for primary/default (#036AB5) */\n defaultHover: '#036AB5',\n /** Pressed state surface for primary/default (#025EA1) */\n defaultPressed: '#025EA1',\n },\n error: {\n /** For danger semantic elements: error, critical, destructive... (#D73847) */\n default: brandColor.red500,\n /** Stronger color for danger semantic (#B92534) */\n alternative: brandColor.red600,\n /** Muted color for danger semantic (#D738471A) */\n muted: '#D738471A',\n /** For elements placed on top of error/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for error/default (#D02A3A) */\n defaultHover: '#D02A3A',\n /** Pressed state surface for error/default (#BF2635) */\n defaultPressed: '#BF2635',\n },\n warning: {\n /** For warning semantic elements: caution, attention, precaution... (#BF5208) */\n default: brandColor.yellow500,\n /** Muted color option for warning semantic (#BF52081A) */\n muted: '#BF52081A',\n /** For elements placed on top of warning/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for warning/default (#AC4A07) */\n defaultHover: '#AC4A07',\n /** Pressed state surface for warning/default (#984106) */\n defaultPressed: '#984106',\n },\n success: {\n /** For positive semantic elements: success, confirm, complete, safe... (#1C8234) */\n default: brandColor.green500,\n /** Muted color for positive semantic (#1C82341A) */\n muted: '#1C82341A',\n /** For elements placed on top of success/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for success/default (#18712D) */\n defaultHover: '#18712D',\n /** Pressed state surface for success/default (#156127) */\n defaultPressed: '#156127',\n },\n info: {\n /** For soft alert semantic elements: info, reminder, hint... (#0376C9) */\n default: brandColor.blue500,\n /** Muted color for soft alert semantic (#0376C91A) */\n muted: '#0376C91A',\n /** For elements placed on top of info/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n flask: {\n /** For Flask primary accent color (#6F4CFF) */\n default: brandColor.purple500,\n /** For elements placed on top of flask/default (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n shadow: {\n /** For neutral drop shadow color (#0000001A) */\n default: '#0000001A',\n /** For primary drop shadow color (#0376C933) */\n primary: '#0376C933',\n /** For critical/danger drop shadow color (#CA354266) */\n error: '#CA354266',\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,WAiIpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAiB;AAE5C,eAAO,MAAM,MAAM,EAAE,WAiIpB,CAAC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { brandColor } from "../../brandColor/index.mjs";
|
|
2
|
+
export const colors = {
|
|
3
|
+
background: {
|
|
4
|
+
/** For default neutral surface (#FFFFFF) */
|
|
5
|
+
default: brandColor.grey000,
|
|
6
|
+
/** For sunken neutral surface below background/default (#F2F4F6) */
|
|
7
|
+
alternative: brandColor.grey050,
|
|
8
|
+
/** For raised neutral surface above background/default (#F2F4F6) */
|
|
9
|
+
muted: brandColor.grey050,
|
|
10
|
+
/** Hover state surface for background/default (#F5F5F5) */
|
|
11
|
+
defaultHover: '#F5F5F5',
|
|
12
|
+
/** Pressed state surface for background/default (#EBEBEB) */
|
|
13
|
+
defaultPressed: '#EBEBEB',
|
|
14
|
+
/** Hover state surface for background/alternative (#E7EBEE) */
|
|
15
|
+
alternativeHover: '#E7EBEE',
|
|
16
|
+
/** Pressed state surface for background/alternative (#DBE0E6) */
|
|
17
|
+
alternativePressed: '#DBE0E6',
|
|
18
|
+
/** Hover state surface for background/muted (#E7EBEE) */
|
|
19
|
+
mutedHover: '#E7EBEE',
|
|
20
|
+
/** Pressed state surface for background/muted (#DBE0E6) */
|
|
21
|
+
mutedPressed: '#DBE0E6',
|
|
22
|
+
/** General purpose hover state tint (#0000000A) */
|
|
23
|
+
hover: '#0000000A',
|
|
24
|
+
/** General purpose pressed state tint (#00000014) */
|
|
25
|
+
pressed: '#00000014',
|
|
26
|
+
},
|
|
27
|
+
text: {
|
|
28
|
+
/** Default color for text (#24272A) */
|
|
29
|
+
default: brandColor.grey900,
|
|
30
|
+
/** Softer color for text (#848C96) */
|
|
31
|
+
alternative: brandColor.grey500,
|
|
32
|
+
/** Muted color for text (Not accessible) (#BBC0C5) */
|
|
33
|
+
muted: brandColor.grey300,
|
|
34
|
+
},
|
|
35
|
+
icon: {
|
|
36
|
+
/** Default color for icons (#24272A) */
|
|
37
|
+
default: brandColor.grey900,
|
|
38
|
+
/** Softer color for icons (#848C96) */
|
|
39
|
+
alternative: brandColor.grey500,
|
|
40
|
+
/** Muted color for icons (Not accessible) (#BBC0C5) */
|
|
41
|
+
muted: brandColor.grey300,
|
|
42
|
+
},
|
|
43
|
+
border: {
|
|
44
|
+
/** Default color for borders (#9FA6AE) */
|
|
45
|
+
default: brandColor.grey400,
|
|
46
|
+
/** Muted color for borders (#BBC0C566) */
|
|
47
|
+
muted: '#BBC0C566',
|
|
48
|
+
},
|
|
49
|
+
overlay: {
|
|
50
|
+
/** Default color for overlays(scrim) (#00000099) */
|
|
51
|
+
default: '#00000099',
|
|
52
|
+
/** Dimmer color for overlays(scrim) (#000000CC) */
|
|
53
|
+
alternative: '#000000CC',
|
|
54
|
+
/** For elements placed on top of overlay/alternative (#FFFFFF) */
|
|
55
|
+
inverse: brandColor.grey000,
|
|
56
|
+
},
|
|
57
|
+
primary: {
|
|
58
|
+
/** For primary semantic elements: interactive, active, selected... (#0376C9) */
|
|
59
|
+
default: brandColor.blue500,
|
|
60
|
+
/** Stronger color for primary semantic elements (#0260A4) */
|
|
61
|
+
alternative: brandColor.blue600,
|
|
62
|
+
/** Muted color for primary semantic elements (#0376C91A) */
|
|
63
|
+
muted: '#0376C91A',
|
|
64
|
+
/** For elements placed on top of primary/default fill (#FFFFFF) */
|
|
65
|
+
inverse: brandColor.grey000,
|
|
66
|
+
/** Hover state surface for primary/default (#036AB5) */
|
|
67
|
+
defaultHover: '#036AB5',
|
|
68
|
+
/** Pressed state surface for primary/default (#025EA1) */
|
|
69
|
+
defaultPressed: '#025EA1',
|
|
70
|
+
},
|
|
71
|
+
error: {
|
|
72
|
+
/** For danger semantic elements: error, critical, destructive... (#D73847) */
|
|
73
|
+
default: brandColor.red500,
|
|
74
|
+
/** Stronger color for danger semantic (#B92534) */
|
|
75
|
+
alternative: brandColor.red600,
|
|
76
|
+
/** Muted color for danger semantic (#D738471A) */
|
|
77
|
+
muted: '#D738471A',
|
|
78
|
+
/** For elements placed on top of error/default fill (#FFFFFF) */
|
|
79
|
+
inverse: brandColor.grey000,
|
|
80
|
+
/** Hover state surface for error/default (#D02A3A) */
|
|
81
|
+
defaultHover: '#D02A3A',
|
|
82
|
+
/** Pressed state surface for error/default (#BF2635) */
|
|
83
|
+
defaultPressed: '#BF2635',
|
|
84
|
+
},
|
|
85
|
+
warning: {
|
|
86
|
+
/** For warning semantic elements: caution, attention, precaution... (#BF5208) */
|
|
87
|
+
default: brandColor.yellow500,
|
|
88
|
+
/** Muted color option for warning semantic (#BF52081A) */
|
|
89
|
+
muted: '#BF52081A',
|
|
90
|
+
/** For elements placed on top of warning/default fill (#FFFFFF) */
|
|
91
|
+
inverse: brandColor.grey000,
|
|
92
|
+
/** Hover state surface for warning/default (#AC4A07) */
|
|
93
|
+
defaultHover: '#AC4A07',
|
|
94
|
+
/** Pressed state surface for warning/default (#984106) */
|
|
95
|
+
defaultPressed: '#984106',
|
|
96
|
+
},
|
|
97
|
+
success: {
|
|
98
|
+
/** For positive semantic elements: success, confirm, complete, safe... (#1C8234) */
|
|
99
|
+
default: brandColor.green500,
|
|
100
|
+
/** Muted color for positive semantic (#1C82341A) */
|
|
101
|
+
muted: '#1C82341A',
|
|
102
|
+
/** For elements placed on top of success/default fill (#FFFFFF) */
|
|
103
|
+
inverse: brandColor.grey000,
|
|
104
|
+
/** Hover state surface for success/default (#18712D) */
|
|
105
|
+
defaultHover: '#18712D',
|
|
106
|
+
/** Pressed state surface for success/default (#156127) */
|
|
107
|
+
defaultPressed: '#156127',
|
|
108
|
+
},
|
|
109
|
+
info: {
|
|
110
|
+
/** For soft alert semantic elements: info, reminder, hint... (#0376C9) */
|
|
111
|
+
default: brandColor.blue500,
|
|
112
|
+
/** Muted color for soft alert semantic (#0376C91A) */
|
|
113
|
+
muted: '#0376C91A',
|
|
114
|
+
/** For elements placed on top of info/default fill (#FFFFFF) */
|
|
115
|
+
inverse: brandColor.grey000,
|
|
116
|
+
},
|
|
117
|
+
flask: {
|
|
118
|
+
/** For Flask primary accent color (#6F4CFF) */
|
|
119
|
+
default: brandColor.purple500,
|
|
120
|
+
/** For elements placed on top of flask/default (#FFFFFF) */
|
|
121
|
+
inverse: brandColor.grey000,
|
|
122
|
+
},
|
|
123
|
+
shadow: {
|
|
124
|
+
/** For neutral drop shadow color (#0000001A) */
|
|
125
|
+
default: '#0000001A',
|
|
126
|
+
/** For primary drop shadow color (#0376C933) */
|
|
127
|
+
primary: '#0376C933',
|
|
128
|
+
/** For critical/danger drop shadow color (#CA354266) */
|
|
129
|
+
error: '#CA354266',
|
|
130
|
+
},
|
|
131
|
+
};
|
|
132
|
+
//# sourceMappingURL=colors.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.mjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/colors.ts"],"names":[],"mappings":"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","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n /** For default neutral surface (#FFFFFF) */\n default: brandColor.grey000,\n /** For sunken neutral surface below background/default (#F2F4F6) */\n alternative: brandColor.grey050,\n /** For raised neutral surface above background/default (#F2F4F6) */\n muted: brandColor.grey050,\n /** Hover state surface for background/default (#F5F5F5) */\n defaultHover: '#F5F5F5',\n /** Pressed state surface for background/default (#EBEBEB) */\n defaultPressed: '#EBEBEB',\n /** Hover state surface for background/alternative (#E7EBEE) */\n alternativeHover: '#E7EBEE',\n /** Pressed state surface for background/alternative (#DBE0E6) */\n alternativePressed: '#DBE0E6',\n /** Hover state surface for background/muted (#E7EBEE) */\n mutedHover: '#E7EBEE',\n /** Pressed state surface for background/muted (#DBE0E6) */\n mutedPressed: '#DBE0E6',\n /** General purpose hover state tint (#0000000A) */\n hover: '#0000000A',\n /** General purpose pressed state tint (#00000014) */\n pressed: '#00000014',\n },\n text: {\n /** Default color for text (#24272A) */\n default: brandColor.grey900,\n /** Softer color for text (#848C96) */\n alternative: brandColor.grey500,\n /** Muted color for text (Not accessible) (#BBC0C5) */\n muted: brandColor.grey300,\n },\n icon: {\n /** Default color for icons (#24272A) */\n default: brandColor.grey900,\n /** Softer color for icons (#848C96) */\n alternative: brandColor.grey500,\n /** Muted color for icons (Not accessible) (#BBC0C5) */\n muted: brandColor.grey300,\n },\n border: {\n /** Default color for borders (#9FA6AE) */\n default: brandColor.grey400,\n /** Muted color for borders (#BBC0C566) */\n muted: '#BBC0C566',\n },\n overlay: {\n /** Default color for overlays(scrim) (#00000099) */\n default: '#00000099',\n /** Dimmer color for overlays(scrim) (#000000CC) */\n alternative: '#000000CC',\n /** For elements placed on top of overlay/alternative (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n primary: {\n /** For primary semantic elements: interactive, active, selected... (#0376C9) */\n default: brandColor.blue500,\n /** Stronger color for primary semantic elements (#0260A4) */\n alternative: brandColor.blue600,\n /** Muted color for primary semantic elements (#0376C91A) */\n muted: '#0376C91A',\n /** For elements placed on top of primary/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for primary/default (#036AB5) */\n defaultHover: '#036AB5',\n /** Pressed state surface for primary/default (#025EA1) */\n defaultPressed: '#025EA1',\n },\n error: {\n /** For danger semantic elements: error, critical, destructive... (#D73847) */\n default: brandColor.red500,\n /** Stronger color for danger semantic (#B92534) */\n alternative: brandColor.red600,\n /** Muted color for danger semantic (#D738471A) */\n muted: '#D738471A',\n /** For elements placed on top of error/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for error/default (#D02A3A) */\n defaultHover: '#D02A3A',\n /** Pressed state surface for error/default (#BF2635) */\n defaultPressed: '#BF2635',\n },\n warning: {\n /** For warning semantic elements: caution, attention, precaution... (#BF5208) */\n default: brandColor.yellow500,\n /** Muted color option for warning semantic (#BF52081A) */\n muted: '#BF52081A',\n /** For elements placed on top of warning/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for warning/default (#AC4A07) */\n defaultHover: '#AC4A07',\n /** Pressed state surface for warning/default (#984106) */\n defaultPressed: '#984106',\n },\n success: {\n /** For positive semantic elements: success, confirm, complete, safe... (#1C8234) */\n default: brandColor.green500,\n /** Muted color for positive semantic (#1C82341A) */\n muted: '#1C82341A',\n /** For elements placed on top of success/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n /** Hover state surface for success/default (#18712D) */\n defaultHover: '#18712D',\n /** Pressed state surface for success/default (#156127) */\n defaultPressed: '#156127',\n },\n info: {\n /** For soft alert semantic elements: info, reminder, hint... (#0376C9) */\n default: brandColor.blue500,\n /** Muted color for soft alert semantic (#0376C91A) */\n muted: '#0376C91A',\n /** For elements placed on top of info/default fill (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n flask: {\n /** For Flask primary accent color (#6F4CFF) */\n default: brandColor.purple500,\n /** For elements placed on top of flask/default (#FFFFFF) */\n inverse: brandColor.grey000,\n },\n shadow: {\n /** For neutral drop shadow color (#0000001A) */\n default: '#0000001A',\n /** For primary drop shadow color (#0376C933) */\n primary: '#0376C933',\n /** For critical/danger drop shadow color (#CA354266) */\n error: '#CA354266',\n },\n};\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.lightTheme = void 0;
|
|
4
|
+
var lightTheme_1 = require("./lightTheme.cjs");
|
|
5
|
+
Object.defineProperty(exports, "lightTheme", { enumerable: true, get: function () { return lightTheme_1.lightTheme; } });
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export { lightTheme } from './lightTheme';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB","sourcesContent":["export { lightTheme } from './lightTheme';\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.lightTheme = 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.lightTheme = {
|
|
8
|
+
colors: colors_1.colors,
|
|
9
|
+
typography: typography_1.typography,
|
|
10
|
+
shadows: shadows_1.shadows,
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=lightTheme.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightTheme.cjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.ts"],"names":[],"mappings":";;;AAAA,2DAA8C;AAE9C,yCAAkC;AAClC,2CAAoC;AAEvB,QAAA,UAAU,GAAU;IAC/B,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 lightTheme: Theme = {\n colors,\n typography,\n shadows,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightTheme.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAiB;AAItC,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightTheme.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAiB;AAItC,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightTheme.mjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.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,UAAU,GAAU;IAC/B,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 lightTheme: Theme = {\n colors,\n typography,\n shadows,\n};\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/lightTheme/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/lightTheme/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/lightTheme/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/lightTheme/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 @@
|
|
|
1
|
+
{"version":3,"file":"types.cjs","sourceRoot":"","sources":["../../../src/js/themes/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ThemeTypography } from '../typography';\n\ntype ShadowShape = {\n shadowColor: string;\n shadowOffset: {\n width: number;\n height: number;\n };\n shadowOpacity: number;\n shadowRadius: number;\n};\n\ntype ShadowSizes = {\n xs: ShadowShape;\n sm: ShadowShape;\n md: ShadowShape;\n lg: ShadowShape;\n};\n\nexport type ThemeShadows = {\n size: ShadowSizes;\n};\n\nexport type ThemeColors = {\n background: {\n /** For default neutral surface */\n default: string;\n /** For sunken neutral surface below background/default */\n alternative: string;\n /** For raised neutral surface above background/default */\n muted: string;\n /** Hover state surface for background/default */\n defaultHover: string;\n /** Pressed state surface for background/default */\n defaultPressed: string;\n /** Hover state surface for background/alternative */\n alternativeHover: string;\n /** Pressed state surface for background/alternative */\n alternativePressed: string;\n /** Hover state surface for background/muted */\n mutedHover: string;\n /** Pressed state surface for background/muted */\n mutedPressed: string;\n /** General purpose hover state tint */\n hover: string;\n /** General purpose pressed state tint */\n pressed: string;\n };\n text: {\n /** Default color for text */\n default: string;\n /** Softer color for text */\n alternative: string;\n /** Muted color for text (Not accessible) */\n muted: string;\n };\n icon: {\n /** Default color for icons */\n default: string;\n /** Softer color for icons */\n alternative: string;\n /** Muted color for icons (Not accessible) */\n muted: string;\n };\n border: {\n /** Default color for borders */\n default: string;\n /** Muted color for borders */\n muted: string;\n };\n overlay: {\n /** Default color for overlays(scrim) */\n default: string;\n /** Dimmer color for overlays(scrim) */\n alternative: string;\n /** For elements placed on top of overlay/alternative */\n inverse: string;\n };\n primary: {\n /** For primary semantic elements: interactive, active, selected... */\n default: string;\n /** Stronger color for primary semantic elements */\n alternative: string;\n /** Muted color for primary semantic elements */\n muted: string;\n /** For elements placed on top of primary/default fill */\n inverse: string;\n /** Hover state surface for primary/default */\n defaultHover: string;\n /** Pressed state surface for primary/default */\n defaultPressed: string;\n };\n error: {\n /** For danger semantic elements: error, critical, destructive... */\n default: string;\n /** Stronger color for danger semantic */\n alternative: string;\n /** Muted color for danger semantic */\n muted: string;\n /** For elements placed on top of error/default fill */\n inverse: string;\n /** Hover state surface for error/default */\n defaultHover: string;\n /** Pressed state surface for error/default */\n defaultPressed: string;\n };\n warning: {\n /** For warning semantic elements: caution, attention, precaution... */\n default: string;\n /** Muted color option for warning semantic */\n muted: string;\n /** For elements placed on top of warning/default fill */\n inverse: string;\n /** Hover state surface for warning/default */\n defaultHover: string;\n /** Pressed state surface for warning/default */\n defaultPressed: string;\n };\n success: {\n /** For positive semantic elements: success, confirm, complete, safe... */\n default: string;\n /** Muted color for positive semantic */\n muted: string;\n /** For elements placed on top of success/default fill */\n inverse: string;\n /** Hover state surface for success/default */\n defaultHover: string;\n /** Pressed state surface for success/default */\n defaultPressed: string;\n };\n info: {\n /** For soft alert semantic elements: info, reminder, hint... */\n default: string;\n /** Muted color for soft alert semantic */\n muted: string;\n /** For elements placed on top of info/default fill */\n inverse: string;\n };\n flask: {\n /** For Flask primary accent color */\n default: string;\n /** For elements placed on top of flask/default */\n inverse: string;\n };\n shadow: {\n /** For neutral drop shadow color */\n default: string;\n /** For primary drop shadow color */\n primary: string;\n /** For critical/danger drop shadow color */\n error: string;\n };\n};\n\nexport type Theme = {\n colors: ThemeColors;\n typography: ThemeTypography;\n shadows: ThemeShadows;\n};\n"]}
|