@metamask-previews/design-tokens 4.1.0-preview.04cb60f
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,248 @@
|
|
|
1
|
+
import type { ThemeTypography } from "../typography/index.mjs";
|
|
2
|
+
type ShadowShape = {
|
|
3
|
+
shadowColor: string;
|
|
4
|
+
shadowOffset: {
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
};
|
|
8
|
+
shadowOpacity: number;
|
|
9
|
+
shadowRadius: number;
|
|
10
|
+
};
|
|
11
|
+
type ShadowSizes = {
|
|
12
|
+
xs: ShadowShape;
|
|
13
|
+
sm: ShadowShape;
|
|
14
|
+
md: ShadowShape;
|
|
15
|
+
lg: ShadowShape;
|
|
16
|
+
};
|
|
17
|
+
export type ThemeShadows = {
|
|
18
|
+
size: ShadowSizes;
|
|
19
|
+
};
|
|
20
|
+
export type ThemeColors = {
|
|
21
|
+
background: {
|
|
22
|
+
/**
|
|
23
|
+
* {string} background.default - For default neutral backgrounds
|
|
24
|
+
*/
|
|
25
|
+
default: string;
|
|
26
|
+
/**
|
|
27
|
+
* {string} background.defaultHover - For component hover states that use background/default
|
|
28
|
+
*/
|
|
29
|
+
defaultHover: string;
|
|
30
|
+
/**
|
|
31
|
+
* {string} background.defaultPressed - For component pressed states that use background/default.
|
|
32
|
+
*/
|
|
33
|
+
defaultPressed: string;
|
|
34
|
+
/**
|
|
35
|
+
* {string} background.alternative - For a subtle contrast option for neutral backgrounds. (Example: backdrop, header background)
|
|
36
|
+
*/
|
|
37
|
+
alternative: string;
|
|
38
|
+
/**
|
|
39
|
+
* {string} background.alternativeHover - For component hover states that use background/alternative
|
|
40
|
+
*/
|
|
41
|
+
alternativeHover: string;
|
|
42
|
+
/**
|
|
43
|
+
* {string} background.alternativePressed - For component pressed states that use background/alternative
|
|
44
|
+
*/
|
|
45
|
+
alternativePressed: string;
|
|
46
|
+
/**
|
|
47
|
+
* {string} background.hover - For component hover states that don't have a background color
|
|
48
|
+
*/
|
|
49
|
+
hover: string;
|
|
50
|
+
/**
|
|
51
|
+
* {string} background.pressed - For component pressed states that don't have a background color
|
|
52
|
+
*/
|
|
53
|
+
pressed: string;
|
|
54
|
+
};
|
|
55
|
+
text: {
|
|
56
|
+
/**
|
|
57
|
+
* {string} text.default - For general text that takes main priority in the information hierarchy
|
|
58
|
+
*/
|
|
59
|
+
default: string;
|
|
60
|
+
/**
|
|
61
|
+
* {string} text.alternative - For a weaker contrast option for neutral text
|
|
62
|
+
*/
|
|
63
|
+
alternative: string;
|
|
64
|
+
/**
|
|
65
|
+
* {string} text.muted - For inactive or lowest priority text. (Example: placeholder)
|
|
66
|
+
*/
|
|
67
|
+
muted: string;
|
|
68
|
+
};
|
|
69
|
+
icon: {
|
|
70
|
+
/**
|
|
71
|
+
* {string} icon.default - For default neutral icons
|
|
72
|
+
*/
|
|
73
|
+
default: string;
|
|
74
|
+
/**
|
|
75
|
+
* {string} icon.alternative - For a weaker contrast option for neutral icons
|
|
76
|
+
*/
|
|
77
|
+
alternative: string;
|
|
78
|
+
/**
|
|
79
|
+
* {string} icon.muted - For inactive or lowest priority icons
|
|
80
|
+
*/
|
|
81
|
+
muted: string;
|
|
82
|
+
};
|
|
83
|
+
border: {
|
|
84
|
+
/**
|
|
85
|
+
* {string} border.default - For default neutral borders with visible contrast. (Example: text inputs)
|
|
86
|
+
*/
|
|
87
|
+
default: string;
|
|
88
|
+
/**
|
|
89
|
+
* {string} border.muted - For a weaker contrast option for neutral borders.
|
|
90
|
+
*/
|
|
91
|
+
muted: string;
|
|
92
|
+
};
|
|
93
|
+
overlay: {
|
|
94
|
+
/**
|
|
95
|
+
* {string} overlay.default - For shading layers behind modality screens
|
|
96
|
+
*/
|
|
97
|
+
default: string;
|
|
98
|
+
/**
|
|
99
|
+
* {string} overlay.alternative - For a stronger shade of screen
|
|
100
|
+
*/
|
|
101
|
+
alternative: string;
|
|
102
|
+
/**
|
|
103
|
+
* {string} overlay.inverse - For elements used on top of overlay/alternative. Used for text, icon or border
|
|
104
|
+
*/
|
|
105
|
+
inverse: string;
|
|
106
|
+
};
|
|
107
|
+
shadow: {
|
|
108
|
+
/**
|
|
109
|
+
* {string} shadow.default - For neutral drop shadow color.
|
|
110
|
+
*/
|
|
111
|
+
default: string;
|
|
112
|
+
/**
|
|
113
|
+
* {string} shadow.primary - For primary drop shadow color.
|
|
114
|
+
*/
|
|
115
|
+
primary: string;
|
|
116
|
+
/**
|
|
117
|
+
* {string} shadow.default - For critical/danger drop shadow color.
|
|
118
|
+
*/
|
|
119
|
+
error: string;
|
|
120
|
+
};
|
|
121
|
+
primary: {
|
|
122
|
+
/**
|
|
123
|
+
* {string} primary.default - For primary user action related elements
|
|
124
|
+
*/
|
|
125
|
+
default: string;
|
|
126
|
+
/**
|
|
127
|
+
* {string} defaultHover - For the "hover" state of interactive elements
|
|
128
|
+
*/
|
|
129
|
+
defaultHover: string;
|
|
130
|
+
/**
|
|
131
|
+
* {string} defaultPressed - For the "pressed" state of interactive elements
|
|
132
|
+
*/
|
|
133
|
+
defaultPressed: string;
|
|
134
|
+
/**
|
|
135
|
+
* {string} primary.alternative - For the \"pressed\" state of interactive primary elements
|
|
136
|
+
*/
|
|
137
|
+
alternative: string;
|
|
138
|
+
/**
|
|
139
|
+
* {string} primary.muted - For lowest contrast background used in primary elements
|
|
140
|
+
*/
|
|
141
|
+
muted: string;
|
|
142
|
+
/**
|
|
143
|
+
* {string} primary.inverse - For elements used on top of primary/default. (Example: label of primary button, check in a checkbox)disabled state
|
|
144
|
+
*/
|
|
145
|
+
inverse: string;
|
|
146
|
+
};
|
|
147
|
+
error: {
|
|
148
|
+
/**
|
|
149
|
+
* {string} error.default - For high-level alert danger/critical elements. Used for text, background, icon or border
|
|
150
|
+
*/
|
|
151
|
+
default: string;
|
|
152
|
+
/**
|
|
153
|
+
* {string} defaultHover - For the "hover" state of interactive elements
|
|
154
|
+
*/
|
|
155
|
+
defaultHover: string;
|
|
156
|
+
/**
|
|
157
|
+
* {string} defaultPressed - For the "pressed" state of interactive elements
|
|
158
|
+
*/
|
|
159
|
+
defaultPressed: string;
|
|
160
|
+
/**
|
|
161
|
+
* {string} error.alternative - For the \"pressed\" state of interactive danger/critical elements
|
|
162
|
+
*/
|
|
163
|
+
alternative: string;
|
|
164
|
+
/**
|
|
165
|
+
* {string} error.muted - For lowest contrast background used in high-level alert danger/critical elements. (Example: notification background)
|
|
166
|
+
*/
|
|
167
|
+
muted: string;
|
|
168
|
+
/**
|
|
169
|
+
* {string} error.inverse - For elements used on top of error/default (Example: label of danger/critical button)
|
|
170
|
+
*/
|
|
171
|
+
inverse: string;
|
|
172
|
+
};
|
|
173
|
+
warning: {
|
|
174
|
+
/**
|
|
175
|
+
* {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)
|
|
176
|
+
*/
|
|
177
|
+
default: string;
|
|
178
|
+
/**
|
|
179
|
+
* {string} defaultHover - For the "hover" state of interactive elements
|
|
180
|
+
*/
|
|
181
|
+
defaultHover: string;
|
|
182
|
+
/**
|
|
183
|
+
* {string} defaultPressed - For the "pressed" state of interactive elements
|
|
184
|
+
*/
|
|
185
|
+
defaultPressed: string;
|
|
186
|
+
/**
|
|
187
|
+
* {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)
|
|
188
|
+
*/
|
|
189
|
+
muted: string;
|
|
190
|
+
/**
|
|
191
|
+
* {string} warning.inverse - For elements used on top of warning/default. Used for text, icon or border
|
|
192
|
+
*/
|
|
193
|
+
inverse: string;
|
|
194
|
+
};
|
|
195
|
+
success: {
|
|
196
|
+
/**
|
|
197
|
+
* {string} success.default - For positive & good semantic elements. Used for text, background, icon or border
|
|
198
|
+
*/
|
|
199
|
+
default: string;
|
|
200
|
+
/**
|
|
201
|
+
* {string} defaultHover - For the "hover" state of interactive elements
|
|
202
|
+
*/
|
|
203
|
+
defaultHover: string;
|
|
204
|
+
/**
|
|
205
|
+
* {string} defaultPressed - For the "pressed" state of interactive elements
|
|
206
|
+
*/
|
|
207
|
+
defaultPressed: string;
|
|
208
|
+
/**
|
|
209
|
+
* {string} success.muted - For lowest contrast background used in success semantic. (Example: notification background)
|
|
210
|
+
*/
|
|
211
|
+
muted: string;
|
|
212
|
+
/**
|
|
213
|
+
* {string} success.inverse - For elements used on top of success/default. Used for text, icon or border
|
|
214
|
+
*/
|
|
215
|
+
inverse: string;
|
|
216
|
+
};
|
|
217
|
+
info: {
|
|
218
|
+
/**
|
|
219
|
+
* {string} info.default - For informational semantic elements. Used for text, background, icon or border
|
|
220
|
+
*/
|
|
221
|
+
default: string;
|
|
222
|
+
/**
|
|
223
|
+
* {string} info.muted - For lowest contrast background used in informational semantic. (Example: notification background)
|
|
224
|
+
*/
|
|
225
|
+
muted: string;
|
|
226
|
+
/**
|
|
227
|
+
* {string} info.inverse - For elements used on top of info/default. Used for text, icon or border
|
|
228
|
+
*/
|
|
229
|
+
inverse: string;
|
|
230
|
+
};
|
|
231
|
+
flask: {
|
|
232
|
+
/**
|
|
233
|
+
* {string} flask.default - For Flask colored elements
|
|
234
|
+
*/
|
|
235
|
+
default: string;
|
|
236
|
+
/**
|
|
237
|
+
* {string} flask.inverse - For elements used on top of flask/default
|
|
238
|
+
*/
|
|
239
|
+
inverse: string;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
export type Theme = {
|
|
243
|
+
colors: ThemeColors;
|
|
244
|
+
typography: ThemeTypography;
|
|
245
|
+
shadows: ThemeShadows;
|
|
246
|
+
};
|
|
247
|
+
export {};
|
|
248
|
+
//# sourceMappingURL=types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../../src/js/themes/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.mjs","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 /**\n * {string} background.default - For default neutral backgrounds\n */\n default: string;\n /**\n * {string} background.defaultHover - For component hover states that use background/default\n */\n defaultHover: string;\n /**\n * {string} background.defaultPressed - For component pressed states that use background/default.\n */\n defaultPressed: string;\n /**\n * {string} background.alternative - For a subtle contrast option for neutral backgrounds. (Example: backdrop, header background)\n */\n alternative: string;\n /**\n * {string} background.alternativeHover - For component hover states that use background/alternative\n */\n alternativeHover: string;\n /**\n * {string} background.alternativePressed - For component pressed states that use background/alternative\n */\n alternativePressed: string;\n /**\n * {string} background.hover - For component hover states that don't have a background color\n */\n hover: string;\n /**\n * {string} background.pressed - For component pressed states that don't have a background color\n */\n pressed: string;\n };\n text: {\n /**\n * {string} text.default - For general text that takes main priority in the information hierarchy\n */\n default: string;\n /**\n * {string} text.alternative - For a weaker contrast option for neutral text\n */\n alternative: string;\n /**\n * {string} text.muted - For inactive or lowest priority text. (Example: placeholder)\n */\n muted: string;\n };\n icon: {\n /**\n * {string} icon.default - For default neutral icons\n */\n default: string;\n /**\n * {string} icon.alternative - For a weaker contrast option for neutral icons\n */\n alternative: string;\n /**\n * {string} icon.muted - For inactive or lowest priority icons\n */\n muted: string;\n };\n border: {\n /**\n * {string} border.default - For default neutral borders with visible contrast. (Example: text inputs)\n */\n default: string;\n /**\n * {string} border.muted - For a weaker contrast option for neutral borders.\n */\n muted: string;\n };\n overlay: {\n /**\n * {string} overlay.default - For shading layers behind modality screens\n */\n default: string;\n /**\n * {string} overlay.alternative - For a stronger shade of screen\n */\n alternative: string;\n /**\n * {string} overlay.inverse - For elements used on top of overlay/alternative. Used for text, icon or border\n */\n inverse: string;\n };\n shadow: {\n /**\n * {string} shadow.default - For neutral drop shadow color.\n */\n default: string;\n /**\n * {string} shadow.primary - For primary drop shadow color.\n */\n primary: string;\n /**\n * {string} shadow.default - For critical/danger drop shadow color.\n */\n error: string;\n };\n primary: {\n /**\n * {string} primary.default - For primary user action related elements\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} primary.alternative - For the \\\"pressed\\\" state of interactive primary elements\n */\n alternative: string;\n /**\n * {string} primary.muted - For lowest contrast background used in primary elements\n */\n muted: string;\n /**\n * {string} primary.inverse - For elements used on top of primary/default. (Example: label of primary button, check in a checkbox)disabled state\n */\n inverse: string;\n };\n error: {\n /**\n * {string} error.default - For high-level alert danger/critical elements. Used for text, background, icon or border\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} error.alternative - For the \\\"pressed\\\" state of interactive danger/critical elements\n */\n alternative: string;\n /**\n * {string} error.muted - For lowest contrast background used in high-level alert danger/critical elements. (Example: notification background)\n */\n muted: string;\n /**\n * {string} error.inverse - For elements used on top of error/default (Example: label of danger/critical button)\n */\n inverse: string;\n };\n warning: {\n /**\n * {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)\n */\n muted: string;\n /**\n * {string} warning.inverse - For elements used on top of warning/default. Used for text, icon or border\n */\n inverse: string;\n };\n success: {\n /**\n * {string} success.default - For positive & good semantic elements. Used for text, background, icon or border\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} success.muted - For lowest contrast background used in success semantic. (Example: notification background)\n */\n muted: string;\n /**\n * {string} success.inverse - For elements used on top of success/default. Used for text, icon or border\n */\n inverse: string;\n };\n info: {\n /**\n * {string} info.default - For informational semantic elements. Used for text, background, icon or border\n */\n default: string;\n /**\n * {string} info.muted - For lowest contrast background used in informational semantic. (Example: notification background)\n */\n muted: string;\n /**\n * {string} info.inverse - For elements used on top of info/default. Used for text, icon or border\n */\n inverse: string;\n };\n flask: {\n /**\n * {string} flask.default - For Flask colored elements\n */\n default: string;\n /**\n * {string} flask.inverse - For elements used on top of flask/default\n */\n inverse: string;\n };\n};\n\nexport type Theme = {\n colors: ThemeColors;\n typography: ThemeTypography;\n shadows: ThemeShadows;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamilies.cjs","sourceRoot":"","sources":["../../../src/js/typography/fontFamilies.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,eAAe,EAAE,mBAAmB;CACrC,CAAC","sourcesContent":["export const fontFamilies = {\n euclidCircularB: 'Euclid Circular B',\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamilies.d.cts","sourceRoot":"","sources":["../../../src/js/typography/fontFamilies.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;CAExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamilies.d.mts","sourceRoot":"","sources":["../../../src/js/typography/fontFamilies.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;CAExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontFamilies.mjs","sourceRoot":"","sources":["../../../src/js/typography/fontFamilies.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,eAAe,EAAE,mBAAmB;CACrC,CAAC","sourcesContent":["export const fontFamilies = {\n euclidCircularB: 'Euclid Circular B',\n};\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fontSizes = void 0;
|
|
4
|
+
exports.fontSizes = {
|
|
5
|
+
fontSize1: 10,
|
|
6
|
+
fontSize2: 12,
|
|
7
|
+
fontSize3: 14,
|
|
8
|
+
fontSize4: 16,
|
|
9
|
+
fontSize5: 18,
|
|
10
|
+
fontSize6: 24,
|
|
11
|
+
fontSize7: 32,
|
|
12
|
+
fontSize8: 48,
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=fontSizes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontSizes.cjs","sourceRoot":"","sources":["../../../src/js/typography/fontSizes.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;CACd,CAAC","sourcesContent":["export const fontSizes = {\n fontSize1: 10,\n fontSize2: 12,\n fontSize3: 14,\n fontSize4: 16,\n fontSize5: 18,\n fontSize6: 24,\n fontSize7: 32,\n fontSize8: 48,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontSizes.d.cts","sourceRoot":"","sources":["../../../src/js/typography/fontSizes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontSizes.d.mts","sourceRoot":"","sources":["../../../src/js/typography/fontSizes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontSizes.mjs","sourceRoot":"","sources":["../../../src/js/typography/fontSizes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;CACd,CAAC","sourcesContent":["export const fontSizes = {\n fontSize1: 10,\n fontSize2: 12,\n fontSize3: 14,\n fontSize4: 16,\n fontSize5: 18,\n fontSize6: 24,\n fontSize7: 32,\n fontSize8: 48,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontWeights.cjs","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;CACZ,CAAC","sourcesContent":["export const fontWeights = {\n regular: '400',\n medium: '500',\n bold: '700',\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontWeights.d.cts","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;CAIvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontWeights.d.mts","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;CAIvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fontWeights.mjs","sourceRoot":"","sources":["../../../src/js/typography/fontWeights.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,KAAK;CACZ,CAAC","sourcesContent":["export const fontWeights = {\n regular: '400',\n medium: '500',\n bold: '700',\n};\n"]}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.typography = void 0;
|
|
4
|
+
var typography_1 = require("./typography.cjs");
|
|
5
|
+
Object.defineProperty(exports, "typography", { enumerable: true, get: function () { return typography_1.typography; } });
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/js/typography/index.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export { typography } from './typography';\nexport type { ThemeTypography } from './types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/js/typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB;AAC1C,YAAY,EAAE,eAAe,EAAE,oBAAgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/js/typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB;AAC1C,YAAY,EAAE,eAAe,EAAE,oBAAgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/js/typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB","sourcesContent":["export { typography } from './typography';\nexport type { ThemeTypography } from './types';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"letterSpacing.cjs","sourceRoot":"","sources":["../../../src/js/typography/letterSpacing.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,cAAc,EAAE,CAAC;IACjB,cAAc,EAAE,IAAI;CACrB,CAAC","sourcesContent":["export const letterSpacing = {\n letterSpacing0: 0,\n letterSpacing1: 0.25,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"letterSpacing.d.cts","sourceRoot":"","sources":["../../../src/js/typography/letterSpacing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;CAGzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"letterSpacing.d.mts","sourceRoot":"","sources":["../../../src/js/typography/letterSpacing.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;CAGzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"letterSpacing.mjs","sourceRoot":"","sources":["../../../src/js/typography/letterSpacing.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,cAAc,EAAE,CAAC;IACjB,cAAc,EAAE,IAAI;CACrB,CAAC","sourcesContent":["export const letterSpacing = {\n letterSpacing0: 0,\n letterSpacing1: 0.25,\n};\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.lineHeights = void 0;
|
|
4
|
+
exports.lineHeights = {
|
|
5
|
+
lineHeight1: 16,
|
|
6
|
+
lineHeight2: 20,
|
|
7
|
+
lineHeight3: 22,
|
|
8
|
+
lineHeight4: 24,
|
|
9
|
+
lineHeight5: 32,
|
|
10
|
+
lineHeight6: 40,
|
|
11
|
+
lineHeight7: 56,
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=lineHeights.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineHeights.cjs","sourceRoot":"","sources":["../../../src/js/typography/lineHeights.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;CAChB,CAAC","sourcesContent":["export const lineHeights = {\n lineHeight1: 16,\n lineHeight2: 20,\n lineHeight3: 22,\n lineHeight4: 24,\n lineHeight5: 32,\n lineHeight6: 40,\n lineHeight7: 56,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineHeights.d.cts","sourceRoot":"","sources":["../../../src/js/typography/lineHeights.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;CAQvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineHeights.d.mts","sourceRoot":"","sources":["../../../src/js/typography/lineHeights.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;CAQvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lineHeights.mjs","sourceRoot":"","sources":["../../../src/js/typography/lineHeights.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;CAChB,CAAC","sourcesContent":["export const lineHeights = {\n lineHeight1: 16,\n lineHeight2: 20,\n lineHeight3: 22,\n lineHeight4: 24,\n lineHeight5: 32,\n lineHeight6: 40,\n lineHeight7: 56,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.cjs","sourceRoot":"","sources":["../../../src/js/typography/types.ts"],"names":[],"mappings":"","sourcesContent":["type TypeStyle = {\n fontFamily: string;\n fontSize: number;\n fontWeight: string;\n lineHeight: number;\n letterSpacing: number;\n};\n\nexport type ThemeTypography = {\n sDisplayMD: TypeStyle;\n sHeadingLG: TypeStyle;\n sHeadingMD: TypeStyle;\n sHeadingSMRegular: TypeStyle;\n sHeadingSM: TypeStyle;\n sBodyLGMedium: TypeStyle;\n sBodyMD: TypeStyle;\n sBodyMDMedium: TypeStyle;\n sBodyMDBold: TypeStyle;\n sBodySM: TypeStyle;\n sBodySMMedium: TypeStyle;\n sBodySMBold: TypeStyle;\n sBodyXS: TypeStyle;\n sBodyXSMedium: TypeStyle;\n lDisplayMD: TypeStyle;\n lHeadingLG: TypeStyle;\n lHeadingMD: TypeStyle;\n lHeadingSMRegular: TypeStyle;\n lHeadingSM: TypeStyle;\n lBodyLGMedium: TypeStyle;\n lBodyMD: TypeStyle;\n lBodyMDMedium: TypeStyle;\n lBodyMDBold: TypeStyle;\n lBodySM: TypeStyle;\n lBodySMMedium: TypeStyle;\n lBodySMBold: TypeStyle;\n lBodyXS: TypeStyle;\n lBodyXSMedium: TypeStyle;\n};\n"]}
|