@equinor/eds-tokens 2.3.1 → 2.3.2

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/README.md CHANGED
@@ -13,14 +13,32 @@ pnpm add @equinor/eds-tokens
13
13
 
14
14
  ## Usage
15
15
 
16
+ > **⚠️ Transition notice.** The token structure in this package is being
17
+ > replaced. The replacement is developed on the beta line
18
+ > (`@equinor/eds-tokens@beta`) and ships as the next major release.
19
+ >
20
+ > * **Need tokens today?** Use the CSS variables — they are the supported
21
+ > option for production and keep working throughout 2.x. Expect the
22
+ > variable names to change in the next major release; keeping direct
23
+ > variable references few and centralised will make that migration cheap.
24
+ > * **Do not** adopt the legacy `tokens` JavaScript object in new code — it
25
+ > is deprecated and will be removed in the next major release.
26
+ > * The beta line is for testing and feedback, not production use.
27
+
16
28
  The package provides two token systems:
17
29
 
18
- * **CSS Variables (Recommended)** -- Modern, theme-aware design tokens synced from Figma
19
- * **Legacy Tokens** -- Original token format, still supported for backward compatibility
30
+ * **CSS Variables** -- Theme-aware design tokens synced from Figma. Supported for production; the variable names will change in the next major release.
31
+ * **Legacy Tokens** -- Original token format. Deprecated: do not use in new code.
20
32
 
21
33
  ---
22
34
 
23
- ## CSS Variables (Recommended)
35
+ ## CSS Variables
36
+
37
+ > These `--eds-*` variables will be replaced by the new token structure in
38
+ > the next major release. They remain the supported way to consume EDS
39
+ > tokens today (`@equinor/eds-core-react` 2.x requires `css/variables`) —
40
+ > just keep direct variable references organised so the rename in the next
41
+ > major is easy to absorb.
24
42
 
25
43
  The new token system uses CSS custom properties that automatically adapt to light and dark color schemes via explicit `[data-color-scheme]` scope rules with a `prefers-color-scheme` media-query fallback. These tokens are directly synced from Figma variables.
26
44
 
@@ -309,9 +327,9 @@ These utilities use modern CSS features (`text-box-trim`) and gracefully degrade
309
327
 
310
328
  ---
311
329
 
312
- ## Legacy Tokens (Backward Compatible)
330
+ ## Legacy Tokens (deprecated — do not use)
313
331
 
314
- The original token format is still available for existing applications. These tokens use a structured JavaScript object format.
332
+ **Deprecated.** The original token format remains published only so existing applications keep working, and will be removed in the next major release. These tokens use a structured JavaScript object format.
315
333
 
316
334
  ### Using Legacy Tokens in JavaScript/TypeScript
317
335
 
@@ -334,7 +352,7 @@ const typography = tokens.typography.heading.h1
334
352
  * Interaction states
335
353
  * Typography (`ot`, `woff` or `woff2` font required)
336
354
 
337
- > We recommend migrating to CSS Variables for new projects to benefit from automatic theme support and better performance.
355
+ > Do not adopt these legacy tokens in new projects. If you need tokens today, use the CSS variables above; the long-term replacement is the new token structure currently on the beta line (`@equinor/eds-tokens@beta`).
338
356
 
339
357
  [design tokens]: https://css-tricks.com/what-are-design-tokens/
340
358
 
@@ -6,6 +6,13 @@ import { shape } from './shape.mjs';
6
6
  import { typography } from './typography.mjs';
7
7
  import { spacings } from './spacings.mjs';
8
8
 
9
+ /**
10
+ * @deprecated Do not use in new code — this legacy token object will be
11
+ * removed in the next major release. If you need tokens today, use the CSS
12
+ * variables (`@equinor/eds-tokens/css/variables`); the long-term
13
+ * replacement is the new token structure on the beta line
14
+ * (`@equinor/eds-tokens@beta`).
15
+ */
9
16
  const tokens = {
10
17
  clickbounds,
11
18
  colors,
package/dist/tokens.cjs CHANGED
@@ -996,6 +996,13 @@ const spacings = {
996
996
  }
997
997
  };
998
998
 
