@phcdevworks/spectre-tokens 2.1.2 → 2.3.0
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 +200 -23
- package/dist/index.cjs +300 -1131
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +31 -19
- package/dist/index.d.cts +281 -1135
- package/dist/index.d.ts +281 -1135
- package/dist/index.js +300 -1131
- package/dist/index.js.map +1 -1
- package/package.json +22 -11
- package/tokens/components.json +41 -3
- package/tokens/modes.json +35 -7
- package/tokens/primitives.json +0 -4
- package/tokens/typography.json +24 -3
package/dist/index.cjs
CHANGED
|
@@ -32,1214 +32,349 @@ module.exports = __toCommonJS(index_exports);
|
|
|
32
32
|
var coreTokens = {
|
|
33
33
|
"component": {
|
|
34
34
|
"card": {
|
|
35
|
-
"text": {
|
|
36
|
-
|
|
37
|
-
"metadata": {
|
|
38
|
-
"pair": "surface.card"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"textMuted": {
|
|
42
|
-
"value": "{colors.neutral.500}",
|
|
43
|
-
"metadata": {
|
|
44
|
-
"pair": "surface.card"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
35
|
+
"text": "{colors.neutral.900}",
|
|
36
|
+
"textMuted": "{colors.neutral.500}"
|
|
47
37
|
},
|
|
48
38
|
"input": {
|
|
49
|
-
"text": {
|
|
50
|
-
|
|
51
|
-
"metadata": {
|
|
52
|
-
"pair": "surface.input"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"placeholder": {
|
|
56
|
-
"value": "{colors.neutral.500}",
|
|
57
|
-
"metadata": {
|
|
58
|
-
"pair": "forms.default.bg"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
39
|
+
"text": "{colors.neutral.900}",
|
|
40
|
+
"placeholder": "{colors.neutral.500}"
|
|
61
41
|
},
|
|
62
42
|
"button": {
|
|
63
|
-
"textDefault": {
|
|
64
|
-
|
|
65
|
-
},
|
|
66
|
-
"textOnPrimary": {
|
|
67
|
-
"value": "{colors.white}"
|
|
68
|
-
}
|
|
43
|
+
"textDefault": "{colors.neutral.900}",
|
|
44
|
+
"textOnPrimary": "{colors.white}"
|
|
69
45
|
},
|
|
70
46
|
"badge": {
|
|
71
|
-
"neutralBg": {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
},
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
"infoBg": {
|
|
87
|
-
"value": "{colors.info.100}",
|
|
88
|
-
"metadata": {
|
|
89
|
-
"pair": "component.badge.infoText"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"infoBgHover": {
|
|
93
|
-
"value": "{colors.info.200}",
|
|
94
|
-
"metadata": {
|
|
95
|
-
"pair": "component.badge.infoText"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"infoText": {
|
|
99
|
-
"value": "{colors.info.700}"
|
|
100
|
-
},
|
|
101
|
-
"successBg": {
|
|
102
|
-
"value": "{colors.success.100}",
|
|
103
|
-
"metadata": {
|
|
104
|
-
"pair": "component.badge.successText"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"successBgHover": {
|
|
108
|
-
"value": "{colors.success.200}",
|
|
109
|
-
"metadata": {
|
|
110
|
-
"pair": "component.badge.successText"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"successText": {
|
|
114
|
-
"value": "{colors.success.800}"
|
|
115
|
-
},
|
|
116
|
-
"warningBg": {
|
|
117
|
-
"value": "{colors.warning.100}",
|
|
118
|
-
"metadata": {
|
|
119
|
-
"pair": "component.badge.warningText"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"warningBgHover": {
|
|
123
|
-
"value": "{colors.warning.200}",
|
|
124
|
-
"metadata": {
|
|
125
|
-
"pair": "component.badge.warningText"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
"warningText": {
|
|
129
|
-
"value": "{colors.warning.800}"
|
|
130
|
-
},
|
|
131
|
-
"dangerBg": {
|
|
132
|
-
"value": "{colors.error.100}",
|
|
133
|
-
"metadata": {
|
|
134
|
-
"pair": "component.badge.dangerText"
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"dangerBgHover": {
|
|
138
|
-
"value": "{colors.error.200}",
|
|
139
|
-
"metadata": {
|
|
140
|
-
"pair": "component.badge.dangerText"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"dangerText": {
|
|
144
|
-
"value": "{colors.error.800}"
|
|
145
|
-
}
|
|
47
|
+
"neutralBg": "{colors.neutral.100}",
|
|
48
|
+
"neutralBgHover": "{colors.neutral.200}",
|
|
49
|
+
"neutralText": "{colors.neutral.700}",
|
|
50
|
+
"infoBg": "{colors.info.100}",
|
|
51
|
+
"infoBgHover": "{colors.info.200}",
|
|
52
|
+
"infoText": "{colors.info.700}",
|
|
53
|
+
"successBg": "{colors.success.100}",
|
|
54
|
+
"successBgHover": "{colors.success.200}",
|
|
55
|
+
"successText": "{colors.success.800}",
|
|
56
|
+
"warningBg": "{colors.warning.100}",
|
|
57
|
+
"warningBgHover": "{colors.warning.200}",
|
|
58
|
+
"warningText": "{colors.warning.800}",
|
|
59
|
+
"dangerBg": "{colors.error.100}",
|
|
60
|
+
"dangerBgHover": "{colors.error.200}",
|
|
61
|
+
"dangerText": "{colors.error.800}"
|
|
146
62
|
},
|
|
147
63
|
"iconBox": {
|
|
148
|
-
"bg": {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
154
|
-
"border": {
|
|
155
|
-
"value": "{colors.neutral.200}"
|
|
156
|
-
},
|
|
157
|
-
"iconDefault": {
|
|
158
|
-
"value": "{colors.info.600}",
|
|
159
|
-
"metadata": {
|
|
160
|
-
"pair": "component.iconBox.bg"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"iconSuccess": {
|
|
164
|
-
"value": "{colors.success.600}"
|
|
165
|
-
},
|
|
166
|
-
"iconWarning": {
|
|
167
|
-
"value": "{colors.warning.600}"
|
|
168
|
-
},
|
|
169
|
-
"iconDanger": {
|
|
170
|
-
"value": "{colors.error.600}"
|
|
171
|
-
}
|
|
64
|
+
"bg": "{colors.white}",
|
|
65
|
+
"border": "{colors.neutral.200}",
|
|
66
|
+
"iconDefault": "{colors.info.600}",
|
|
67
|
+
"iconSuccess": "{colors.success.600}",
|
|
68
|
+
"iconWarning": "{colors.warning.600}",
|
|
69
|
+
"iconDanger": "{colors.error.600}"
|
|
172
70
|
},
|
|
173
71
|
"testimonial": {
|
|
174
|
-
"bg": {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
},
|
|
180
|
-
"
|
|
181
|
-
"value": "{colors.neutral.200}"
|
|
182
|
-
},
|
|
183
|
-
"text": {
|
|
184
|
-
"value": "{colors.neutral.700}",
|
|
185
|
-
"metadata": {
|
|
186
|
-
"pair": "component.testimonial.bg"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"authorName": {
|
|
190
|
-
"value": "{colors.neutral.900}",
|
|
191
|
-
"metadata": {
|
|
192
|
-
"pair": "component.testimonial.bg"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"authorTitle": {
|
|
196
|
-
"value": "{colors.neutral.500}",
|
|
197
|
-
"metadata": {
|
|
198
|
-
"pair": "component.testimonial.bg"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"quoteMark": {
|
|
202
|
-
"value": "{colors.neutral.300}"
|
|
203
|
-
}
|
|
72
|
+
"bg": "{colors.white}",
|
|
73
|
+
"bgHover": "{colors.neutral.50}",
|
|
74
|
+
"border": "{colors.neutral.200}",
|
|
75
|
+
"text": "{colors.neutral.700}",
|
|
76
|
+
"authorName": "{colors.neutral.900}",
|
|
77
|
+
"authorTitle": "{colors.neutral.500}",
|
|
78
|
+
"quoteMark": "{colors.neutral.500}"
|
|
204
79
|
},
|
|
205
80
|
"pricingCard": {
|
|
206
|
-
"bg": {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
"
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
},
|
|
216
|
-
"featuredBg": {
|
|
217
|
-
"value": "{colors.info.600}",
|
|
218
|
-
"metadata": {
|
|
219
|
-
"pair": "component.pricingCard.featuredText"
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
"featuredText": {
|
|
223
|
-
"value": "{colors.white}",
|
|
224
|
-
"metadata": {}
|
|
225
|
-
},
|
|
226
|
-
"featuredBadgeBg": {
|
|
227
|
-
"value": "{colors.warning.500}",
|
|
228
|
-
"metadata": {
|
|
229
|
-
"pair": "component.pricingCard.featuredBadgeText"
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
"featuredBadgeText": {
|
|
233
|
-
"value": "{colors.neutral.900}",
|
|
234
|
-
"metadata": {}
|
|
235
|
-
},
|
|
236
|
-
"price": {
|
|
237
|
-
"value": "{colors.neutral.900}",
|
|
238
|
-
"metadata": {
|
|
239
|
-
"pair": "component.pricingCard.bg"
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
"priceDescription": {
|
|
243
|
-
"value": "{colors.neutral.500}",
|
|
244
|
-
"metadata": {
|
|
245
|
-
"pair": "component.pricingCard.bg"
|
|
246
|
-
}
|
|
247
|
-
}
|
|
81
|
+
"bg": "{colors.white}",
|
|
82
|
+
"bgHover": "{colors.neutral.50}",
|
|
83
|
+
"border": "{colors.neutral.200}",
|
|
84
|
+
"featuredBg": "{colors.info.600}",
|
|
85
|
+
"featuredText": "{colors.white}",
|
|
86
|
+
"featuredBadgeBg": "{colors.warning.500}",
|
|
87
|
+
"featuredBadgeText": "{colors.neutral.900}",
|
|
88
|
+
"price": "{colors.neutral.900}",
|
|
89
|
+
"priceDescription": "{colors.neutral.500}"
|
|
248
90
|
},
|
|
249
91
|
"rating": {
|
|
250
|
-
"starFilled": {
|
|
251
|
-
|
|
252
|
-
}
|
|
253
|
-
"starEmpty": {
|
|
254
|
-
"value": "{colors.neutral.200}"
|
|
255
|
-
},
|
|
256
|
-
"text": {
|
|
257
|
-
"value": "{colors.neutral.500}",
|
|
258
|
-
"metadata": {
|
|
259
|
-
"pair": "surface.card"
|
|
260
|
-
}
|
|
261
|
-
}
|
|
92
|
+
"starFilled": "{colors.warning.500}",
|
|
93
|
+
"starEmpty": "{colors.neutral.200}",
|
|
94
|
+
"text": "{colors.neutral.500}"
|
|
262
95
|
}
|
|
263
96
|
},
|
|
264
97
|
"buttons": {
|
|
265
98
|
"primary": {
|
|
266
|
-
"bg": {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
},
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
"metadata": {
|
|
275
|
-
"pair": "buttons.primary.text"
|
|
276
|
-
}
|
|
277
|
-
},
|
|
278
|
-
"bgActive": {
|
|
279
|
-
"value": "{colors.info.800}",
|
|
280
|
-
"metadata": {
|
|
281
|
-
"pair": "buttons.primary.text"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
"bgDisabled": {
|
|
285
|
-
"value": "{colors.neutral.200}"
|
|
286
|
-
},
|
|
287
|
-
"text": {
|
|
288
|
-
"value": "{colors.white}"
|
|
289
|
-
},
|
|
290
|
-
"textDisabled": {
|
|
291
|
-
"value": "{colors.neutral.400}"
|
|
292
|
-
},
|
|
293
|
-
"focusRing": {
|
|
294
|
-
"value": "{colors.info.500} / 0.4"
|
|
295
|
-
}
|
|
99
|
+
"bg": "{colors.info.600}",
|
|
100
|
+
"bgHover": "{colors.info.700}",
|
|
101
|
+
"bgActive": "{colors.info.800}",
|
|
102
|
+
"bgDisabled": "{colors.neutral.200}",
|
|
103
|
+
"text": "{colors.white}",
|
|
104
|
+
"textDisabled": "{colors.neutral.400}",
|
|
105
|
+
"focusRing": "{colors.info.500} / 0.4",
|
|
106
|
+
"focusVisible": "{colors.info.500} / 0.4"
|
|
296
107
|
},
|
|
297
108
|
"secondary": {
|
|
298
|
-
"bg": {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
},
|
|
304
|
-
"
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
"bgActive": {
|
|
311
|
-
"value": "{colors.neutral.100}",
|
|
312
|
-
"metadata": {
|
|
313
|
-
"pair": "buttons.secondary.text"
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
"bgDisabled": {
|
|
317
|
-
"value": "{colors.neutral.50}"
|
|
318
|
-
},
|
|
319
|
-
"text": {
|
|
320
|
-
"value": "{colors.info.700}"
|
|
321
|
-
},
|
|
322
|
-
"textDisabled": {
|
|
323
|
-
"value": "{colors.neutral.400}"
|
|
324
|
-
},
|
|
325
|
-
"border": {
|
|
326
|
-
"value": "{colors.info.700}"
|
|
327
|
-
},
|
|
328
|
-
"borderDisabled": {
|
|
329
|
-
"value": "{colors.neutral.200}"
|
|
330
|
-
},
|
|
331
|
-
"focusRing": {
|
|
332
|
-
"value": "{colors.info.500} / 0.4"
|
|
333
|
-
}
|
|
109
|
+
"bg": "{colors.white}",
|
|
110
|
+
"bgHover": "{colors.neutral.50}",
|
|
111
|
+
"bgActive": "{colors.neutral.100}",
|
|
112
|
+
"bgDisabled": "{colors.neutral.50}",
|
|
113
|
+
"text": "{colors.info.700}",
|
|
114
|
+
"textDisabled": "{colors.neutral.400}",
|
|
115
|
+
"border": "{colors.info.700}",
|
|
116
|
+
"borderDisabled": "{colors.neutral.200}",
|
|
117
|
+
"focusRing": "{colors.info.500} / 0.4",
|
|
118
|
+
"focusVisible": "{colors.info.500} / 0.4"
|
|
334
119
|
},
|
|
335
120
|
"ghost": {
|
|
336
|
-
"bg":
|
|
337
|
-
|
|
338
|
-
},
|
|
339
|
-
"
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
},
|
|
345
|
-
"bgActive": {
|
|
346
|
-
"value": "{colors.info.100}",
|
|
347
|
-
"metadata": {
|
|
348
|
-
"pair": "buttons.ghost.text"
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
"bgDisabled": {
|
|
352
|
-
"value": "transparent"
|
|
353
|
-
},
|
|
354
|
-
"text": {
|
|
355
|
-
"value": "{colors.info.700}"
|
|
356
|
-
},
|
|
357
|
-
"textDisabled": {
|
|
358
|
-
"value": "{colors.neutral.400}"
|
|
359
|
-
},
|
|
360
|
-
"focusRing": {
|
|
361
|
-
"value": "{colors.info.500} / 0.4"
|
|
362
|
-
}
|
|
121
|
+
"bg": "transparent",
|
|
122
|
+
"bgHover": "{colors.info.50}",
|
|
123
|
+
"bgActive": "{colors.info.100}",
|
|
124
|
+
"bgDisabled": "transparent",
|
|
125
|
+
"text": "{colors.info.700}",
|
|
126
|
+
"textDisabled": "{colors.neutral.400}",
|
|
127
|
+
"focusRing": "{colors.info.500} / 0.4",
|
|
128
|
+
"focusVisible": "{colors.info.500} / 0.4"
|
|
363
129
|
},
|
|
364
130
|
"danger": {
|
|
365
|
-
"bg": {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
},
|
|
371
|
-
"
|
|
372
|
-
"value": "{colors.error.700}",
|
|
373
|
-
"metadata": {
|
|
374
|
-
"pair": "buttons.danger.text"
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
"bgActive": {
|
|
378
|
-
"value": "{colors.error.800}",
|
|
379
|
-
"metadata": {
|
|
380
|
-
"pair": "buttons.danger.text"
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
"bgDisabled": {
|
|
384
|
-
"value": "{colors.error.200}"
|
|
385
|
-
},
|
|
386
|
-
"text": {
|
|
387
|
-
"value": "{colors.white}"
|
|
388
|
-
},
|
|
389
|
-
"textDisabled": {
|
|
390
|
-
"value": "{colors.neutral.400}"
|
|
391
|
-
},
|
|
392
|
-
"focusRing": {
|
|
393
|
-
"value": "{colors.error.500} / 0.4"
|
|
394
|
-
}
|
|
131
|
+
"bg": "{colors.error.600}",
|
|
132
|
+
"bgHover": "{colors.error.700}",
|
|
133
|
+
"bgActive": "{colors.error.800}",
|
|
134
|
+
"bgDisabled": "{colors.error.200}",
|
|
135
|
+
"text": "{colors.white}",
|
|
136
|
+
"textDisabled": "{colors.neutral.400}",
|
|
137
|
+
"focusRing": "{colors.error.500} / 0.4"
|
|
395
138
|
},
|
|
396
139
|
"success": {
|
|
397
|
-
"bg": {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
},
|
|
403
|
-
"
|
|
404
|
-
"value": "{colors.success.800}",
|
|
405
|
-
"metadata": {
|
|
406
|
-
"pair": "buttons.success.text"
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
"bgActive": {
|
|
410
|
-
"value": "{colors.success.900}",
|
|
411
|
-
"metadata": {
|
|
412
|
-
"pair": "buttons.success.text"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"bgDisabled": {
|
|
416
|
-
"value": "{colors.success.200}"
|
|
417
|
-
},
|
|
418
|
-
"text": {
|
|
419
|
-
"value": "{colors.white}"
|
|
420
|
-
},
|
|
421
|
-
"textDisabled": {
|
|
422
|
-
"value": "{colors.neutral.400}"
|
|
423
|
-
},
|
|
424
|
-
"focusRing": {
|
|
425
|
-
"value": "{colors.success.500} / 0.4"
|
|
426
|
-
}
|
|
140
|
+
"bg": "{colors.success.700}",
|
|
141
|
+
"bgHover": "{colors.success.800}",
|
|
142
|
+
"bgActive": "{colors.success.900}",
|
|
143
|
+
"bgDisabled": "{colors.success.200}",
|
|
144
|
+
"text": "{colors.white}",
|
|
145
|
+
"textDisabled": "{colors.neutral.400}",
|
|
146
|
+
"focusRing": "{colors.success.500} / 0.4"
|
|
427
147
|
},
|
|
428
148
|
"cta": {
|
|
429
|
-
"bg": {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
},
|
|
435
|
-
"
|
|
436
|
-
|
|
437
|
-
"metadata": {
|
|
438
|
-
"pair": "buttons.cta.text"
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
"bgActive": {
|
|
442
|
-
"value": "{colors.brand.800}",
|
|
443
|
-
"metadata": {
|
|
444
|
-
"pair": "buttons.cta.text"
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
"bgDisabled": {
|
|
448
|
-
"value": "{colors.brand.200}"
|
|
449
|
-
},
|
|
450
|
-
"text": {
|
|
451
|
-
"value": "{colors.white}"
|
|
452
|
-
},
|
|
453
|
-
"textDisabled": {
|
|
454
|
-
"value": "{colors.neutral.400}"
|
|
455
|
-
},
|
|
456
|
-
"shadow": {
|
|
457
|
-
"value": "0 4px 14px 0 {colors.brand.500} / 0.39"
|
|
458
|
-
},
|
|
459
|
-
"focusRing": {
|
|
460
|
-
"value": "{colors.brand.500} / 0.4"
|
|
461
|
-
}
|
|
149
|
+
"bg": "{colors.brand.600}",
|
|
150
|
+
"bgHover": "{colors.brand.700}",
|
|
151
|
+
"bgActive": "{colors.brand.800}",
|
|
152
|
+
"bgDisabled": "{colors.brand.200}",
|
|
153
|
+
"text": "{colors.white}",
|
|
154
|
+
"textDisabled": "{colors.neutral.400}",
|
|
155
|
+
"shadow": "0 4px 14px 0 {colors.brand.500} / 0.39",
|
|
156
|
+
"focusRing": "{colors.brand.500} / 0.4"
|
|
462
157
|
},
|
|
463
158
|
"accent": {
|
|
464
|
-
"bg": {
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
},
|
|
470
|
-
"
|
|
471
|
-
|
|
472
|
-
"metadata": {
|
|
473
|
-
"pair": "buttons.accent.text"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
"bgActive": {
|
|
477
|
-
"value": "{colors.accent.800}",
|
|
478
|
-
"metadata": {
|
|
479
|
-
"pair": "buttons.accent.text"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
"bgDisabled": {
|
|
483
|
-
"value": "{colors.accent.200}"
|
|
484
|
-
},
|
|
485
|
-
"text": {
|
|
486
|
-
"value": "{colors.white}"
|
|
487
|
-
},
|
|
488
|
-
"textDisabled": {
|
|
489
|
-
"value": "{colors.neutral.400}"
|
|
490
|
-
},
|
|
491
|
-
"focusRing": {
|
|
492
|
-
"value": "{colors.accent.500} / 0.4"
|
|
493
|
-
}
|
|
159
|
+
"bg": "{colors.accent.600}",
|
|
160
|
+
"bgHover": "{colors.accent.700}",
|
|
161
|
+
"bgActive": "{colors.accent.800}",
|
|
162
|
+
"bgDisabled": "{colors.accent.200}",
|
|
163
|
+
"text": "{colors.white}",
|
|
164
|
+
"textDisabled": "{colors.neutral.400}",
|
|
165
|
+
"focusRing": "{colors.accent.500} / 0.4",
|
|
166
|
+
"focusVisible": "{colors.accent.500} / 0.4"
|
|
494
167
|
}
|
|
495
168
|
},
|
|
496
169
|
"forms": {
|
|
497
170
|
"default": {
|
|
498
|
-
"bg": {
|
|
499
|
-
|
|
500
|
-
},
|
|
501
|
-
"
|
|
502
|
-
"value": "{colors.neutral.300}"
|
|
503
|
-
},
|
|
504
|
-
"text": {
|
|
505
|
-
"value": "{colors.neutral.900}"
|
|
506
|
-
},
|
|
507
|
-
"placeholder": {
|
|
508
|
-
"value": "{colors.neutral.500}",
|
|
509
|
-
"metadata": {
|
|
510
|
-
"pair": "forms.default.bg"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
171
|
+
"bg": "{colors.white}",
|
|
172
|
+
"border": "{colors.neutral.300}",
|
|
173
|
+
"text": "{colors.neutral.900}",
|
|
174
|
+
"placeholder": "{colors.neutral.500}"
|
|
513
175
|
},
|
|
514
176
|
"hover": {
|
|
515
|
-
"border": {
|
|
516
|
-
"value": "{colors.info.500}"
|
|
517
|
-
}
|
|
177
|
+
"border": "{colors.info.500}"
|
|
518
178
|
},
|
|
519
179
|
"focus": {
|
|
520
|
-
"border": {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
}
|
|
180
|
+
"border": "{colors.info.500}",
|
|
181
|
+
"ring": "{colors.info.500}"
|
|
182
|
+
},
|
|
183
|
+
"focusVisible": {
|
|
184
|
+
"border": "{colors.info.500}",
|
|
185
|
+
"ring": "{colors.info.500}"
|
|
526
186
|
},
|
|
527
187
|
"valid": {
|
|
528
|
-
"border": {
|
|
529
|
-
|
|
530
|
-
}
|
|
531
|
-
"bg": {
|
|
532
|
-
"value": "{colors.success.50}",
|
|
533
|
-
"metadata": {
|
|
534
|
-
"pair": "forms.valid.text"
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
"text": {
|
|
538
|
-
"value": "{colors.success.700}"
|
|
539
|
-
}
|
|
188
|
+
"border": "{colors.success.500}",
|
|
189
|
+
"bg": "{colors.success.50}",
|
|
190
|
+
"text": "{colors.success.700}"
|
|
540
191
|
},
|
|
541
192
|
"invalid": {
|
|
542
|
-
"border": {
|
|
543
|
-
|
|
544
|
-
}
|
|
545
|
-
"bg": {
|
|
546
|
-
"value": "{colors.error.50}",
|
|
547
|
-
"metadata": {
|
|
548
|
-
"pair": "forms.invalid.text"
|
|
549
|
-
}
|
|
550
|
-
},
|
|
551
|
-
"text": {
|
|
552
|
-
"value": "{colors.error.700}"
|
|
553
|
-
}
|
|
193
|
+
"border": "{colors.error.500}",
|
|
194
|
+
"bg": "{colors.error.50}",
|
|
195
|
+
"text": "{colors.error.700}"
|
|
554
196
|
},
|
|
555
197
|
"disabled": {
|
|
556
|
-
"bg": {
|
|
557
|
-
|
|
558
|
-
}
|
|
559
|
-
"border": {
|
|
560
|
-
"value": "{colors.neutral.200}"
|
|
561
|
-
},
|
|
562
|
-
"text": {
|
|
563
|
-
"value": "{colors.neutral.400}"
|
|
564
|
-
}
|
|
198
|
+
"bg": "{colors.neutral.50}",
|
|
199
|
+
"border": "{colors.neutral.200}",
|
|
200
|
+
"text": "{colors.neutral.400}"
|
|
565
201
|
}
|
|
566
202
|
},
|
|
567
203
|
"modes": {
|
|
568
204
|
"default": {
|
|
569
205
|
"surface": {
|
|
570
|
-
"page": {
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
}
|
|
576
|
-
"card": {
|
|
577
|
-
"value": "{colors.white}",
|
|
578
|
-
"metadata": {
|
|
579
|
-
"pair": "modes.default.text.onSurface.default"
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
"input": {
|
|
583
|
-
"value": "{colors.white}",
|
|
584
|
-
"metadata": {
|
|
585
|
-
"pair": "modes.default.text.onSurface.default"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
"overlay": {
|
|
589
|
-
"value": "{colors.neutral.900} / 0.6"
|
|
590
|
-
},
|
|
591
|
-
"alternate": {
|
|
592
|
-
"value": "{colors.neutral.100}",
|
|
593
|
-
"metadata": {
|
|
594
|
-
"pair": "modes.default.text.onPage.default"
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
"hero": {
|
|
598
|
-
"value": "linear-gradient(135deg, {colors.indigo.500} 0%, {colors.violet.600} 100%)"
|
|
599
|
-
}
|
|
206
|
+
"page": "{colors.neutral.50}",
|
|
207
|
+
"card": "{colors.white}",
|
|
208
|
+
"input": "{colors.white}",
|
|
209
|
+
"overlay": "{colors.neutral.900} / 0.6",
|
|
210
|
+
"alternate": "{colors.neutral.100}",
|
|
211
|
+
"hero": "linear-gradient(135deg, {colors.indigo.500} 0%, {colors.violet.600} 100%)"
|
|
600
212
|
},
|
|
601
213
|
"text": {
|
|
602
214
|
"onPage": {
|
|
603
|
-
"default": {
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
},
|
|
609
|
-
"muted": {
|
|
610
|
-
"value": "{colors.neutral.600}",
|
|
611
|
-
"metadata": {
|
|
612
|
-
"pair": "modes.default.surface.page"
|
|
613
|
-
}
|
|
614
|
-
},
|
|
615
|
-
"subtle": {
|
|
616
|
-
"value": "{colors.neutral.500}",
|
|
617
|
-
"metadata": {
|
|
618
|
-
"pair": "modes.default.surface.page"
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
"meta": {
|
|
622
|
-
"value": "{colors.neutral.500}",
|
|
623
|
-
"metadata": {
|
|
624
|
-
"pair": "modes.default.surface.page"
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
"brand": {
|
|
628
|
-
"value": "{colors.brand.600}",
|
|
629
|
-
"metadata": {
|
|
630
|
-
"pair": "modes.default.surface.page"
|
|
631
|
-
}
|
|
632
|
-
}
|
|
215
|
+
"default": "{colors.neutral.900}",
|
|
216
|
+
"muted": "{colors.neutral.600}",
|
|
217
|
+
"subtle": "{colors.neutral.500}",
|
|
218
|
+
"meta": "{colors.neutral.500}",
|
|
219
|
+
"brand": "{colors.brand.600}"
|
|
633
220
|
},
|
|
634
221
|
"onSurface": {
|
|
635
|
-
"default": {
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
},
|
|
641
|
-
"muted": {
|
|
642
|
-
"value": "{colors.neutral.600}",
|
|
643
|
-
"metadata": {
|
|
644
|
-
"pair": "modes.default.surface.card"
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
"subtle": {
|
|
648
|
-
"value": "{colors.neutral.500}",
|
|
649
|
-
"metadata": {
|
|
650
|
-
"pair": "modes.default.surface.card"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
"meta": {
|
|
654
|
-
"value": "{colors.neutral.500}",
|
|
655
|
-
"metadata": {
|
|
656
|
-
"pair": "modes.default.surface.card"
|
|
657
|
-
}
|
|
658
|
-
},
|
|
659
|
-
"brand": {
|
|
660
|
-
"value": "{colors.brand.600}",
|
|
661
|
-
"metadata": {
|
|
662
|
-
"pair": "modes.default.surface.card"
|
|
663
|
-
}
|
|
664
|
-
}
|
|
222
|
+
"default": "{colors.neutral.900}",
|
|
223
|
+
"muted": "{colors.neutral.600}",
|
|
224
|
+
"subtle": "{colors.neutral.500}",
|
|
225
|
+
"meta": "{colors.neutral.500}",
|
|
226
|
+
"brand": "{colors.brand.600}"
|
|
665
227
|
}
|
|
666
228
|
},
|
|
667
229
|
"component": {
|
|
668
230
|
"card": {
|
|
669
|
-
"text": {
|
|
670
|
-
|
|
671
|
-
"metadata": {
|
|
672
|
-
"pair": "modes.default.surface.card"
|
|
673
|
-
}
|
|
674
|
-
},
|
|
675
|
-
"textMuted": {
|
|
676
|
-
"value": "{colors.neutral.500}",
|
|
677
|
-
"metadata": {
|
|
678
|
-
"pair": "modes.default.surface.card"
|
|
679
|
-
}
|
|
680
|
-
}
|
|
231
|
+
"text": "{colors.neutral.900}",
|
|
232
|
+
"textMuted": "{colors.neutral.600}"
|
|
681
233
|
},
|
|
682
234
|
"input": {
|
|
683
|
-
"text": {
|
|
684
|
-
|
|
685
|
-
"metadata": {
|
|
686
|
-
"pair": "modes.default.surface.input"
|
|
687
|
-
}
|
|
688
|
-
},
|
|
689
|
-
"placeholder": {
|
|
690
|
-
"value": "{colors.neutral.500}",
|
|
691
|
-
"metadata": {
|
|
692
|
-
"pair": "modes.default.surface.input"
|
|
693
|
-
}
|
|
694
|
-
}
|
|
235
|
+
"text": "{colors.neutral.900}",
|
|
236
|
+
"placeholder": "{colors.neutral.500}"
|
|
695
237
|
},
|
|
696
238
|
"button": {
|
|
697
|
-
"textDefault": {
|
|
698
|
-
|
|
699
|
-
},
|
|
700
|
-
"textOnPrimary": {
|
|
701
|
-
"value": "{colors.white}"
|
|
702
|
-
}
|
|
239
|
+
"textDefault": "{colors.neutral.900}",
|
|
240
|
+
"textOnPrimary": "{colors.white}"
|
|
703
241
|
},
|
|
704
242
|
"badge": {
|
|
705
|
-
"neutralBg": {
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
},
|
|
711
|
-
"
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
}
|
|
717
|
-
"neutralText": {
|
|
718
|
-
"value": "{colors.neutral.700}",
|
|
719
|
-
"metadata": {}
|
|
720
|
-
},
|
|
721
|
-
"infoBg": {
|
|
722
|
-
"value": "{colors.info.100}",
|
|
723
|
-
"metadata": {
|
|
724
|
-
"pair": "modes.default.component.badge.infoText"
|
|
725
|
-
}
|
|
726
|
-
},
|
|
727
|
-
"infoBgHover": {
|
|
728
|
-
"value": "{colors.info.200}",
|
|
729
|
-
"metadata": {
|
|
730
|
-
"pair": "modes.default.component.badge.infoText"
|
|
731
|
-
}
|
|
732
|
-
},
|
|
733
|
-
"infoText": {
|
|
734
|
-
"value": "{colors.info.700}",
|
|
735
|
-
"metadata": {}
|
|
736
|
-
},
|
|
737
|
-
"successBg": {
|
|
738
|
-
"value": "{colors.success.100}",
|
|
739
|
-
"metadata": {
|
|
740
|
-
"pair": "modes.default.component.badge.successText"
|
|
741
|
-
}
|
|
742
|
-
},
|
|
743
|
-
"successText": {
|
|
744
|
-
"value": "{colors.success.700}",
|
|
745
|
-
"metadata": {}
|
|
746
|
-
},
|
|
747
|
-
"warningBg": {
|
|
748
|
-
"value": "{colors.warning.100}",
|
|
749
|
-
"metadata": {
|
|
750
|
-
"pair": "modes.default.component.badge.warningText"
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
"warningText": {
|
|
754
|
-
"value": "{colors.warning.800}",
|
|
755
|
-
"metadata": {}
|
|
756
|
-
},
|
|
757
|
-
"dangerBg": {
|
|
758
|
-
"value": "{colors.error.100}",
|
|
759
|
-
"metadata": {
|
|
760
|
-
"pair": "modes.default.component.badge.dangerText"
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
"dangerText": {
|
|
764
|
-
"value": "{colors.error.700}",
|
|
765
|
-
"metadata": {}
|
|
766
|
-
}
|
|
243
|
+
"neutralBg": "{colors.neutral.100}",
|
|
244
|
+
"neutralBgHover": "{colors.neutral.200}",
|
|
245
|
+
"neutralText": "{colors.neutral.700}",
|
|
246
|
+
"infoBg": "{colors.info.100}",
|
|
247
|
+
"infoBgHover": "{colors.info.200}",
|
|
248
|
+
"infoText": "{colors.info.700}",
|
|
249
|
+
"successBg": "{colors.success.100}",
|
|
250
|
+
"successText": "{colors.success.700}",
|
|
251
|
+
"warningBg": "{colors.warning.100}",
|
|
252
|
+
"warningText": "{colors.warning.800}",
|
|
253
|
+
"dangerBg": "{colors.error.100}",
|
|
254
|
+
"dangerText": "{colors.error.700}"
|
|
767
255
|
},
|
|
768
256
|
"iconBox": {
|
|
769
|
-
"bg": {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
"border": {
|
|
776
|
-
"value": "{colors.neutral.200}",
|
|
777
|
-
"metadata": {}
|
|
778
|
-
},
|
|
779
|
-
"iconDefault": {
|
|
780
|
-
"value": "{colors.info.600}",
|
|
781
|
-
"metadata": {
|
|
782
|
-
"pair": "modes.default.component.iconBox.bg"
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
"iconSuccess": {
|
|
786
|
-
"value": "{colors.success.600}",
|
|
787
|
-
"metadata": {}
|
|
788
|
-
},
|
|
789
|
-
"iconWarning": {
|
|
790
|
-
"value": "{colors.warning.600}",
|
|
791
|
-
"metadata": {}
|
|
792
|
-
},
|
|
793
|
-
"iconDanger": {
|
|
794
|
-
"value": "{colors.error.600}",
|
|
795
|
-
"metadata": {
|
|
796
|
-
"pair": "modes.default.component.iconBox.bg"
|
|
797
|
-
}
|
|
798
|
-
}
|
|
257
|
+
"bg": "{colors.white}",
|
|
258
|
+
"border": "{colors.neutral.200}",
|
|
259
|
+
"iconDefault": "{colors.info.600}",
|
|
260
|
+
"iconSuccess": "{colors.success.600}",
|
|
261
|
+
"iconWarning": "{colors.warning.600}",
|
|
262
|
+
"iconDanger": "{colors.error.600}"
|
|
799
263
|
},
|
|
800
264
|
"testimonial": {
|
|
801
|
-
"bg": {
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
},
|
|
807
|
-
"
|
|
808
|
-
"value": "{colors.neutral.200}",
|
|
809
|
-
"metadata": {}
|
|
810
|
-
},
|
|
811
|
-
"text": {
|
|
812
|
-
"value": "{colors.neutral.700}",
|
|
813
|
-
"metadata": {
|
|
814
|
-
"pair": "modes.default.component.testimonial.bg"
|
|
815
|
-
}
|
|
816
|
-
},
|
|
817
|
-
"authorName": {
|
|
818
|
-
"value": "{colors.neutral.900}",
|
|
819
|
-
"metadata": {
|
|
820
|
-
"pair": "modes.default.component.testimonial.bg"
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
"authorTitle": {
|
|
824
|
-
"value": "{colors.neutral.500}",
|
|
825
|
-
"metadata": {
|
|
826
|
-
"pair": "modes.default.component.testimonial.bg"
|
|
827
|
-
}
|
|
828
|
-
},
|
|
829
|
-
"quoteMark": {
|
|
830
|
-
"value": "{colors.neutral.300}",
|
|
831
|
-
"metadata": {}
|
|
832
|
-
}
|
|
265
|
+
"bg": "{colors.white}",
|
|
266
|
+
"bgHover": "{colors.neutral.50}",
|
|
267
|
+
"border": "{colors.neutral.200}",
|
|
268
|
+
"text": "{colors.neutral.700}",
|
|
269
|
+
"authorName": "{colors.neutral.900}",
|
|
270
|
+
"authorTitle": "{colors.neutral.500}",
|
|
271
|
+
"quoteMark": "{colors.neutral.500}"
|
|
833
272
|
},
|
|
834
273
|
"pricingCard": {
|
|
835
|
-
"bg": {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
},
|
|
841
|
-
"
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
},
|
|
845
|
-
"featuredBg": {
|
|
846
|
-
"value": "{colors.info.600}",
|
|
847
|
-
"metadata": {
|
|
848
|
-
"pair": "modes.default.component.pricingCard.featuredText"
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
"featuredText": {
|
|
852
|
-
"value": "{colors.white}",
|
|
853
|
-
"metadata": {}
|
|
854
|
-
},
|
|
855
|
-
"featuredBadgeBg": {
|
|
856
|
-
"value": "{colors.warning.500}",
|
|
857
|
-
"metadata": {
|
|
858
|
-
"pair": "modes.default.component.pricingCard.featuredBadgeText"
|
|
859
|
-
}
|
|
860
|
-
},
|
|
861
|
-
"featuredBadgeText": {
|
|
862
|
-
"value": "{colors.neutral.900}",
|
|
863
|
-
"metadata": {}
|
|
864
|
-
},
|
|
865
|
-
"price": {
|
|
866
|
-
"value": "{colors.neutral.900}",
|
|
867
|
-
"metadata": {
|
|
868
|
-
"pair": "modes.default.component.pricingCard.bg"
|
|
869
|
-
}
|
|
870
|
-
},
|
|
871
|
-
"priceDescription": {
|
|
872
|
-
"value": "{colors.neutral.500}",
|
|
873
|
-
"metadata": {
|
|
874
|
-
"pair": "modes.default.component.pricingCard.bg"
|
|
875
|
-
}
|
|
876
|
-
}
|
|
274
|
+
"bg": "{colors.white}",
|
|
275
|
+
"bgHover": "{colors.neutral.50}",
|
|
276
|
+
"border": "{colors.neutral.200}",
|
|
277
|
+
"featuredBg": "{colors.info.600}",
|
|
278
|
+
"featuredText": "{colors.white}",
|
|
279
|
+
"featuredBadgeBg": "{colors.warning.500}",
|
|
280
|
+
"featuredBadgeText": "{colors.neutral.900}",
|
|
281
|
+
"price": "{colors.neutral.900}",
|
|
282
|
+
"priceDescription": "{colors.neutral.500}"
|
|
877
283
|
},
|
|
878
284
|
"rating": {
|
|
879
|
-
"starFilled": {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
},
|
|
883
|
-
"starEmpty": {
|
|
884
|
-
"value": "{colors.neutral.200}",
|
|
885
|
-
"metadata": {}
|
|
886
|
-
},
|
|
887
|
-
"text": {
|
|
888
|
-
"value": "{colors.neutral.500}",
|
|
889
|
-
"metadata": {
|
|
890
|
-
"pair": "modes.default.surface.card"
|
|
891
|
-
}
|
|
892
|
-
}
|
|
285
|
+
"starFilled": "{colors.warning.500}",
|
|
286
|
+
"starEmpty": "{colors.neutral.200}",
|
|
287
|
+
"text": "{colors.neutral.500}"
|
|
893
288
|
}
|
|
894
289
|
}
|
|
895
290
|
},
|
|
896
291
|
"dark": {
|
|
897
292
|
"surface": {
|
|
898
|
-
"page": {
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
}
|
|
904
|
-
"card": {
|
|
905
|
-
"value": "{colors.neutral.800}",
|
|
906
|
-
"metadata": {
|
|
907
|
-
"pair": "modes.dark.text.onSurface.default"
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
"input": {
|
|
911
|
-
"value": "{colors.neutral.700}",
|
|
912
|
-
"metadata": {
|
|
913
|
-
"pair": "modes.dark.text.onSurface.default"
|
|
914
|
-
}
|
|
915
|
-
},
|
|
916
|
-
"overlay": {
|
|
917
|
-
"value": "{colors.neutral.800}"
|
|
918
|
-
},
|
|
919
|
-
"alternate": {
|
|
920
|
-
"value": "{colors.neutral.800}",
|
|
921
|
-
"metadata": {
|
|
922
|
-
"pair": "modes.dark.text.onPage.default"
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
"hero": {
|
|
926
|
-
"value": "linear-gradient(135deg, {colors.accent.900} 0%, {colors.accent.700} 100%)"
|
|
927
|
-
}
|
|
293
|
+
"page": "{colors.neutral.900}",
|
|
294
|
+
"card": "{colors.neutral.800}",
|
|
295
|
+
"input": "{colors.neutral.700}",
|
|
296
|
+
"overlay": "{colors.neutral.800}",
|
|
297
|
+
"alternate": "{colors.neutral.800}",
|
|
298
|
+
"hero": "linear-gradient(135deg, {colors.accent.700} 0%, {colors.accent.900} 100%)"
|
|
928
299
|
},
|
|
929
300
|
"text": {
|
|
930
301
|
"onPage": {
|
|
931
|
-
"default": {
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
},
|
|
937
|
-
"muted": {
|
|
938
|
-
"value": "{colors.neutral.300}",
|
|
939
|
-
"metadata": {
|
|
940
|
-
"pair": "modes.dark.surface.page"
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
"subtle": {
|
|
944
|
-
"value": "{colors.neutral.400}",
|
|
945
|
-
"metadata": {
|
|
946
|
-
"pair": "modes.dark.surface.page"
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
"meta": {
|
|
950
|
-
"value": "{colors.neutral.400}",
|
|
951
|
-
"metadata": {
|
|
952
|
-
"pair": "modes.dark.surface.page"
|
|
953
|
-
}
|
|
954
|
-
},
|
|
955
|
-
"brand": {
|
|
956
|
-
"value": "{colors.brand.400}",
|
|
957
|
-
"metadata": {
|
|
958
|
-
"pair": "modes.dark.surface.page"
|
|
959
|
-
}
|
|
960
|
-
}
|
|
302
|
+
"default": "{colors.neutral.50}",
|
|
303
|
+
"muted": "{colors.neutral.300}",
|
|
304
|
+
"subtle": "{colors.neutral.400}",
|
|
305
|
+
"meta": "{colors.neutral.400}",
|
|
306
|
+
"brand": "{colors.brand.400}"
|
|
961
307
|
},
|
|
962
308
|
"onSurface": {
|
|
963
|
-
"default": {
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
},
|
|
969
|
-
"muted": {
|
|
970
|
-
"value": "{colors.neutral.300}",
|
|
971
|
-
"metadata": {
|
|
972
|
-
"pair": "modes.dark.surface.card"
|
|
973
|
-
}
|
|
974
|
-
},
|
|
975
|
-
"subtle": {
|
|
976
|
-
"value": "{colors.neutral.400}",
|
|
977
|
-
"metadata": {
|
|
978
|
-
"pair": "modes.dark.surface.card"
|
|
979
|
-
}
|
|
980
|
-
},
|
|
981
|
-
"meta": {
|
|
982
|
-
"value": "{colors.neutral.400}",
|
|
983
|
-
"metadata": {
|
|
984
|
-
"pair": "modes.dark.surface.card"
|
|
985
|
-
}
|
|
986
|
-
},
|
|
987
|
-
"brand": {
|
|
988
|
-
"value": "{colors.brand.400}",
|
|
989
|
-
"metadata": {
|
|
990
|
-
"pair": "modes.dark.surface.card"
|
|
991
|
-
}
|
|
992
|
-
}
|
|
309
|
+
"default": "{colors.neutral.100}",
|
|
310
|
+
"muted": "{colors.neutral.300}",
|
|
311
|
+
"subtle": "{colors.neutral.400}",
|
|
312
|
+
"meta": "{colors.neutral.400}",
|
|
313
|
+
"brand": "{colors.brand.400}"
|
|
993
314
|
}
|
|
994
315
|
},
|
|
995
316
|
"component": {
|
|
996
317
|
"card": {
|
|
997
|
-
"text": {
|
|
998
|
-
|
|
999
|
-
"metadata": {
|
|
1000
|
-
"pair": "modes.dark.surface.card"
|
|
1001
|
-
}
|
|
1002
|
-
},
|
|
1003
|
-
"textMuted": {
|
|
1004
|
-
"value": "{colors.neutral.300}",
|
|
1005
|
-
"metadata": {
|
|
1006
|
-
"pair": "modes.dark.surface.card"
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
318
|
+
"text": "{colors.neutral.100}",
|
|
319
|
+
"textMuted": "{colors.neutral.300}"
|
|
1009
320
|
},
|
|
1010
321
|
"input": {
|
|
1011
|
-
"text": {
|
|
1012
|
-
|
|
1013
|
-
"metadata": {
|
|
1014
|
-
"pair": "modes.dark.surface.input"
|
|
1015
|
-
}
|
|
1016
|
-
},
|
|
1017
|
-
"placeholder": {
|
|
1018
|
-
"value": "{colors.neutral.300}",
|
|
1019
|
-
"metadata": {
|
|
1020
|
-
"pair": "modes.dark.surface.input"
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
322
|
+
"text": "{colors.neutral.100}",
|
|
323
|
+
"placeholder": "{colors.neutral.300}"
|
|
1023
324
|
},
|
|
1024
325
|
"button": {
|
|
1025
|
-
"textDefault": {
|
|
1026
|
-
|
|
1027
|
-
},
|
|
1028
|
-
"textOnPrimary": {
|
|
1029
|
-
"value": "{colors.white}"
|
|
1030
|
-
}
|
|
326
|
+
"textDefault": "{colors.neutral.100}",
|
|
327
|
+
"textOnPrimary": "{colors.white}"
|
|
1031
328
|
},
|
|
1032
329
|
"badge": {
|
|
1033
|
-
"neutralBg": {
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
},
|
|
1039
|
-
"
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
},
|
|
1045
|
-
"
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
},
|
|
1049
|
-
"infoBg": {
|
|
1050
|
-
"value": "{colors.info.800}",
|
|
1051
|
-
"metadata": {
|
|
1052
|
-
"pair": "modes.dark.component.badge.infoText"
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
"infoBgHover": {
|
|
1056
|
-
"value": "{colors.info.700}",
|
|
1057
|
-
"metadata": {
|
|
1058
|
-
"pair": "modes.dark.component.badge.infoText"
|
|
1059
|
-
}
|
|
1060
|
-
},
|
|
1061
|
-
"infoText": {
|
|
1062
|
-
"value": "{colors.info.100}",
|
|
1063
|
-
"metadata": {}
|
|
1064
|
-
},
|
|
1065
|
-
"successBg": {
|
|
1066
|
-
"value": "{colors.success.800}",
|
|
1067
|
-
"metadata": {
|
|
1068
|
-
"pair": "modes.dark.component.badge.successText"
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
"successBgHover": {
|
|
1072
|
-
"value": "{colors.success.700}",
|
|
1073
|
-
"metadata": {
|
|
1074
|
-
"pair": "modes.dark.component.badge.successText"
|
|
1075
|
-
}
|
|
1076
|
-
},
|
|
1077
|
-
"successText": {
|
|
1078
|
-
"value": "{colors.success.100}",
|
|
1079
|
-
"metadata": {}
|
|
1080
|
-
},
|
|
1081
|
-
"warningBg": {
|
|
1082
|
-
"value": "{colors.warning.800}",
|
|
1083
|
-
"metadata": {
|
|
1084
|
-
"pair": "modes.dark.component.badge.warningText"
|
|
1085
|
-
}
|
|
1086
|
-
},
|
|
1087
|
-
"warningBgHover": {
|
|
1088
|
-
"value": "{colors.warning.800}",
|
|
1089
|
-
"metadata": {
|
|
1090
|
-
"pair": "modes.dark.component.badge.warningText"
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
"warningText": {
|
|
1094
|
-
"value": "{colors.warning.100}",
|
|
1095
|
-
"metadata": {}
|
|
1096
|
-
},
|
|
1097
|
-
"dangerBg": {
|
|
1098
|
-
"value": "{colors.error.800}",
|
|
1099
|
-
"metadata": {
|
|
1100
|
-
"pair": "modes.dark.component.badge.dangerText"
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
"dangerBgHover": {
|
|
1104
|
-
"value": "{colors.error.700}",
|
|
1105
|
-
"metadata": {
|
|
1106
|
-
"pair": "modes.dark.component.badge.dangerText"
|
|
1107
|
-
}
|
|
1108
|
-
},
|
|
1109
|
-
"dangerText": {
|
|
1110
|
-
"value": "{colors.error.100}",
|
|
1111
|
-
"metadata": {}
|
|
1112
|
-
}
|
|
330
|
+
"neutralBg": "{colors.neutral.700}",
|
|
331
|
+
"neutralBgHover": "{colors.neutral.600}",
|
|
332
|
+
"neutralText": "{colors.neutral.100}",
|
|
333
|
+
"infoBg": "{colors.info.800}",
|
|
334
|
+
"infoBgHover": "{colors.info.700}",
|
|
335
|
+
"infoText": "{colors.info.100}",
|
|
336
|
+
"successBg": "{colors.success.800}",
|
|
337
|
+
"successBgHover": "{colors.success.700}",
|
|
338
|
+
"successText": "{colors.success.100}",
|
|
339
|
+
"warningBg": "{colors.warning.800}",
|
|
340
|
+
"warningBgHover": "{colors.warning.800}",
|
|
341
|
+
"warningText": "{colors.warning.100}",
|
|
342
|
+
"dangerBg": "{colors.error.800}",
|
|
343
|
+
"dangerBgHover": "{colors.error.700}",
|
|
344
|
+
"dangerText": "{colors.error.100}"
|
|
1113
345
|
},
|
|
1114
346
|
"iconBox": {
|
|
1115
|
-
"bg": {
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}
|
|
1121
|
-
"border": {
|
|
1122
|
-
"value": "{colors.neutral.700}",
|
|
1123
|
-
"metadata": {}
|
|
1124
|
-
},
|
|
1125
|
-
"iconDefault": {
|
|
1126
|
-
"value": "{colors.info.300}",
|
|
1127
|
-
"metadata": {
|
|
1128
|
-
"pair": "modes.dark.component.iconBox.bg"
|
|
1129
|
-
}
|
|
1130
|
-
},
|
|
1131
|
-
"iconSuccess": {
|
|
1132
|
-
"value": "{colors.success.400}",
|
|
1133
|
-
"metadata": {
|
|
1134
|
-
"pair": "modes.dark.component.iconBox.bg"
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
"iconWarning": {
|
|
1138
|
-
"value": "{colors.warning.400}",
|
|
1139
|
-
"metadata": {
|
|
1140
|
-
"pair": "modes.dark.component.iconBox.bg"
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
"iconDanger": {
|
|
1144
|
-
"value": "{colors.error.400}",
|
|
1145
|
-
"metadata": {
|
|
1146
|
-
"pair": "modes.dark.component.iconBox.bg"
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
347
|
+
"bg": "{colors.neutral.800}",
|
|
348
|
+
"border": "{colors.neutral.700}",
|
|
349
|
+
"iconDefault": "{colors.info.400}",
|
|
350
|
+
"iconSuccess": "{colors.success.400}",
|
|
351
|
+
"iconWarning": "{colors.warning.400}",
|
|
352
|
+
"iconDanger": "{colors.error.400}"
|
|
1149
353
|
},
|
|
1150
354
|
"testimonial": {
|
|
1151
|
-
"bg": {
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
},
|
|
1157
|
-
"
|
|
1158
|
-
"value": "{colors.neutral.700}",
|
|
1159
|
-
"metadata": {}
|
|
1160
|
-
},
|
|
1161
|
-
"text": {
|
|
1162
|
-
"value": "{colors.neutral.200}",
|
|
1163
|
-
"metadata": {
|
|
1164
|
-
"pair": "modes.dark.component.testimonial.bg"
|
|
1165
|
-
}
|
|
1166
|
-
},
|
|
1167
|
-
"authorName": {
|
|
1168
|
-
"value": "{colors.neutral.100}",
|
|
1169
|
-
"metadata": {
|
|
1170
|
-
"pair": "modes.dark.component.testimonial.bg"
|
|
1171
|
-
}
|
|
1172
|
-
},
|
|
1173
|
-
"authorTitle": {
|
|
1174
|
-
"value": "{colors.neutral.400}",
|
|
1175
|
-
"metadata": {
|
|
1176
|
-
"pair": "modes.dark.component.testimonial.bg"
|
|
1177
|
-
}
|
|
1178
|
-
},
|
|
1179
|
-
"quoteMark": {
|
|
1180
|
-
"value": "{colors.neutral.600}",
|
|
1181
|
-
"metadata": {}
|
|
1182
|
-
}
|
|
355
|
+
"bg": "{colors.neutral.800}",
|
|
356
|
+
"bgHover": "{colors.neutral.700}",
|
|
357
|
+
"border": "{colors.neutral.700}",
|
|
358
|
+
"text": "{colors.neutral.200}",
|
|
359
|
+
"authorName": "{colors.neutral.100}",
|
|
360
|
+
"authorTitle": "{colors.neutral.400}",
|
|
361
|
+
"quoteMark": "{colors.neutral.400}"
|
|
1183
362
|
},
|
|
1184
363
|
"pricingCard": {
|
|
1185
|
-
"bg": {
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
},
|
|
1191
|
-
"
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
},
|
|
1195
|
-
"featuredBg": {
|
|
1196
|
-
"value": "{colors.info.600}",
|
|
1197
|
-
"metadata": {
|
|
1198
|
-
"pair": "modes.dark.component.pricingCard.featuredText"
|
|
1199
|
-
}
|
|
1200
|
-
},
|
|
1201
|
-
"featuredText": {
|
|
1202
|
-
"value": "{colors.white}",
|
|
1203
|
-
"metadata": {}
|
|
1204
|
-
},
|
|
1205
|
-
"featuredBadgeBg": {
|
|
1206
|
-
"value": "{colors.warning.500}",
|
|
1207
|
-
"metadata": {
|
|
1208
|
-
"pair": "modes.dark.component.pricingCard.featuredBadgeText"
|
|
1209
|
-
}
|
|
1210
|
-
},
|
|
1211
|
-
"featuredBadgeText": {
|
|
1212
|
-
"value": "{colors.neutral.900}",
|
|
1213
|
-
"metadata": {}
|
|
1214
|
-
},
|
|
1215
|
-
"price": {
|
|
1216
|
-
"value": "{colors.neutral.100}",
|
|
1217
|
-
"metadata": {
|
|
1218
|
-
"pair": "modes.dark.component.pricingCard.bg"
|
|
1219
|
-
}
|
|
1220
|
-
},
|
|
1221
|
-
"priceDescription": {
|
|
1222
|
-
"value": "{colors.neutral.400}",
|
|
1223
|
-
"metadata": {
|
|
1224
|
-
"pair": "modes.dark.component.pricingCard.bg"
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
364
|
+
"bg": "{colors.neutral.800}",
|
|
365
|
+
"bgHover": "{colors.neutral.700}",
|
|
366
|
+
"border": "{colors.neutral.700}",
|
|
367
|
+
"featuredBg": "{colors.info.600}",
|
|
368
|
+
"featuredText": "{colors.white}",
|
|
369
|
+
"featuredBadgeBg": "{colors.warning.500}",
|
|
370
|
+
"featuredBadgeText": "{colors.neutral.900}",
|
|
371
|
+
"price": "{colors.neutral.100}",
|
|
372
|
+
"priceDescription": "{colors.neutral.400}"
|
|
1227
373
|
},
|
|
1228
374
|
"rating": {
|
|
1229
|
-
"starFilled": {
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
},
|
|
1233
|
-
"starEmpty": {
|
|
1234
|
-
"value": "{colors.neutral.700}",
|
|
1235
|
-
"metadata": {}
|
|
1236
|
-
},
|
|
1237
|
-
"text": {
|
|
1238
|
-
"value": "{colors.neutral.400}",
|
|
1239
|
-
"metadata": {
|
|
1240
|
-
"pair": "modes.dark.surface.card"
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
375
|
+
"starFilled": "{colors.warning.400}",
|
|
376
|
+
"starEmpty": "{colors.neutral.700}",
|
|
377
|
+
"text": "{colors.neutral.400}"
|
|
1243
378
|
}
|
|
1244
379
|
}
|
|
1245
380
|
}
|
|
@@ -1483,10 +618,6 @@ var coreTokens = {
|
|
|
1483
618
|
"minTouchTarget": "44px",
|
|
1484
619
|
"minTextSize": "16px"
|
|
1485
620
|
},
|
|
1486
|
-
"borders": {
|
|
1487
|
-
"card": "{colors.neutral.200}",
|
|
1488
|
-
"input": "{colors.neutral.300}"
|
|
1489
|
-
},
|
|
1490
621
|
"border": {
|
|
1491
622
|
"width": {
|
|
1492
623
|
"base": "1px",
|
|
@@ -1494,22 +625,10 @@ var coreTokens = {
|
|
|
1494
625
|
}
|
|
1495
626
|
},
|
|
1496
627
|
"surface": {
|
|
1497
|
-
"page": {
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
}
|
|
1501
|
-
"card": {
|
|
1502
|
-
"value": "{colors.white}",
|
|
1503
|
-
"description": "containers and tiles"
|
|
1504
|
-
},
|
|
1505
|
-
"input": {
|
|
1506
|
-
"value": "{colors.white}",
|
|
1507
|
-
"description": "form inputs, textareas"
|
|
1508
|
-
},
|
|
1509
|
-
"overlay": {
|
|
1510
|
-
"value": "{colors.neutral.900} / 0.6",
|
|
1511
|
-
"description": "modals, dropdowns, flyouts"
|
|
1512
|
-
}
|
|
628
|
+
"page": "{colors.neutral.50}",
|
|
629
|
+
"card": "{colors.white}",
|
|
630
|
+
"input": "{colors.white}",
|
|
631
|
+
"overlay": "{colors.neutral.900} / 0.6"
|
|
1513
632
|
},
|
|
1514
633
|
"text": {
|
|
1515
634
|
"onPage": {
|
|
@@ -1560,7 +679,8 @@ var coreTokens = {
|
|
|
1560
679
|
"xs": {
|
|
1561
680
|
"size": "0.75rem",
|
|
1562
681
|
"lineHeight": "1.25rem",
|
|
1563
|
-
"weight": 400
|
|
682
|
+
"weight": 400,
|
|
683
|
+
"letterSpacing": "0.02em"
|
|
1564
684
|
},
|
|
1565
685
|
"sm": {
|
|
1566
686
|
"size": "0.875rem",
|
|
@@ -1575,7 +695,7 @@ var coreTokens = {
|
|
|
1575
695
|
"lg": {
|
|
1576
696
|
"size": "1.25rem",
|
|
1577
697
|
"lineHeight": "2rem",
|
|
1578
|
-
"weight":
|
|
698
|
+
"weight": 600
|
|
1579
699
|
},
|
|
1580
700
|
"xl": {
|
|
1581
701
|
"size": "1.5rem",
|
|
@@ -1585,7 +705,27 @@ var coreTokens = {
|
|
|
1585
705
|
"2xl": {
|
|
1586
706
|
"size": "1.875rem",
|
|
1587
707
|
"lineHeight": "2.5rem",
|
|
1588
|
-
"weight":
|
|
708
|
+
"weight": 700
|
|
709
|
+
},
|
|
710
|
+
"3xl": {
|
|
711
|
+
"size": "2.25rem",
|
|
712
|
+
"lineHeight": "2.75rem",
|
|
713
|
+
"weight": 700
|
|
714
|
+
},
|
|
715
|
+
"4xl": {
|
|
716
|
+
"size": "3rem",
|
|
717
|
+
"lineHeight": "3.5rem",
|
|
718
|
+
"weight": 800
|
|
719
|
+
},
|
|
720
|
+
"5xl": {
|
|
721
|
+
"size": "3.75rem",
|
|
722
|
+
"lineHeight": "4.25rem",
|
|
723
|
+
"weight": 800
|
|
724
|
+
},
|
|
725
|
+
"6xl": {
|
|
726
|
+
"size": "4.5rem",
|
|
727
|
+
"lineHeight": "5rem",
|
|
728
|
+
"weight": 900
|
|
1589
729
|
}
|
|
1590
730
|
},
|
|
1591
731
|
"typography": {
|
|
@@ -1724,6 +864,10 @@ var createCssVariableMap = (tokens2, options = {}) => {
|
|
|
1724
864
|
map[name] = resolveValue(tokens2, value);
|
|
1725
865
|
};
|
|
1726
866
|
Object.entries(baseTokens.colors).forEach(([group, scale]) => {
|
|
867
|
+
if (typeof scale === "string" || typeof scale === "number") {
|
|
868
|
+
assign(toVariableName(prefix, "color", group), scale);
|
|
869
|
+
return;
|
|
870
|
+
}
|
|
1727
871
|
Object.entries(scale).forEach(([step, value]) => {
|
|
1728
872
|
assign(toVariableName(prefix, "color", group, step), value);
|
|
1729
873
|
});
|
|
@@ -1889,15 +1033,18 @@ var generateCssVariables = (tokens2, options = {}) => {
|
|
|
1889
1033
|
addBase(toVariableName(prefix, "surface", "card"), pickSemantic(tokens2, getPath(defaultMode, ["surface", "card"]), getPath(surfaceAliases, ["card"])));
|
|
1890
1034
|
addBase(toVariableName(prefix, "surface", "input"), pickSemantic(tokens2, getPath(defaultMode, ["surface", "input"]), getPath(surfaceAliases, ["input"])));
|
|
1891
1035
|
addBase(toVariableName(prefix, "surface", "overlay"), pickSemantic(tokens2, getPath(defaultMode, ["surface", "overlay"]), getPath(surfaceAliases, ["overlay"])));
|
|
1036
|
+
addBase(toVariableName(prefix, "surface", "alternate"), pickSemantic(tokens2, getPath(defaultMode, ["surface", "alternate"])));
|
|
1892
1037
|
addBase(toVariableName(prefix, "surface", "hero"), pickSemantic(tokens2, getPath(defaultMode, ["surface", "hero"]), getPath(surfaceAliases, ["hero"])));
|
|
1893
1038
|
addBase(toVariableName(prefix, "text", "on", "page", "default"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onPage", "default"]), getPath(textAliases, ["onPage", "default"])));
|
|
1894
1039
|
addBase(toVariableName(prefix, "text", "on", "page", "muted"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onPage", "muted"]), getPath(textAliases, ["onPage", "muted"])));
|
|
1895
1040
|
addBase(toVariableName(prefix, "text", "on", "page", "subtle"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onPage", "subtle"]), getPath(textAliases, ["onPage", "subtle"])));
|
|
1896
1041
|
addBase(toVariableName(prefix, "text", "on", "page", "meta"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onPage", "meta"]), getPath(textAliases, ["onPage", "meta"])));
|
|
1042
|
+
addBase(toVariableName(prefix, "text", "on", "page", "brand"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onPage", "brand"]), getPath(textAliases, ["onPage", "brand"])));
|
|
1897
1043
|
addBase(toVariableName(prefix, "text", "on", "surface", "default"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onSurface", "default"]), getPath(textAliases, ["onSurface", "default"])));
|
|
1898
1044
|
addBase(toVariableName(prefix, "text", "on", "surface", "muted"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onSurface", "muted"]), getPath(textAliases, ["onSurface", "muted"])));
|
|
1899
1045
|
addBase(toVariableName(prefix, "text", "on", "surface", "subtle"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onSurface", "subtle"]), getPath(textAliases, ["onSurface", "subtle"])));
|
|
1900
1046
|
addBase(toVariableName(prefix, "text", "on", "surface", "meta"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onSurface", "meta"]), getPath(textAliases, ["onSurface", "meta"])));
|
|
1047
|
+
addBase(toVariableName(prefix, "text", "on", "surface", "brand"), pickSemantic(tokens2, getPath(defaultMode, ["text", "onSurface", "brand"]), getPath(textAliases, ["onSurface", "brand"])));
|
|
1901
1048
|
addBase(toVariableName(prefix, "component", "card", "text"), pickSemantic(tokens2, getPath(defaultMode, ["component", "card", "text"]), getPath(componentAliases, ["card", "text"])));
|
|
1902
1049
|
addBase(toVariableName(prefix, "component", "card", "text-muted"), pickSemantic(tokens2, getPath(defaultMode, ["component", "card", "textMuted"]), getPath(componentAliases, ["card", "textMuted"])));
|
|
1903
1050
|
addBase(toVariableName(prefix, "component", "input", "text"), pickSemantic(tokens2, getPath(defaultMode, ["component", "input", "text"]), getPath(componentAliases, ["input", "text"])));
|
|
@@ -1941,6 +1088,10 @@ var generateCssVariables = (tokens2, options = {}) => {
|
|
|
1941
1088
|
toVariableName(prefix, "surface", "overlay"),
|
|
1942
1089
|
pickSemantic(tokens2, getPath(darkMode, ["surface", "overlay"]), getPath(defaultMode, ["surface", "overlay"]), getPath(surfaceAliases, ["overlay"]))
|
|
1943
1090
|
);
|
|
1091
|
+
addDark(
|
|
1092
|
+
toVariableName(prefix, "surface", "alternate"),
|
|
1093
|
+
pickSemantic(tokens2, getPath(darkMode, ["surface", "alternate"]), getPath(defaultMode, ["surface", "alternate"]))
|
|
1094
|
+
);
|
|
1944
1095
|
addDark(
|
|
1945
1096
|
toVariableName(prefix, "surface", "hero"),
|
|
1946
1097
|
pickSemantic(tokens2, getPath(darkMode, ["surface", "hero"]), getPath(defaultMode, ["surface", "hero"]), getPath(surfaceAliases, ["hero"]))
|
|
@@ -1981,6 +1132,15 @@ var generateCssVariables = (tokens2, options = {}) => {
|
|
|
1981
1132
|
getPath(textAliases, ["onPage", "meta"])
|
|
1982
1133
|
)
|
|
1983
1134
|
);
|
|
1135
|
+
addDark(
|
|
1136
|
+
toVariableName(prefix, "text", "on", "page", "brand"),
|
|
1137
|
+
pickSemantic(
|
|
1138
|
+
tokens2,
|
|
1139
|
+
getPath(darkMode, ["text", "onPage", "brand"]),
|
|
1140
|
+
getPath(defaultMode, ["text", "onPage", "brand"]),
|
|
1141
|
+
getPath(textAliases, ["onPage", "brand"])
|
|
1142
|
+
)
|
|
1143
|
+
);
|
|
1984
1144
|
addDark(
|
|
1985
1145
|
toVariableName(prefix, "text", "on", "surface", "default"),
|
|
1986
1146
|
pickSemantic(
|
|
@@ -2017,6 +1177,15 @@ var generateCssVariables = (tokens2, options = {}) => {
|
|
|
2017
1177
|
getPath(textAliases, ["onSurface", "meta"])
|
|
2018
1178
|
)
|
|
2019
1179
|
);
|
|
1180
|
+
addDark(
|
|
1181
|
+
toVariableName(prefix, "text", "on", "surface", "brand"),
|
|
1182
|
+
pickSemantic(
|
|
1183
|
+
tokens2,
|
|
1184
|
+
getPath(darkMode, ["text", "onSurface", "brand"]),
|
|
1185
|
+
getPath(defaultMode, ["text", "onSurface", "brand"]),
|
|
1186
|
+
getPath(textAliases, ["onSurface", "brand"])
|
|
1187
|
+
)
|
|
1188
|
+
);
|
|
2020
1189
|
addDark(
|
|
2021
1190
|
toVariableName(prefix, "component", "card", "text"),
|
|
2022
1191
|
pickSemantic(
|