999
+ /**
1000
+ * @deprecated Do not use in new code — this legacy token object will be
1001
+ * removed in the next major release. If you need tokens today, use the CSS
1002
+ * variables (`@equinor/eds-tokens/css/variables`); the long-term
1003
+ * replacement is the new token structure on the beta line
1004
+ * (`@equinor/eds-tokens@beta`).
1005
+ */
999
1006
  const tokens = {
1000
1007
  clickbounds,
1001
1008
  colors,
@@ -1,3 +1,10 @@
1
+ /**
2
+ * @deprecated Do not use in new code — this legacy token object will be
3
+ * removed in the next major release. If you need tokens today, use the CSS
4
+ * variables (`@equinor/eds-tokens/css/variables`); the long-term
5
+ * replacement is the new token structure on the beta line
6
+ * (`@equinor/eds-tokens@beta`).
7
+ */
1
8
  export declare const tokens: {
2
9
  clickbounds: {
3
10
  jumbo__base: string;
@@ -0,0 +1,117 @@
1
+ /**
2
+ * Do not edit directly — generated by scripts/generate-ts-tokens.mjs
3
+ * from the Tokens Studio DTCG + CSS exports.
4
+ */
5
+ export declare const colorScheme: {
6
+ readonly accent: {
7
+ readonly '1': "#121414";
8
+ readonly '2': "#191d1d";
9
+ readonly '3': "#3c6266";
10
+ readonly '4': "#3e7378";
11
+ readonly '5': "#41878e";
12
+ readonly '6': "#3c6266";
13
+ readonly '7': "#439199";
14
+ readonly '8': "#6ec0c9";
15
+ readonly '9': "#8cd2da";
16
+ readonly '10': "#ace3e9";
17
+ readonly '11': "#c7f1f6";
18
+ readonly '12': "#bcebf1";
19
+ readonly '13': "#f1ffff";
20
+ readonly '14': "#2c3839";
21
+ readonly '15': "#030303";
22
+ };
23
+ readonly bgBackdrop: "#738696";
24
+ readonly bgDisabled: "#525c65";
25
+ readonly bgFloating: "#1b1c1d";
26
+ readonly bgInput: "#131414";
27
+ readonly borderDisabled: "#738696";
28
+ readonly borderFocus: "#2d8bc5";
29
+ readonly danger: {
30
+ readonly '1': "#181212";
31
+ readonly '2': "#221919";
32
+ readonly '3': "#923a3c";
33
+ readonly '4': "#b03940";
34
+ readonly '5': "#d43745";
35
+ readonly '6': "#923a3c";
36
+ readonly '7': "#e53748";
37
+ readonly '8': "#ff8182";
38
+ readonly '9': "#ffa4a2";
39
+ readonly '10': "#ffc4c1";
40
+ readonly '11': "#ffdddb";
41
+ readonly '12': "#ffd1ce";
42
+ readonly '13': "#fff7f6";
43
+ readonly '14': "#492d2c";
44
+ readonly '15': "#040303";
45
+ };
46
+ readonly info: {
47
+ readonly '1': "#121416";
48
+ readonly '2': "#191d1f";
49
+ readonly '3': "#33607e";
50
+ readonly '4': "#316f98";
51
+ readonly '5': "#2e82b7";
52
+ readonly '6': "#33607e";
53
+ readonly '7': "#2d8bc5";
54
+ readonly '8': "#5abbfb";
55
+ readonly '9': "#82cdff";
56
+ readonly '10': "#b0deff";
57
+ readonly '11': "#c9edff";
58
+ readonly '12': "#bfe7ff";
59
+ readonly '13': "#eefeff";
60
+ readonly '14': "#2a3741";
61
+ readonly '15': "#030304";
62
+ };
63
+ readonly neutral: {
64
+ readonly '1': "#131414";
65
+ readonly '2': "#1b1c1d";
66
+ readonly '3': "#525c65";
67
+ readonly '4': "#5d6b76";
68
+ readonly '5': "#6b7d8b";
69
+ readonly '6': "#525c65";
70
+ readonly '7': "#738696";
71
+ readonly '8': "#9fb4c6";
72
+ readonly '9': "#b4c7d7";
73
+ readonly '10': "#cadae7";
74
+ readonly '11': "#deeaf4";
75
+ readonly '12': "#d6e3ee";
76
+ readonly '13': "#f8fcff";
77
+ readonly '14': "#333639";
78
+ readonly '15': "#030303";
79
+ };
80
+ readonly success: {
81
+ readonly '1': "#121512";
82
+ readonly '2': "#191d19";
83
+ readonly '3': "#3c673a";
84
+ readonly '4': "#3e793c";
85
+ readonly '5': "#418e3e";
86
+ readonly '6': "#3c673a";
87
+ readonly '7': "#449941";
88
+ readonly '8': "#6eca6a";
89
+ readonly '9': "#8cdb87";
90
+ readonly '10': "#aceba8";
91
+ readonly '11': "#c7f7c3";
92
+ readonly '12': "#bcf2b8";
93
+ readonly '13': "#f1ffef";
94
+ readonly '14': "#2c392b";
95
+ readonly '15': "#030303";
96
+ };
97
+ readonly textDisabled: "#738696";
98
+ readonly textLink: "#5abbfb";
99
+ readonly warning: {
100
+ readonly '1': "#161311";
101
+ readonly '2': "#201b17";
102
+ readonly '3': "#7e4e25";
103
+ readonly '4': "#97571b";
104
+ readonly '5': "#b46201";
105
+ readonly '6': "#7e4e25";
106
+ readonly '7': "#c26900";
107
+ readonly '8': "#f99539";
108
+ readonly '9': "#ffaf6b";
109
+ readonly '10': "#ffcba2";
110
+ readonly '11': "#ffdebe";
111
+ readonly '12': "#ffd7b3";
112
+ readonly '13': "#fff8e9";
113
+ readonly '14': "#413226";
114
+ readonly '15': "#040303";
115
+ };
116
+ };
117
+ export type ColorScheme = typeof colorScheme;
@@ -0,0 +1,117 @@
1
+ /**
2
+ * Do not edit directly — generated by scripts/generate-ts-tokens.mjs
3
+ * from the Tokens Studio DTCG + CSS exports.
4
+ */
5
+ export declare const colorScheme: {
6
+ readonly accent: {
7
+ readonly '1': "#eefbfd";
8
+ readonly '2': "#ddeff1";
9
+ readonly '3': "#cfe7e9";
10
+ readonly '4': "#bbdbdf";
11
+ readonly '5': "#a2cdd2";
12
+ readonly '6': "#87c0c6";
13
+ readonly '7': "#6cb2b9";
14
+ readonly '8': "#3c959e";
15
+ readonly '9': "#21767e";
16
+ readonly '10': "#1f666d";
17
+ readonly '11': "#20565c";
18
+ readonly '12': "#20474b";
19
+ readonly '13': "#1e383a";
20
+ readonly '14': "#cae4e7";
21
+ readonly '15': "#ffffff";
22
+ };
23
+ readonly bgBackdrop: "#a4a4a4";
24
+ readonly bgDisabled: "#e1e1e1";
25
+ readonly bgFloating: "#ebebeb";
26
+ readonly bgInput: "#f8f8f8";
27
+ readonly borderDisabled: "#a4a4a4";
28
+ readonly borderFocus: "#5cade5";
29
+ readonly danger: {
30
+ readonly '1': "#fff4f3";
31
+ readonly '2': "#ffe1df";
32
+ readonly '3': "#ffd4d2";
33
+ readonly '4': "#ffc3c0";
34
+ readonly '5': "#ffa7a5";
35
+ readonly '6': "#ff8d8d";
36
+ readonly '7': "#ff6d71";
37
+ readonly '8': "#f12844";
38
+ readonly '9': "#c5002e";
39
+ readonly '10': "#ab0428";
40
+ readonly '11': "#8e1525";
41
+ readonly '12': "#721c22";
42
+ readonly '13': "#571c1f";
43
+ readonly '14': "#ffd0ce";
44
+ readonly '15': "#ffffff";
45
+ };
46
+ readonly info: {
47
+ readonly '1': "#f2faff";
48
+ readonly '2': "#d9efff";
49
+ readonly '3': "#cae6fa";
50
+ readonly '4': "#b5daf5";
51
+ readonly '5': "#99cbf0";
52
+ readonly '6': "#7bbceb";
53
+ readonly '7': "#5cade5";
54
+ readonly '8': "#1d8fcf";
55
+ readonly '9': "#0070a7";
56
+ readonly '10': "#006192";
57
+ readonly '11': "#0e5279";
58
+ readonly '12': "#164461";
59
+ readonly '13': "#18364a";
60
+ readonly '14': "#c5e3f9";
61
+ readonly '15': "#ffffff";
62
+ };
63
+ readonly neutral: {
64
+ readonly '1': "#f8f8f8";
65
+ readonly '2': "#ebebeb";
66
+ readonly '3': "#e1e1e1";
67
+ readonly '4': "#d4d4d4";
68
+ readonly '5': "#c4c4c4";
69
+ readonly '6': "#b4b4b4";
70
+ readonly '7': "#a4a4a4";
71
+ readonly '8': "#868686";
72
+ readonly '9': "#696969";
73
+ readonly '10': "#5b5b5b";
74
+ readonly '11': "#4d4d4d";
75
+ readonly '12': "#404040";
76
+ readonly '13': "#333333";
77
+ readonly '14': "#dedede";
78
+ readonly '15': "#ffffff";
79
+ };
80
+ readonly success: {
81
+ readonly '1': "#eefeed";
82
+ readonly '2': "#ddf2db";
83
+ readonly '3': "#cfeacc";
84
+ readonly '4': "#bbe0b8";
85
+ readonly '5': "#a2d49e";
86
+ readonly '6': "#87c783";
87
+ readonly '7': "#6dba69";
88
+ readonly '8': "#3c9e3b";
89
+ readonly '9': "#227e22";
90
+ readonly '10': "#206d1f";
91
+ readonly '11': "#205c1f";
92
+ readonly '12': "#214b1f";
93
+ readonly '13': "#1e3b1d";
94
+ readonly '14': "#cae8c7";
95
+ readonly '15': "#ffffff";
96
+ };
97
+ readonly textDisabled: "#a4a4a4";
98
+ readonly textLink: "#1d8fcf";
99
+ readonly warning: {
100
+ readonly '1': "#fff6f0";
101
+ readonly '2': "#ffe6d3";
102
+ readonly '3': "#fbdac1";
103
+ readonly '4': "#f6caaa";
104
+ readonly '5': "#f0b689";
105
+ readonly '6': "#eba267";
106
+ readonly '7': "#e38d42";
107
+ readonly '8': "#c86a00";
108
+ readonly '9': "#9f5100";
109
+ readonly '10': "#894700";
110
+ readonly '11': "#753c00";
111
+ readonly '12': "#603204";
112
+ readonly '13': "#4a2a0e";
113
+ readonly '14': "#fad6bc";
114
+ readonly '15': "#ffffff";
115
+ };
116
+ };
117
+ export type ColorScheme = typeof colorScheme;
@@ -0,0 +1,249 @@
1
+ /**
2
+ * Do not edit directly — generated by scripts/generate-ts-tokens.mjs
3
+ * from the Tokens Studio DTCG + CSS exports.
4
+ */
5
+ export declare const colors: {
6
+ readonly dark: {
7
+ readonly blue: {
8
+ readonly '1': "#121416";
9
+ readonly '2': "#191d1f";
10
+ readonly '3': "#33607e";
11
+ readonly '4': "#316f98";
12
+ readonly '5': "#2e82b7";
13
+ readonly '6': "#33607e";
14
+ readonly '7': "#2d8bc5";
15
+ readonly '8': "#5abbfb";
16
+ readonly '9': "#82cdff";
17
+ readonly '10': "#b0deff";
18
+ readonly '11': "#c9edff";
19
+ readonly '12': "#bfe7ff";
20
+ readonly '13': "#eefeff";
21
+ readonly '14': "#2a3741";
22
+ readonly '15': "#030304";
23
+ };
24
+ readonly gray: {
25
+ readonly '1': "#141414";
26
+ readonly '2': "#1c1c1c";
27
+ readonly '3': "#5b5b5b";
28
+ readonly '4': "#696969";
29
+ readonly '5': "#7a7a7a";
30
+ readonly '6': "#5b5b5b";
31
+ readonly '7': "#838383";
32
+ readonly '8': "#b1b1b1";
33
+ readonly '9': "#c4c4c4";
34
+ readonly '10': "#d7d7d7";
35
+ readonly '11': "#e8e8e8";
36
+ readonly '12': "#e1e1e1";
37
+ readonly '13': "#fcfcfc";
38
+ readonly '14': "#353535";
39
+ readonly '15': "#030303";
40
+ };
41
+ readonly green: {
42
+ readonly '1': "#121512";
43
+ readonly '2': "#191d19";
44
+ readonly '3': "#3c673a";
45
+ readonly '4': "#3e793c";
46
+ readonly '5': "#418e3e";
47
+ readonly '6': "#3c673a";
48
+ readonly '7': "#449941";
49
+ readonly '8': "#6eca6a";
50
+ readonly '9': "#8cdb87";
51
+ readonly '10': "#aceba8";
52
+ readonly '11': "#c7f7c3";
53
+ readonly '12': "#bcf2b8";
54
+ readonly '13': "#f1ffef";
55
+ readonly '14': "#2c392b";
56
+ readonly '15': "#030303";
57
+ };
58
+ readonly mossGreen: {
59
+ readonly '1': "#121414";
60
+ readonly '2': "#191d1d";
61
+ readonly '3': "#3c6266";
62
+ readonly '4': "#3e7378";
63
+ readonly '5': "#41878e";
64
+ readonly '6': "#3c6266";
65
+ readonly '7': "#439199";
66
+ readonly '8': "#6ec0c9";
67
+ readonly '9': "#8cd2da";
68
+ readonly '10': "#ace3e9";
69
+ readonly '11': "#c7f1f6";
70
+ readonly '12': "#bcebf1";
71
+ readonly '13': "#f1ffff";
72
+ readonly '14': "#2c3839";
73
+ readonly '15': "#030303";
74
+ };
75
+ readonly northSea: {
76
+ readonly '1': "#131414";
77
+ readonly '2': "#1b1c1d";
78
+ readonly '3': "#525c65";
79
+ readonly '4': "#5d6b76";
80
+ readonly '5': "#6b7d8b";
81
+ readonly '6': "#525c65";
82
+ readonly '7': "#738696";
83
+ readonly '8': "#9fb4c6";
84
+ readonly '9': "#b4c7d7";
85
+ readonly '10': "#cadae7";
86
+ readonly '11': "#deeaf4";
87
+ readonly '12': "#d6e3ee";
88
+ readonly '13': "#f8fcff";
89
+ readonly '14': "#333639";
90
+ readonly '15': "#030303";
91
+ };
92
+ readonly orange: {
93
+ readonly '1': "#161311";
94
+ readonly '2': "#201b17";
95
+ readonly '3': "#7e4e25";
96
+ readonly '4': "#97571b";
97
+ readonly '5': "#b46201";
98
+ readonly '6': "#7e4e25";
99
+ readonly '7': "#c26900";
100
+ readonly '8': "#f99539";
101
+ readonly '9': "#ffaf6b";
102
+ readonly '10': "#ffcba2";
103
+ readonly '11': "#ffdebe";
104
+ readonly '12': "#ffd7b3";
105
+ readonly '13': "#fff8e9";
106
+ readonly '14': "#413226";
107
+ readonly '15': "#040303";
108
+ };
109
+ readonly red: {
110
+ readonly '1': "#181212";
111
+ readonly '2': "#221919";
112
+ readonly '3': "#923a3c";
113
+ readonly '4': "#b03940";
114
+ readonly '5': "#d43745";
115
+ readonly '6': "#923a3c";
116
+ readonly '7': "#e53748";
117
+ readonly '8': "#ff8182";
118
+ readonly '9': "#ffa4a2";
119
+ readonly '10': "#ffc4c1";
120
+ readonly '11': "#ffdddb";
121
+ readonly '12': "#ffd1ce";
122
+ readonly '13': "#fff7f6";
123
+ readonly '14': "#492d2c";
124
+ readonly '15': "#040303";
125
+ };
126
+ };
127
+ readonly light: {
128
+ readonly blue: {
129
+ readonly '1': "#f2faff";
130
+ readonly '2': "#d9efff";
131
+ readonly '3': "#cae6fa";
132
+ readonly '4': "#b5daf5";
133
+ readonly '5': "#99cbf0";
134
+ readonly '6': "#7bbceb";
135
+ readonly '7': "#5cade5";
136
+ readonly '8': "#1d8fcf";
137
+ readonly '9': "#0070a7";
138
+ readonly '10': "#006192";
139
+ readonly '11': "#0e5279";
140
+ readonly '12': "#164461";
141
+ readonly '13': "#18364a";
142
+ readonly '14': "#c5e3f9";
143
+ readonly '15': "#ffffff";
144
+ };
145
+ readonly gray: {
146
+ readonly '1': "#f8f8f8";
147
+ readonly '2': "#ebebeb";
148
+ readonly '3': "#e1e1e1";
149
+ readonly '4': "#d4d4d4";
150
+ readonly '5': "#c4c4c4";
151
+ readonly '6': "#b4b4b4";
152
+ readonly '7': "#a4a4a4";
153
+ readonly '8': "#868686";
154
+ readonly '9': "#696969";
155
+ readonly '10': "#5b5b5b";
156
+ readonly '11': "#4d4d4d";
157
+ readonly '12': "#404040";
158
+ readonly '13': "#333333";
159
+ readonly '14': "#dedede";
160
+ readonly '15': "#ffffff";
161
+ };
162
+ readonly green: {
163
+ readonly '1': "#eefeed";
164
+ readonly '2': "#ddf2db";
165
+ readonly '3': "#cfeacc";
166
+ readonly '4': "#bbe0b8";
167
+ readonly '5': "#a2d49e";
168
+ readonly '6': "#87c783";
169
+ readonly '7': "#6dba69";
170
+ readonly '8': "#3c9e3b";
171
+ readonly '9': "#227e22";
172
+ readonly '10': "#206d1f";
173
+ readonly '11': "#205c1f";
174
+ readonly '12': "#214b1f";
175
+ readonly '13': "#1e3b1d";
176
+ readonly '14': "#cae8c7";
177
+ readonly '15': "#ffffff";
178
+ };
179
+ readonly mossGreen: {
180
+ readonly '1': "#eefbfd";
181
+ readonly '2': "#ddeff1";
182
+ readonly '3': "#cfe7e9";
183
+ readonly '4': "#bbdbdf";
184
+ readonly '5': "#a2cdd2";
185
+ readonly '6': "#87c0c6";
186
+ readonly '7': "#6cb2b9";
187
+ readonly '8': "#3c959e";
188
+ readonly '9': "#21767e";
189
+ readonly '10': "#1f666d";
190
+ readonly '11': "#20565c";
191
+ readonly '12': "#20474b";
192
+ readonly '13': "#1e383a";
193
+ readonly '14': "#cae4e7";
194
+ readonly '15': "#ffffff";
195
+ };
196
+ readonly northSea: {
197
+ readonly '1': "#f5f9fc";
198
+ readonly '2': "#e6ecf1";
199
+ readonly '3': "#dbe2e8";
200
+ readonly '4': "#ccd6dd";
201
+ readonly '5': "#bac6d0";
202
+ readonly '6': "#a7b7c3";
203
+ readonly '7': "#95a7b6";
204
+ readonly '8': "#74899b";
205
+ readonly '9': "#596c7b";
206
+ readonly '10': "#4d5d6a";
207
+ readonly '11': "#424f59";
208
+ readonly '12': "#374149";
209
+ readonly '13': "#2d3439";
210
+ readonly '14': "#d8dfe5";
211
+ readonly '15': "#ffffff";
212
+ };
213
+ readonly orange: {
214
+ readonly '1': "#fff6f0";
215
+ readonly '2': "#ffe6d3";
216
+ readonly '3': "#fbdac1";
217
+ readonly '4': "#f6caaa";
218
+ readonly '5': "#f0b689";
219
+ readonly '6': "#eba267";
220
+ readonly '7': "#e38d42";
221
+ readonly '8': "#c86a00";
222
+ readonly '9': "#9f5100";
223
+ readonly '10': "#894700";
224
+ readonly '11': "#753c00";
225
+ readonly '12': "#603204";
226
+ readonly '13': "#4a2a0e";
227
+ readonly '14': "#fad6bc";
228
+ readonly '15': "#ffffff";
229
+ };
230
+ readonly red: {
231
+ readonly '1': "#fff4f3";
232
+ readonly '2': "#ffe1df";
233
+ readonly '3': "#ffd4d2";
234
+ readonly '4': "#ffc3c0";
235
+ readonly '5': "#ffa7a5";
236
+ readonly '6': "#ff8d8d";
237
+ readonly '7': "#ff6d71";
238
+ readonly '8': "#f12844";
239
+ readonly '9': "#c5002e";
240
+ readonly '10': "#ab0428";
241
+ readonly '11': "#8e1525";
242
+ readonly '12': "#721c22";
243
+ readonly '13': "#571c1f";
244
+ readonly '14': "#ffd0ce";
245
+ readonly '15': "#ffffff";
246
+ };
247
+ };
248
+ };
249
+ export type Colors = typeof colors;
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Do not edit directly — generated by scripts/generate-ts-tokens.mjs
3
+ * from the Tokens Studio DTCG + CSS exports.
4
+ */
5
+ export declare const density: {
6
+ readonly cornerRadius: {
7
+ readonly none: 0;
8
+ readonly pill: 9999;
9
+ readonly rounded: 4;
10
+ readonly roundedOuter: 6;
11
+ };
12
+ readonly spacing: {
13
+ readonly twoXl: 28;
14
+ readonly twoXs: 6;
15
+ readonly threeXl: 32;
16
+ readonly threeXs: 4;
17
+ readonly fourXs: 2;
18
+ readonly lg: 20;
19
+ readonly md: 16;
20
+ readonly none: 0;
21
+ readonly sm: 12;
22
+ readonly xl: 24;
23
+ readonly xs: 8;
24
+ };
25
+ readonly typography: {
26
+ readonly header: {
27
+ readonly twoXl: {
28
+ readonly fontSize: 24;
29
+ readonly lineHeight: 28;
30
+ };
31
+ readonly threeXl: {
32
+ readonly fontSize: 24;
33
+ readonly lineHeight: 32;
34
+ };
35
+ readonly fourXl: {
36
+ readonly fontSize: 32;
37
+ readonly lineHeight: 32;
38
+ };
39
+ readonly lg: {
40
+ readonly fontSize: 18;
41
+ readonly lineHeight: 24;
42
+ };
43
+ readonly md: {
44
+ readonly fontSize: 16;
45
+ readonly lineHeight: 20;
46
+ };
47
+ readonly sm: {
48
+ readonly fontSize: 14;
49
+ readonly lineHeight: 16;
50
+ };
51
+ readonly xl: {
52
+ readonly fontSize: 21;
53
+ readonly lineHeight: 24;
54
+ };
55
+ readonly xs: {
56
+ readonly fontSize: 12;
57
+ readonly lineHeight: 16;
58
+ };
59
+ };
60
+ readonly ui: {
61
+ readonly twoXl: {
62
+ readonly fontSize: 21;
63
+ readonly lineHeight: 28;
64
+ };
65
+ readonly threeXl: {
66
+ readonly fontSize: 24;
67
+ readonly lineHeight: 32;
68
+ };
69
+ readonly fourXl: {
70
+ readonly fontSize: 28;
71
+ readonly lineHeight: 32;
72
+ };
73
+ readonly fiveXl: {
74
+ readonly fontSize: 32;
75
+ readonly lineHeight: 36;
76
+ };
77
+ readonly lg: {
78
+ readonly fontSize: 16;
79
+ readonly lineHeight: 24;
80
+ };
81
+ readonly md: {
82
+ readonly fontSize: 14;
83
+ readonly lineHeight: 20;
84
+ };
85
+ readonly sm: {
86
+ readonly fontSize: 12;
87
+ readonly lineHeight: 16;
88
+ };
89
+ readonly xl: {
90
+ readonly fontSize: 18;
91
+ readonly lineHeight: 24;
92
+ };
93
+ readonly xs: {
94
+ readonly fontSize: 10;
95
+ readonly lineHeight: 16;
96
+ };
97
+ };
98
+ };
99
+ };
100
+ export type Density = typeof density;