@halftone-ds/tokens 1.3.1 → 1.4.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 +38 -8
- package/cli.mjs +39 -6
- package/lib/contrast.mjs +50 -6
- package/lib/init.mjs +249 -0
- package/lib/resolve.mjs +13 -1
- package/lib/scan.mjs +15 -11
- package/lib/system/index.d.mts +13 -1
- package/lib/system/schema.mjs +36 -8
- package/lib/theme/apply.mjs +13 -3
- package/lib/theme/components.mjs +276 -52
- package/lib/theme/fix.mjs +26 -3
- package/lib/theme/generate.mjs +11 -1
- package/lib/theme/index.d.mts +36 -3
- package/lib/theme/index.mjs +6 -0
- package/lib/theme/semantic.mjs +27 -0
- package/lib/theme/vars.mjs +2 -4
- package/lib/usage.mjs +1 -1
- package/package.json +2 -1
- package/targets/design-md.mjs +9 -8
- package/targets/fonts.mjs +28 -1
- package/targets/llms.mjs +5 -5
- package/targets/nativewind3.mjs +40 -13
- package/targets/shadcn-web.mjs +4 -3
- package/targets/ts-theme.mjs +21 -7
- package/templates/tokens.json +2363 -0
|
@@ -0,0 +1,2363 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Single source of truth for the kit's design tokens (DTCG format). Edit this file, then run `npm run tokens:build`. Never hand-edit global.css, lib/theme.ts or tokens/generated/*. Colour values are hex; the build converts them for CSS. Semantic colour tokens carry a { light, dark } value. Numbers are px unless noted.",
|
|
3
|
+
"primitive": {
|
|
4
|
+
"color": {
|
|
5
|
+
"neutral": {
|
|
6
|
+
"0": {
|
|
7
|
+
"$type": "color",
|
|
8
|
+
"$value": "#ffffff"
|
|
9
|
+
},
|
|
10
|
+
"50": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": "#fafafa"
|
|
13
|
+
},
|
|
14
|
+
"100": {
|
|
15
|
+
"$type": "color",
|
|
16
|
+
"$value": "#f4f4f5"
|
|
17
|
+
},
|
|
18
|
+
"200": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": "#e4e4e7"
|
|
21
|
+
},
|
|
22
|
+
"300": {
|
|
23
|
+
"$type": "color",
|
|
24
|
+
"$value": "#d4d4d8"
|
|
25
|
+
},
|
|
26
|
+
"400": {
|
|
27
|
+
"$type": "color",
|
|
28
|
+
"$value": "#a1a1aa"
|
|
29
|
+
},
|
|
30
|
+
"500": {
|
|
31
|
+
"$type": "color",
|
|
32
|
+
"$value": "#71717a"
|
|
33
|
+
},
|
|
34
|
+
"600": {
|
|
35
|
+
"$type": "color",
|
|
36
|
+
"$value": "#52525b"
|
|
37
|
+
},
|
|
38
|
+
"700": {
|
|
39
|
+
"$type": "color",
|
|
40
|
+
"$value": "#3f3f46"
|
|
41
|
+
},
|
|
42
|
+
"800": {
|
|
43
|
+
"$type": "color",
|
|
44
|
+
"$value": "#27272a"
|
|
45
|
+
},
|
|
46
|
+
"900": {
|
|
47
|
+
"$type": "color",
|
|
48
|
+
"$value": "#18181b"
|
|
49
|
+
},
|
|
50
|
+
"950": {
|
|
51
|
+
"$type": "color",
|
|
52
|
+
"$value": "#09090b"
|
|
53
|
+
},
|
|
54
|
+
"1000": {
|
|
55
|
+
"$type": "color",
|
|
56
|
+
"$value": "#000000"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"brand": {
|
|
60
|
+
"50": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "#eff6ff"
|
|
63
|
+
},
|
|
64
|
+
"100": {
|
|
65
|
+
"$type": "color",
|
|
66
|
+
"$value": "#dbeafe"
|
|
67
|
+
},
|
|
68
|
+
"200": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "#bfdbfe"
|
|
71
|
+
},
|
|
72
|
+
"300": {
|
|
73
|
+
"$type": "color",
|
|
74
|
+
"$value": "#93c5fd"
|
|
75
|
+
},
|
|
76
|
+
"400": {
|
|
77
|
+
"$type": "color",
|
|
78
|
+
"$value": "#60a5fa"
|
|
79
|
+
},
|
|
80
|
+
"500": {
|
|
81
|
+
"$type": "color",
|
|
82
|
+
"$value": "#3b82f6"
|
|
83
|
+
},
|
|
84
|
+
"600": {
|
|
85
|
+
"$type": "color",
|
|
86
|
+
"$value": "#2563eb"
|
|
87
|
+
},
|
|
88
|
+
"700": {
|
|
89
|
+
"$type": "color",
|
|
90
|
+
"$value": "#1d4ed8"
|
|
91
|
+
},
|
|
92
|
+
"800": {
|
|
93
|
+
"$type": "color",
|
|
94
|
+
"$value": "#1e40af"
|
|
95
|
+
},
|
|
96
|
+
"900": {
|
|
97
|
+
"$type": "color",
|
|
98
|
+
"$value": "#1e3a8a"
|
|
99
|
+
},
|
|
100
|
+
"950": {
|
|
101
|
+
"$type": "color",
|
|
102
|
+
"$value": "#172554"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"success": {
|
|
106
|
+
"50": {
|
|
107
|
+
"$type": "color",
|
|
108
|
+
"$value": "#f0fdf4"
|
|
109
|
+
},
|
|
110
|
+
"100": {
|
|
111
|
+
"$type": "color",
|
|
112
|
+
"$value": "#dcfce7"
|
|
113
|
+
},
|
|
114
|
+
"200": {
|
|
115
|
+
"$type": "color",
|
|
116
|
+
"$value": "#bbf7d0"
|
|
117
|
+
},
|
|
118
|
+
"300": {
|
|
119
|
+
"$type": "color",
|
|
120
|
+
"$value": "#86efac"
|
|
121
|
+
},
|
|
122
|
+
"400": {
|
|
123
|
+
"$type": "color",
|
|
124
|
+
"$value": "#4ade80"
|
|
125
|
+
},
|
|
126
|
+
"500": {
|
|
127
|
+
"$type": "color",
|
|
128
|
+
"$value": "#22c55e"
|
|
129
|
+
},
|
|
130
|
+
"600": {
|
|
131
|
+
"$type": "color",
|
|
132
|
+
"$value": "#16a34a"
|
|
133
|
+
},
|
|
134
|
+
"700": {
|
|
135
|
+
"$type": "color",
|
|
136
|
+
"$value": "#15803d"
|
|
137
|
+
},
|
|
138
|
+
"800": {
|
|
139
|
+
"$type": "color",
|
|
140
|
+
"$value": "#166534"
|
|
141
|
+
},
|
|
142
|
+
"900": {
|
|
143
|
+
"$type": "color",
|
|
144
|
+
"$value": "#14532d"
|
|
145
|
+
},
|
|
146
|
+
"950": {
|
|
147
|
+
"$type": "color",
|
|
148
|
+
"$value": "#052e16"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"warning": {
|
|
152
|
+
"50": {
|
|
153
|
+
"$type": "color",
|
|
154
|
+
"$value": "#fffbeb"
|
|
155
|
+
},
|
|
156
|
+
"100": {
|
|
157
|
+
"$type": "color",
|
|
158
|
+
"$value": "#fef3c7"
|
|
159
|
+
},
|
|
160
|
+
"200": {
|
|
161
|
+
"$type": "color",
|
|
162
|
+
"$value": "#fde68a"
|
|
163
|
+
},
|
|
164
|
+
"300": {
|
|
165
|
+
"$type": "color",
|
|
166
|
+
"$value": "#fcd34d"
|
|
167
|
+
},
|
|
168
|
+
"400": {
|
|
169
|
+
"$type": "color",
|
|
170
|
+
"$value": "#fbbf24"
|
|
171
|
+
},
|
|
172
|
+
"500": {
|
|
173
|
+
"$type": "color",
|
|
174
|
+
"$value": "#f59e0b"
|
|
175
|
+
},
|
|
176
|
+
"600": {
|
|
177
|
+
"$type": "color",
|
|
178
|
+
"$value": "#d97706"
|
|
179
|
+
},
|
|
180
|
+
"700": {
|
|
181
|
+
"$type": "color",
|
|
182
|
+
"$value": "#b45309"
|
|
183
|
+
},
|
|
184
|
+
"800": {
|
|
185
|
+
"$type": "color",
|
|
186
|
+
"$value": "#92400e"
|
|
187
|
+
},
|
|
188
|
+
"900": {
|
|
189
|
+
"$type": "color",
|
|
190
|
+
"$value": "#78350f"
|
|
191
|
+
},
|
|
192
|
+
"950": {
|
|
193
|
+
"$type": "color",
|
|
194
|
+
"$value": "#451a03"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"danger": {
|
|
198
|
+
"50": {
|
|
199
|
+
"$type": "color",
|
|
200
|
+
"$value": "#fef2f2"
|
|
201
|
+
},
|
|
202
|
+
"100": {
|
|
203
|
+
"$type": "color",
|
|
204
|
+
"$value": "#fee2e2"
|
|
205
|
+
},
|
|
206
|
+
"200": {
|
|
207
|
+
"$type": "color",
|
|
208
|
+
"$value": "#fecaca"
|
|
209
|
+
},
|
|
210
|
+
"300": {
|
|
211
|
+
"$type": "color",
|
|
212
|
+
"$value": "#fca5a5"
|
|
213
|
+
},
|
|
214
|
+
"400": {
|
|
215
|
+
"$type": "color",
|
|
216
|
+
"$value": "#f87171"
|
|
217
|
+
},
|
|
218
|
+
"500": {
|
|
219
|
+
"$type": "color",
|
|
220
|
+
"$value": "#ef4444"
|
|
221
|
+
},
|
|
222
|
+
"600": {
|
|
223
|
+
"$type": "color",
|
|
224
|
+
"$value": "#dc2626"
|
|
225
|
+
},
|
|
226
|
+
"700": {
|
|
227
|
+
"$type": "color",
|
|
228
|
+
"$value": "#b91c1c"
|
|
229
|
+
},
|
|
230
|
+
"800": {
|
|
231
|
+
"$type": "color",
|
|
232
|
+
"$value": "#991b1b"
|
|
233
|
+
},
|
|
234
|
+
"900": {
|
|
235
|
+
"$type": "color",
|
|
236
|
+
"$value": "#7f1d1d"
|
|
237
|
+
},
|
|
238
|
+
"950": {
|
|
239
|
+
"$type": "color",
|
|
240
|
+
"$value": "#450a0a"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"info": {
|
|
244
|
+
"50": {
|
|
245
|
+
"$type": "color",
|
|
246
|
+
"$value": "#f0f9ff"
|
|
247
|
+
},
|
|
248
|
+
"100": {
|
|
249
|
+
"$type": "color",
|
|
250
|
+
"$value": "#e0f2fe"
|
|
251
|
+
},
|
|
252
|
+
"200": {
|
|
253
|
+
"$type": "color",
|
|
254
|
+
"$value": "#bae6fd"
|
|
255
|
+
},
|
|
256
|
+
"300": {
|
|
257
|
+
"$type": "color",
|
|
258
|
+
"$value": "#7dd3fc"
|
|
259
|
+
},
|
|
260
|
+
"400": {
|
|
261
|
+
"$type": "color",
|
|
262
|
+
"$value": "#38bdf8"
|
|
263
|
+
},
|
|
264
|
+
"500": {
|
|
265
|
+
"$type": "color",
|
|
266
|
+
"$value": "#0ea5e9"
|
|
267
|
+
},
|
|
268
|
+
"600": {
|
|
269
|
+
"$type": "color",
|
|
270
|
+
"$value": "#0284c7"
|
|
271
|
+
},
|
|
272
|
+
"700": {
|
|
273
|
+
"$type": "color",
|
|
274
|
+
"$value": "#0369a1"
|
|
275
|
+
},
|
|
276
|
+
"800": {
|
|
277
|
+
"$type": "color",
|
|
278
|
+
"$value": "#075985"
|
|
279
|
+
},
|
|
280
|
+
"900": {
|
|
281
|
+
"$type": "color",
|
|
282
|
+
"$value": "#0c4a6e"
|
|
283
|
+
},
|
|
284
|
+
"950": {
|
|
285
|
+
"$type": "color",
|
|
286
|
+
"$value": "#082f49"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"space": {
|
|
291
|
+
"0": {
|
|
292
|
+
"$type": "number",
|
|
293
|
+
"$value": 0
|
|
294
|
+
},
|
|
295
|
+
"1": {
|
|
296
|
+
"$type": "number",
|
|
297
|
+
"$value": 4
|
|
298
|
+
},
|
|
299
|
+
"2": {
|
|
300
|
+
"$type": "number",
|
|
301
|
+
"$value": 8
|
|
302
|
+
},
|
|
303
|
+
"3": {
|
|
304
|
+
"$type": "number",
|
|
305
|
+
"$value": 12
|
|
306
|
+
},
|
|
307
|
+
"4": {
|
|
308
|
+
"$type": "number",
|
|
309
|
+
"$value": 16
|
|
310
|
+
},
|
|
311
|
+
"5": {
|
|
312
|
+
"$type": "number",
|
|
313
|
+
"$value": 20
|
|
314
|
+
},
|
|
315
|
+
"6": {
|
|
316
|
+
"$type": "number",
|
|
317
|
+
"$value": 24
|
|
318
|
+
},
|
|
319
|
+
"8": {
|
|
320
|
+
"$type": "number",
|
|
321
|
+
"$value": 32
|
|
322
|
+
},
|
|
323
|
+
"10": {
|
|
324
|
+
"$type": "number",
|
|
325
|
+
"$value": 40
|
|
326
|
+
},
|
|
327
|
+
"12": {
|
|
328
|
+
"$type": "number",
|
|
329
|
+
"$value": 48
|
|
330
|
+
},
|
|
331
|
+
"16": {
|
|
332
|
+
"$type": "number",
|
|
333
|
+
"$value": 64
|
|
334
|
+
},
|
|
335
|
+
"$description": "4-pt grid. Tailwind's numeric scale (p-1 = 4, p-4 = 16) is the vocabulary; these are the allowed steps."
|
|
336
|
+
},
|
|
337
|
+
"radius": {
|
|
338
|
+
"sm": {
|
|
339
|
+
"$type": "number",
|
|
340
|
+
"$value": 6
|
|
341
|
+
},
|
|
342
|
+
"md": {
|
|
343
|
+
"$type": "number",
|
|
344
|
+
"$value": 8
|
|
345
|
+
},
|
|
346
|
+
"lg": {
|
|
347
|
+
"$type": "number",
|
|
348
|
+
"$value": 10
|
|
349
|
+
},
|
|
350
|
+
"xl": {
|
|
351
|
+
"$type": "number",
|
|
352
|
+
"$value": 16
|
|
353
|
+
},
|
|
354
|
+
"2xl": {
|
|
355
|
+
"$type": "number",
|
|
356
|
+
"$value": 20
|
|
357
|
+
},
|
|
358
|
+
"full": {
|
|
359
|
+
"$type": "number",
|
|
360
|
+
"$value": 9999
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"font": {
|
|
364
|
+
"family": {
|
|
365
|
+
"$description": "Empty string = platform system font (SF on iOS, Roboto on Android). To use a brand font, embed it with the expo-font config plugin (see README › Branding) and put the family name here.",
|
|
366
|
+
"sans": {
|
|
367
|
+
"$type": "fontFamily",
|
|
368
|
+
"$value": ""
|
|
369
|
+
},
|
|
370
|
+
"mono": {
|
|
371
|
+
"$type": "fontFamily",
|
|
372
|
+
"$value": "Menlo"
|
|
373
|
+
},
|
|
374
|
+
"heading": {
|
|
375
|
+
"$type": "fontFamily",
|
|
376
|
+
"$description": "Headings (Text h1–h4, titles). Empty = the platform system font.",
|
|
377
|
+
"$value": ""
|
|
378
|
+
},
|
|
379
|
+
"body": {
|
|
380
|
+
"$type": "fontFamily",
|
|
381
|
+
"$description": "Everything else. Empty = the platform system font.",
|
|
382
|
+
"$value": ""
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"size": {
|
|
386
|
+
"xs": {
|
|
387
|
+
"$type": "number",
|
|
388
|
+
"$value": 12
|
|
389
|
+
},
|
|
390
|
+
"sm": {
|
|
391
|
+
"$type": "number",
|
|
392
|
+
"$value": 14
|
|
393
|
+
},
|
|
394
|
+
"base": {
|
|
395
|
+
"$type": "number",
|
|
396
|
+
"$value": 16
|
|
397
|
+
},
|
|
398
|
+
"lg": {
|
|
399
|
+
"$type": "number",
|
|
400
|
+
"$value": 18
|
|
401
|
+
},
|
|
402
|
+
"xl": {
|
|
403
|
+
"$type": "number",
|
|
404
|
+
"$value": 20
|
|
405
|
+
},
|
|
406
|
+
"2xl": {
|
|
407
|
+
"$type": "number",
|
|
408
|
+
"$value": 24
|
|
409
|
+
},
|
|
410
|
+
"3xl": {
|
|
411
|
+
"$type": "number",
|
|
412
|
+
"$value": 30
|
|
413
|
+
},
|
|
414
|
+
"4xl": {
|
|
415
|
+
"$type": "number",
|
|
416
|
+
"$value": 36
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"duration": {
|
|
421
|
+
"$description": "Milliseconds.",
|
|
422
|
+
"fast": {
|
|
423
|
+
"$type": "number",
|
|
424
|
+
"$value": 150
|
|
425
|
+
},
|
|
426
|
+
"base": {
|
|
427
|
+
"$type": "number",
|
|
428
|
+
"$value": 200
|
|
429
|
+
},
|
|
430
|
+
"slow": {
|
|
431
|
+
"$type": "number",
|
|
432
|
+
"$value": 300
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"easing": {
|
|
436
|
+
"standard": {
|
|
437
|
+
"$type": "cubicBezier",
|
|
438
|
+
"$value": [
|
|
439
|
+
0.2,
|
|
440
|
+
0,
|
|
441
|
+
0,
|
|
442
|
+
1
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
"emphasized": {
|
|
446
|
+
"$type": "cubicBezier",
|
|
447
|
+
"$value": [
|
|
448
|
+
0.3,
|
|
449
|
+
0,
|
|
450
|
+
0,
|
|
451
|
+
1
|
|
452
|
+
]
|
|
453
|
+
},
|
|
454
|
+
"exit": {
|
|
455
|
+
"$type": "cubicBezier",
|
|
456
|
+
"$value": [
|
|
457
|
+
0.4,
|
|
458
|
+
0,
|
|
459
|
+
1,
|
|
460
|
+
1
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"semantic": {
|
|
466
|
+
"$description": "The only tokens components may use. Names follow the shadcn/ui vocabulary so react-native-reusables components, Figma kits and LLM output all agree. Each colour has a light and a dark value.",
|
|
467
|
+
"color": {
|
|
468
|
+
"background": {
|
|
469
|
+
"$type": "color",
|
|
470
|
+
"$value": {
|
|
471
|
+
"light": "{primitive.color.neutral.0}",
|
|
472
|
+
"dark": "{primitive.color.neutral.950}"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"foreground": {
|
|
476
|
+
"$type": "color",
|
|
477
|
+
"$value": {
|
|
478
|
+
"light": "{primitive.color.neutral.950}",
|
|
479
|
+
"dark": "{primitive.color.neutral.50}"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"card": {
|
|
483
|
+
"$type": "color",
|
|
484
|
+
"$value": {
|
|
485
|
+
"light": "{primitive.color.neutral.0}",
|
|
486
|
+
"dark": "{primitive.color.neutral.900}"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"card-foreground": {
|
|
490
|
+
"$type": "color",
|
|
491
|
+
"$value": {
|
|
492
|
+
"light": "{primitive.color.neutral.950}",
|
|
493
|
+
"dark": "{primitive.color.neutral.50}"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"popover": {
|
|
497
|
+
"$type": "color",
|
|
498
|
+
"$value": {
|
|
499
|
+
"light": "{primitive.color.neutral.0}",
|
|
500
|
+
"dark": "{primitive.color.neutral.900}"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"popover-foreground": {
|
|
504
|
+
"$type": "color",
|
|
505
|
+
"$value": {
|
|
506
|
+
"light": "{primitive.color.neutral.950}",
|
|
507
|
+
"dark": "{primitive.color.neutral.50}"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"primary": {
|
|
511
|
+
"$type": "color",
|
|
512
|
+
"$value": {
|
|
513
|
+
"light": "{primitive.color.brand.600}",
|
|
514
|
+
"dark": "#448bff"
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
"primary-foreground": {
|
|
518
|
+
"$type": "color",
|
|
519
|
+
"$value": {
|
|
520
|
+
"light": "{primitive.color.neutral.0}",
|
|
521
|
+
"dark": "{primitive.color.neutral.950}"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"secondary": {
|
|
525
|
+
"$type": "color",
|
|
526
|
+
"$value": {
|
|
527
|
+
"light": "{primitive.color.neutral.100}",
|
|
528
|
+
"dark": "{primitive.color.neutral.800}"
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"secondary-foreground": {
|
|
532
|
+
"$type": "color",
|
|
533
|
+
"$value": {
|
|
534
|
+
"light": "{primitive.color.neutral.900}",
|
|
535
|
+
"dark": "{primitive.color.neutral.50}"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"muted": {
|
|
539
|
+
"$type": "color",
|
|
540
|
+
"$value": {
|
|
541
|
+
"light": "{primitive.color.neutral.100}",
|
|
542
|
+
"dark": "{primitive.color.neutral.800}"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"muted-foreground": {
|
|
546
|
+
"$type": "color",
|
|
547
|
+
"$value": {
|
|
548
|
+
"light": "{primitive.color.neutral.600}",
|
|
549
|
+
"dark": "{primitive.color.neutral.400}"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
"accent": {
|
|
553
|
+
"$type": "color",
|
|
554
|
+
"$value": {
|
|
555
|
+
"light": "{primitive.color.neutral.100}",
|
|
556
|
+
"dark": "{primitive.color.neutral.800}"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"accent-foreground": {
|
|
560
|
+
"$type": "color",
|
|
561
|
+
"$value": {
|
|
562
|
+
"light": "{primitive.color.neutral.900}",
|
|
563
|
+
"dark": "{primitive.color.neutral.50}"
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"destructive": {
|
|
567
|
+
"$type": "color",
|
|
568
|
+
"$value": {
|
|
569
|
+
"light": "#d92223",
|
|
570
|
+
"dark": "#fb504e"
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"destructive-foreground": {
|
|
574
|
+
"$type": "color",
|
|
575
|
+
"$value": {
|
|
576
|
+
"light": "{primitive.color.neutral.0}",
|
|
577
|
+
"dark": "{primitive.color.neutral.950}"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"success": {
|
|
581
|
+
"$type": "color",
|
|
582
|
+
"$value": {
|
|
583
|
+
"light": "{primitive.color.success.700}",
|
|
584
|
+
"dark": "{primitive.color.success.500}"
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
"success-foreground": {
|
|
588
|
+
"$type": "color",
|
|
589
|
+
"$value": {
|
|
590
|
+
"light": "{primitive.color.neutral.0}",
|
|
591
|
+
"dark": "{primitive.color.neutral.950}"
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"warning": {
|
|
595
|
+
"$type": "color",
|
|
596
|
+
"$value": {
|
|
597
|
+
"light": "{primitive.color.warning.700}",
|
|
598
|
+
"dark": "{primitive.color.warning.400}"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"warning-foreground": {
|
|
602
|
+
"$type": "color",
|
|
603
|
+
"$value": {
|
|
604
|
+
"light": "{primitive.color.neutral.0}",
|
|
605
|
+
"dark": "{primitive.color.neutral.950}"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"info": {
|
|
609
|
+
"$type": "color",
|
|
610
|
+
"$value": {
|
|
611
|
+
"light": "{primitive.color.info.700}",
|
|
612
|
+
"dark": "{primitive.color.info.500}"
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"info-foreground": {
|
|
616
|
+
"$type": "color",
|
|
617
|
+
"$value": {
|
|
618
|
+
"light": "{primitive.color.neutral.0}",
|
|
619
|
+
"dark": "{primitive.color.neutral.950}"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"border": {
|
|
623
|
+
"$type": "color",
|
|
624
|
+
"$value": {
|
|
625
|
+
"light": "{primitive.color.neutral.200}",
|
|
626
|
+
"dark": "{primitive.color.neutral.800}"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"input": {
|
|
630
|
+
"$type": "color",
|
|
631
|
+
"$value": {
|
|
632
|
+
"light": "{primitive.color.neutral.200}",
|
|
633
|
+
"dark": "{primitive.color.neutral.800}"
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"ring": {
|
|
637
|
+
"$type": "color",
|
|
638
|
+
"$value": {
|
|
639
|
+
"light": "{primitive.color.brand.600}",
|
|
640
|
+
"dark": "#448bff"
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
"sidebar": {
|
|
644
|
+
"$type": "color",
|
|
645
|
+
"$value": {
|
|
646
|
+
"light": "{primitive.color.neutral.50}",
|
|
647
|
+
"dark": "{primitive.color.neutral.900}"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"sidebar-foreground": {
|
|
651
|
+
"$type": "color",
|
|
652
|
+
"$value": {
|
|
653
|
+
"light": "{primitive.color.neutral.950}",
|
|
654
|
+
"dark": "{primitive.color.neutral.50}"
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
"sidebar-primary": {
|
|
658
|
+
"$type": "color",
|
|
659
|
+
"$value": {
|
|
660
|
+
"light": "{primitive.color.brand.600}",
|
|
661
|
+
"dark": "#448bff"
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
"sidebar-primary-foreground": {
|
|
665
|
+
"$type": "color",
|
|
666
|
+
"$value": {
|
|
667
|
+
"light": "{primitive.color.neutral.0}",
|
|
668
|
+
"dark": "{primitive.color.neutral.950}"
|
|
669
|
+
}
|
|
670
|
+
},
|
|
671
|
+
"sidebar-accent": {
|
|
672
|
+
"$type": "color",
|
|
673
|
+
"$value": {
|
|
674
|
+
"light": "{primitive.color.neutral.100}",
|
|
675
|
+
"dark": "{primitive.color.neutral.800}"
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
"sidebar-accent-foreground": {
|
|
679
|
+
"$type": "color",
|
|
680
|
+
"$value": {
|
|
681
|
+
"light": "{primitive.color.neutral.900}",
|
|
682
|
+
"dark": "{primitive.color.neutral.50}"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"sidebar-border": {
|
|
686
|
+
"$type": "color",
|
|
687
|
+
"$value": {
|
|
688
|
+
"light": "{primitive.color.neutral.200}",
|
|
689
|
+
"dark": "{primitive.color.neutral.800}"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"sidebar-ring": {
|
|
693
|
+
"$type": "color",
|
|
694
|
+
"$value": {
|
|
695
|
+
"light": "{primitive.color.brand.600}",
|
|
696
|
+
"dark": "#448bff"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"chart-1": {
|
|
700
|
+
"$type": "color",
|
|
701
|
+
"$value": {
|
|
702
|
+
"light": "{primitive.color.brand.500}",
|
|
703
|
+
"dark": "{primitive.color.brand.400}"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"chart-2": {
|
|
707
|
+
"$type": "color",
|
|
708
|
+
"$value": {
|
|
709
|
+
"light": "{primitive.color.success.500}",
|
|
710
|
+
"dark": "{primitive.color.success.400}"
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
"chart-3": {
|
|
714
|
+
"$type": "color",
|
|
715
|
+
"$value": {
|
|
716
|
+
"light": "{primitive.color.warning.500}",
|
|
717
|
+
"dark": "{primitive.color.warning.400}"
|
|
718
|
+
}
|
|
719
|
+
},
|
|
720
|
+
"chart-4": {
|
|
721
|
+
"$type": "color",
|
|
722
|
+
"$value": {
|
|
723
|
+
"light": "{primitive.color.danger.500}",
|
|
724
|
+
"dark": "{primitive.color.danger.400}"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"chart-5": {
|
|
728
|
+
"$type": "color",
|
|
729
|
+
"$value": {
|
|
730
|
+
"light": "{primitive.color.info.500}",
|
|
731
|
+
"dark": "{primitive.color.info.400}"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"button": {
|
|
735
|
+
"$type": "color",
|
|
736
|
+
"$description": "The primary button: bg-button (its alpha is button.alpha). Follows the theme's button style.",
|
|
737
|
+
"$value": {
|
|
738
|
+
"light": "{primitive.color.brand.600}",
|
|
739
|
+
"dark": "#448bff"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
"button-foreground": {
|
|
743
|
+
"$type": "color",
|
|
744
|
+
"$description": "Text and icons on the primary button: text-button-foreground.",
|
|
745
|
+
"$value": {
|
|
746
|
+
"light": "{primitive.color.neutral.0}",
|
|
747
|
+
"dark": "{primitive.color.neutral.950}"
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"button-edge": {
|
|
751
|
+
"$type": "color",
|
|
752
|
+
"$description": "The primary button's border and bottom edge: border-button-edge.",
|
|
753
|
+
"$value": {
|
|
754
|
+
"light": "{primitive.color.brand.600}",
|
|
755
|
+
"dark": "#448bff"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"field": {
|
|
759
|
+
"$type": "color",
|
|
760
|
+
"$description": "Text fields: bg-field (its alpha is field.alpha). Follows the theme's field style.",
|
|
761
|
+
"$value": {
|
|
762
|
+
"light": "{primitive.color.neutral.200}",
|
|
763
|
+
"dark": "{primitive.color.neutral.800}"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"field-edge": {
|
|
767
|
+
"$type": "color",
|
|
768
|
+
"$description": "Text fields' border or bottom line: border-field-edge.",
|
|
769
|
+
"$value": {
|
|
770
|
+
"light": "{primitive.color.neutral.200}",
|
|
771
|
+
"dark": "{primitive.color.neutral.800}"
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"muted-subtle": {
|
|
775
|
+
"$type": "color",
|
|
776
|
+
"$value": {
|
|
777
|
+
"light": "{primitive.color.neutral.50}",
|
|
778
|
+
"dark": "{primitive.color.neutral.900}"
|
|
779
|
+
}
|
|
780
|
+
},
|
|
781
|
+
"primary-subtle": {
|
|
782
|
+
"$type": "color",
|
|
783
|
+
"$value": {
|
|
784
|
+
"light": "{primitive.color.brand.100}",
|
|
785
|
+
"dark": "{primitive.color.brand.950}"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
"primary-border": {
|
|
789
|
+
"$type": "color",
|
|
790
|
+
"$value": {
|
|
791
|
+
"light": "{primitive.color.brand.300}",
|
|
792
|
+
"dark": "{primitive.color.brand.900}"
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
"success-subtle": {
|
|
796
|
+
"$type": "color",
|
|
797
|
+
"$value": {
|
|
798
|
+
"light": "{primitive.color.success.100}",
|
|
799
|
+
"dark": "{primitive.color.success.950}"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"success-border": {
|
|
803
|
+
"$type": "color",
|
|
804
|
+
"$value": {
|
|
805
|
+
"light": "{primitive.color.success.300}",
|
|
806
|
+
"dark": "{primitive.color.success.900}"
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
"warning-subtle": {
|
|
810
|
+
"$type": "color",
|
|
811
|
+
"$value": {
|
|
812
|
+
"light": "{primitive.color.warning.100}",
|
|
813
|
+
"dark": "{primitive.color.warning.950}"
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
"warning-border": {
|
|
817
|
+
"$type": "color",
|
|
818
|
+
"$value": {
|
|
819
|
+
"light": "{primitive.color.warning.300}",
|
|
820
|
+
"dark": "{primitive.color.warning.900}"
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"destructive-subtle": {
|
|
824
|
+
"$type": "color",
|
|
825
|
+
"$value": {
|
|
826
|
+
"light": "{primitive.color.danger.100}",
|
|
827
|
+
"dark": "{primitive.color.danger.950}"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"destructive-border": {
|
|
831
|
+
"$type": "color",
|
|
832
|
+
"$value": {
|
|
833
|
+
"light": "{primitive.color.danger.300}",
|
|
834
|
+
"dark": "{primitive.color.danger.900}"
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
"info-subtle": {
|
|
838
|
+
"$type": "color",
|
|
839
|
+
"$value": {
|
|
840
|
+
"light": "{primitive.color.info.100}",
|
|
841
|
+
"dark": "{primitive.color.info.950}"
|
|
842
|
+
}
|
|
843
|
+
},
|
|
844
|
+
"info-border": {
|
|
845
|
+
"$type": "color",
|
|
846
|
+
"$value": {
|
|
847
|
+
"light": "{primitive.color.info.300}",
|
|
848
|
+
"dark": "{primitive.color.info.900}"
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
"primary-pressed": {
|
|
852
|
+
"$type": "color",
|
|
853
|
+
"$value": {
|
|
854
|
+
"light": "{primitive.color.brand.700}",
|
|
855
|
+
"dark": "{primitive.color.brand.400}"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"secondary-pressed": {
|
|
859
|
+
"$type": "color",
|
|
860
|
+
"$value": {
|
|
861
|
+
"light": "{primitive.color.neutral.200}",
|
|
862
|
+
"dark": "{primitive.color.neutral.700}"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"radius": {
|
|
867
|
+
"$description": "Base corner radius; Tailwind derives rounded-sm/md/lg/xl from it.",
|
|
868
|
+
"base": {
|
|
869
|
+
"$type": "number",
|
|
870
|
+
"$value": "{primitive.radius.lg}"
|
|
871
|
+
},
|
|
872
|
+
"control": {
|
|
873
|
+
"$type": "number",
|
|
874
|
+
"$description": "Corner radius of controls (buttons, inputs, chips): rounded-control. 9999 = pills.",
|
|
875
|
+
"$value": 9999
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"border": {
|
|
879
|
+
"width": {
|
|
880
|
+
"$type": "number",
|
|
881
|
+
"$description": "Width of `border` (px). border-2 and border-hairline stay explicit.",
|
|
882
|
+
"$value": 1
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"icon": {
|
|
886
|
+
"stroke": {
|
|
887
|
+
"$type": "number",
|
|
888
|
+
"$description": "Lucide stroke width; an icon's own strokeWidth is relative to 2.",
|
|
889
|
+
"$value": 2
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
"shadow": {
|
|
893
|
+
"1": {
|
|
894
|
+
"$type": "shadow",
|
|
895
|
+
"$description": "shadow-xs / shadow-sm / shadow: controls and cards.",
|
|
896
|
+
"$value": {
|
|
897
|
+
"light": [
|
|
898
|
+
{
|
|
899
|
+
"offsetX": 0,
|
|
900
|
+
"offsetY": 1,
|
|
901
|
+
"blur": 2,
|
|
902
|
+
"spread": 0,
|
|
903
|
+
"color": "#0000000d"
|
|
904
|
+
}
|
|
905
|
+
],
|
|
906
|
+
"dark": [
|
|
907
|
+
{
|
|
908
|
+
"offsetX": 0,
|
|
909
|
+
"offsetY": 1,
|
|
910
|
+
"blur": 2,
|
|
911
|
+
"spread": 0,
|
|
912
|
+
"color": "#0000004d"
|
|
913
|
+
}
|
|
914
|
+
]
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
"2": {
|
|
918
|
+
"$type": "shadow",
|
|
919
|
+
"$description": "shadow-md: raised cards and popovers.",
|
|
920
|
+
"$value": {
|
|
921
|
+
"light": [
|
|
922
|
+
{
|
|
923
|
+
"offsetX": 0,
|
|
924
|
+
"offsetY": 4,
|
|
925
|
+
"blur": 12,
|
|
926
|
+
"spread": -2,
|
|
927
|
+
"color": "#00000014"
|
|
928
|
+
}
|
|
929
|
+
],
|
|
930
|
+
"dark": [
|
|
931
|
+
{
|
|
932
|
+
"offsetX": 0,
|
|
933
|
+
"offsetY": 4,
|
|
934
|
+
"blur": 12,
|
|
935
|
+
"spread": -2,
|
|
936
|
+
"color": "#00000066"
|
|
937
|
+
}
|
|
938
|
+
]
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
"3": {
|
|
942
|
+
"$type": "shadow",
|
|
943
|
+
"$description": "shadow-lg / shadow-xl: menus, dialogs, floating buttons.",
|
|
944
|
+
"$value": {
|
|
945
|
+
"light": [
|
|
946
|
+
{
|
|
947
|
+
"offsetX": 0,
|
|
948
|
+
"offsetY": 12,
|
|
949
|
+
"blur": 24,
|
|
950
|
+
"spread": -6,
|
|
951
|
+
"color": "#0000001f"
|
|
952
|
+
}
|
|
953
|
+
],
|
|
954
|
+
"dark": [
|
|
955
|
+
{
|
|
956
|
+
"offsetX": 0,
|
|
957
|
+
"offsetY": 12,
|
|
958
|
+
"blur": 24,
|
|
959
|
+
"spread": -6,
|
|
960
|
+
"color": "#00000080"
|
|
961
|
+
}
|
|
962
|
+
]
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"density": {
|
|
967
|
+
"scale": {
|
|
968
|
+
"$type": "number",
|
|
969
|
+
"$description": "Web: multiplies the spacing scale (Tailwind 4 --spacing). Mobile: see density.control.",
|
|
970
|
+
"$value": 1
|
|
971
|
+
},
|
|
972
|
+
"control": {
|
|
973
|
+
"sm": {
|
|
974
|
+
"$type": "number",
|
|
975
|
+
"$description": "Mobile: small control height (h-control-sm), px.",
|
|
976
|
+
"$value": 40
|
|
977
|
+
},
|
|
978
|
+
"md": {
|
|
979
|
+
"$type": "number",
|
|
980
|
+
"$description": "Mobile: control height (h-control): buttons, inputs, selects, px.",
|
|
981
|
+
"$value": 48
|
|
982
|
+
},
|
|
983
|
+
"lg": {
|
|
984
|
+
"$type": "number",
|
|
985
|
+
"$description": "Mobile: large control height (h-control-lg), px.",
|
|
986
|
+
"$value": 56
|
|
987
|
+
},
|
|
988
|
+
"x": {
|
|
989
|
+
"$type": "number",
|
|
990
|
+
"$description": "Mobile: control horizontal padding (px-control-x), px.",
|
|
991
|
+
"$value": 20
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"type": {
|
|
996
|
+
"size": {
|
|
997
|
+
"$type": "number",
|
|
998
|
+
"$description": "Typeset: body text size (px). Every text size (text-xs…4xl) scales by size / 16.",
|
|
999
|
+
"$value": 16
|
|
1000
|
+
},
|
|
1001
|
+
"leading": {
|
|
1002
|
+
"$type": "number",
|
|
1003
|
+
"$description": "Typeset: line height of running text (× size); the text sizes' line heights scale by leading / 1.75.",
|
|
1004
|
+
"$value": 1.75
|
|
1005
|
+
},
|
|
1006
|
+
"flow": {
|
|
1007
|
+
"$type": "number",
|
|
1008
|
+
"$description": "Typeset: space between blocks of long-form text (Prose), em.",
|
|
1009
|
+
"$value": 1.25
|
|
1010
|
+
},
|
|
1011
|
+
"measure": {
|
|
1012
|
+
"$type": "number",
|
|
1013
|
+
"$description": "Typeset: the longest line of long-form text (Prose), characters.",
|
|
1014
|
+
"$value": 70
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
"button": {
|
|
1018
|
+
"alpha": {
|
|
1019
|
+
"$type": "number",
|
|
1020
|
+
"$description": "Opacity of the primary button's fill (0 = an outline button).",
|
|
1021
|
+
"$value": 1
|
|
1022
|
+
},
|
|
1023
|
+
"border-width": {
|
|
1024
|
+
"$type": "number",
|
|
1025
|
+
"$description": "Primary button border, every side (px).",
|
|
1026
|
+
"$value": 0
|
|
1027
|
+
},
|
|
1028
|
+
"edge-width": {
|
|
1029
|
+
"$type": "number",
|
|
1030
|
+
"$description": "Primary button bottom edge (px); raised buttons have a thicker, darker one.",
|
|
1031
|
+
"$value": 0
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
"field": {
|
|
1035
|
+
"alpha": {
|
|
1036
|
+
"$type": "number",
|
|
1037
|
+
"$description": "Opacity of a text field's fill, per mode.",
|
|
1038
|
+
"$value": {
|
|
1039
|
+
"light": 0,
|
|
1040
|
+
"dark": 0.3
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"border-width": {
|
|
1044
|
+
"$type": "number",
|
|
1045
|
+
"$description": "Text field border, top and sides (px).",
|
|
1046
|
+
"$value": 1
|
|
1047
|
+
},
|
|
1048
|
+
"edge-width": {
|
|
1049
|
+
"$type": "number",
|
|
1050
|
+
"$description": "Text field bottom border (px).",
|
|
1051
|
+
"$value": 1
|
|
1052
|
+
},
|
|
1053
|
+
"round": {
|
|
1054
|
+
"$type": "number",
|
|
1055
|
+
"$description": "1 = text fields take the md radius on top, 0 = square.",
|
|
1056
|
+
"$value": 1
|
|
1057
|
+
},
|
|
1058
|
+
"round-bottom": {
|
|
1059
|
+
"$type": "number",
|
|
1060
|
+
"$description": "1 = text fields take the md radius at the bottom, 0 = square.",
|
|
1061
|
+
"$value": 1
|
|
1062
|
+
},
|
|
1063
|
+
"inset": {
|
|
1064
|
+
"$type": "number",
|
|
1065
|
+
"$description": "1 = text fields have inner padding, 0 = flush (underline fields).",
|
|
1066
|
+
"$value": 1
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
"component": {
|
|
1070
|
+
"button": {
|
|
1071
|
+
"radius": {
|
|
1072
|
+
"$type": "number",
|
|
1073
|
+
"$description": "Button: corner radius (px; 9999 = a pill).",
|
|
1074
|
+
"$value": 9999
|
|
1075
|
+
},
|
|
1076
|
+
"height": {
|
|
1077
|
+
"sm": {
|
|
1078
|
+
"$type": "number",
|
|
1079
|
+
"$description": "Button: small height (px; phones raise a touch target under 44 to 44).",
|
|
1080
|
+
"$value": 40
|
|
1081
|
+
},
|
|
1082
|
+
"md": {
|
|
1083
|
+
"$type": "number",
|
|
1084
|
+
"$description": "Button: height (px; phones raise a touch target under 44 to 44).",
|
|
1085
|
+
"$value": 48
|
|
1086
|
+
},
|
|
1087
|
+
"lg": {
|
|
1088
|
+
"$type": "number",
|
|
1089
|
+
"$description": "Button: large height (px).",
|
|
1090
|
+
"$value": 56
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
"x": {
|
|
1094
|
+
"sm": {
|
|
1095
|
+
"$type": "number",
|
|
1096
|
+
"$description": "Button: small horizontal padding (px).",
|
|
1097
|
+
"$value": 16
|
|
1098
|
+
},
|
|
1099
|
+
"md": {
|
|
1100
|
+
"$type": "number",
|
|
1101
|
+
"$description": "Button: horizontal padding (px).",
|
|
1102
|
+
"$value": 20
|
|
1103
|
+
},
|
|
1104
|
+
"lg": {
|
|
1105
|
+
"$type": "number",
|
|
1106
|
+
"$description": "Button: large horizontal padding (px).",
|
|
1107
|
+
"$value": 24
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
"text": {
|
|
1111
|
+
"size": {
|
|
1112
|
+
"$type": "number",
|
|
1113
|
+
"$description": "Button: text size (px), from its text style.",
|
|
1114
|
+
"$value": 16
|
|
1115
|
+
},
|
|
1116
|
+
"leading": {
|
|
1117
|
+
"$type": "number",
|
|
1118
|
+
"$description": "Button: line height (px), fitted to the control.",
|
|
1119
|
+
"$value": 24
|
|
1120
|
+
},
|
|
1121
|
+
"tracking": {
|
|
1122
|
+
"$type": "number",
|
|
1123
|
+
"$description": "Button: letter spacing (em).",
|
|
1124
|
+
"$value": 0
|
|
1125
|
+
},
|
|
1126
|
+
"font": {
|
|
1127
|
+
"$type": "fontFamily",
|
|
1128
|
+
"$description": "Button: the text style's font.",
|
|
1129
|
+
"$value": "{primitive.font.family.body}"
|
|
1130
|
+
},
|
|
1131
|
+
"weight": {
|
|
1132
|
+
"$type": "fontWeight",
|
|
1133
|
+
"$description": "Button: the label's font weight.",
|
|
1134
|
+
"$value": 500
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"alpha": {
|
|
1138
|
+
"$type": "number",
|
|
1139
|
+
"$description": "Button: the style's fill opacity.",
|
|
1140
|
+
"$value": 1
|
|
1141
|
+
},
|
|
1142
|
+
"border-width": {
|
|
1143
|
+
"$type": "number",
|
|
1144
|
+
"$description": "Button: border width (px).",
|
|
1145
|
+
"$value": 0
|
|
1146
|
+
},
|
|
1147
|
+
"edge-width": {
|
|
1148
|
+
"$type": "number",
|
|
1149
|
+
"$description": "Button: bottom edge width (px).",
|
|
1150
|
+
"$value": 0
|
|
1151
|
+
},
|
|
1152
|
+
"primary": {
|
|
1153
|
+
"fill": {
|
|
1154
|
+
"$type": "color",
|
|
1155
|
+
"$description": "Button primary: fill colour (a role).",
|
|
1156
|
+
"$value": {
|
|
1157
|
+
"light": "{semantic.color.button}",
|
|
1158
|
+
"dark": "{semantic.color.button}"
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
"fill-alpha": {
|
|
1162
|
+
"$type": "number",
|
|
1163
|
+
"$description": "Button primary: fill opacity.",
|
|
1164
|
+
"$value": 1
|
|
1165
|
+
},
|
|
1166
|
+
"label": {
|
|
1167
|
+
"$type": "color",
|
|
1168
|
+
"$description": "Button primary: label colour (a role).",
|
|
1169
|
+
"$value": {
|
|
1170
|
+
"light": "{semantic.color.button-foreground}",
|
|
1171
|
+
"dark": "{semantic.color.button-foreground}"
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
"border": {
|
|
1175
|
+
"$type": "color",
|
|
1176
|
+
"$description": "Button primary: border colour (a role).",
|
|
1177
|
+
"$value": {
|
|
1178
|
+
"light": "{semantic.color.button-edge}",
|
|
1179
|
+
"dark": "{semantic.color.button-edge}"
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
"border-alpha": {
|
|
1183
|
+
"$type": "number",
|
|
1184
|
+
"$description": "Button primary: border opacity.",
|
|
1185
|
+
"$value": 1
|
|
1186
|
+
},
|
|
1187
|
+
"pressed": {
|
|
1188
|
+
"$type": "color",
|
|
1189
|
+
"$description": "Button primary: pressed and hover fill (derived from the fill unless set).",
|
|
1190
|
+
"$value": {
|
|
1191
|
+
"light": "{primitive.color.brand.700}",
|
|
1192
|
+
"dark": "{primitive.color.brand.400}"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
"pressed-alpha": {
|
|
1196
|
+
"$type": "number",
|
|
1197
|
+
"$description": "Button primary: pressed and hover opacity.",
|
|
1198
|
+
"$value": 1
|
|
1199
|
+
},
|
|
1200
|
+
"border-width": {
|
|
1201
|
+
"$type": "number",
|
|
1202
|
+
"$description": "Button primary: border width (px).",
|
|
1203
|
+
"$value": 0
|
|
1204
|
+
},
|
|
1205
|
+
"edge-width": {
|
|
1206
|
+
"$type": "number",
|
|
1207
|
+
"$description": "Button primary: bottom edge width (px).",
|
|
1208
|
+
"$value": 0
|
|
1209
|
+
},
|
|
1210
|
+
"ring": {
|
|
1211
|
+
"$type": "color",
|
|
1212
|
+
"$description": "Button primary: focus ring colour (a role or the border, faded).",
|
|
1213
|
+
"$value": {
|
|
1214
|
+
"light": "{semantic.color.ring}",
|
|
1215
|
+
"dark": "{semantic.color.ring}"
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
"ring-alpha": {
|
|
1219
|
+
"$type": "number",
|
|
1220
|
+
"$description": "Button primary: focus ring opacity.",
|
|
1221
|
+
"$value": 0.5
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
"secondary": {
|
|
1225
|
+
"fill": {
|
|
1226
|
+
"$type": "color",
|
|
1227
|
+
"$description": "Button secondary: fill colour (a role).",
|
|
1228
|
+
"$value": {
|
|
1229
|
+
"light": "{semantic.color.secondary}",
|
|
1230
|
+
"dark": "{semantic.color.secondary}"
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1233
|
+
"fill-alpha": {
|
|
1234
|
+
"$type": "number",
|
|
1235
|
+
"$description": "Button secondary: fill opacity.",
|
|
1236
|
+
"$value": 1
|
|
1237
|
+
},
|
|
1238
|
+
"label": {
|
|
1239
|
+
"$type": "color",
|
|
1240
|
+
"$description": "Button secondary: label colour (a role).",
|
|
1241
|
+
"$value": {
|
|
1242
|
+
"light": "{semantic.color.secondary-foreground}",
|
|
1243
|
+
"dark": "{semantic.color.secondary-foreground}"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"border": {
|
|
1247
|
+
"$type": "color",
|
|
1248
|
+
"$description": "Button secondary: border colour (a role).",
|
|
1249
|
+
"$value": {
|
|
1250
|
+
"light": "{semantic.color.secondary}",
|
|
1251
|
+
"dark": "{semantic.color.secondary}"
|
|
1252
|
+
}
|
|
1253
|
+
},
|
|
1254
|
+
"border-alpha": {
|
|
1255
|
+
"$type": "number",
|
|
1256
|
+
"$description": "Button secondary: border opacity.",
|
|
1257
|
+
"$value": 0
|
|
1258
|
+
},
|
|
1259
|
+
"pressed": {
|
|
1260
|
+
"$type": "color",
|
|
1261
|
+
"$description": "Button secondary: pressed and hover fill (derived from the fill unless set).",
|
|
1262
|
+
"$value": {
|
|
1263
|
+
"light": "{primitive.color.neutral.200}",
|
|
1264
|
+
"dark": "{primitive.color.neutral.700}"
|
|
1265
|
+
}
|
|
1266
|
+
},
|
|
1267
|
+
"pressed-alpha": {
|
|
1268
|
+
"$type": "number",
|
|
1269
|
+
"$description": "Button secondary: pressed and hover opacity.",
|
|
1270
|
+
"$value": 1
|
|
1271
|
+
},
|
|
1272
|
+
"border-width": {
|
|
1273
|
+
"$type": "number",
|
|
1274
|
+
"$description": "Button secondary: border width (px).",
|
|
1275
|
+
"$value": 0
|
|
1276
|
+
},
|
|
1277
|
+
"edge-width": {
|
|
1278
|
+
"$type": "number",
|
|
1279
|
+
"$description": "Button secondary: bottom edge width (px).",
|
|
1280
|
+
"$value": 0
|
|
1281
|
+
},
|
|
1282
|
+
"ring": {
|
|
1283
|
+
"$type": "color",
|
|
1284
|
+
"$description": "Button secondary: focus ring colour (a role or the border, faded).",
|
|
1285
|
+
"$value": {
|
|
1286
|
+
"light": "{semantic.color.ring}",
|
|
1287
|
+
"dark": "{semantic.color.ring}"
|
|
1288
|
+
}
|
|
1289
|
+
},
|
|
1290
|
+
"ring-alpha": {
|
|
1291
|
+
"$type": "number",
|
|
1292
|
+
"$description": "Button secondary: focus ring opacity.",
|
|
1293
|
+
"$value": 0.5
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"outline": {
|
|
1297
|
+
"fill": {
|
|
1298
|
+
"$type": "color",
|
|
1299
|
+
"$description": "Button outline: fill colour (a role).",
|
|
1300
|
+
"$value": {
|
|
1301
|
+
"light": "{semantic.color.background}",
|
|
1302
|
+
"dark": "{primitive.color.neutral.900}"
|
|
1303
|
+
}
|
|
1304
|
+
},
|
|
1305
|
+
"fill-alpha": {
|
|
1306
|
+
"$type": "number",
|
|
1307
|
+
"$description": "Button outline: fill opacity.",
|
|
1308
|
+
"$value": 1
|
|
1309
|
+
},
|
|
1310
|
+
"label": {
|
|
1311
|
+
"$type": "color",
|
|
1312
|
+
"$description": "Button outline: label colour (a role).",
|
|
1313
|
+
"$value": {
|
|
1314
|
+
"light": "{semantic.color.foreground}",
|
|
1315
|
+
"dark": "{semantic.color.foreground}"
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
"border": {
|
|
1319
|
+
"$type": "color",
|
|
1320
|
+
"$description": "Button outline: border colour (a role).",
|
|
1321
|
+
"$value": {
|
|
1322
|
+
"light": "{semantic.color.border}",
|
|
1323
|
+
"dark": "{semantic.color.input}"
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
"border-alpha": {
|
|
1327
|
+
"$type": "number",
|
|
1328
|
+
"$description": "Button outline: border opacity.",
|
|
1329
|
+
"$value": 1
|
|
1330
|
+
},
|
|
1331
|
+
"pressed": {
|
|
1332
|
+
"$type": "color",
|
|
1333
|
+
"$description": "Button outline: pressed and hover fill (derived from the fill unless set).",
|
|
1334
|
+
"$value": {
|
|
1335
|
+
"light": "{semantic.color.accent}",
|
|
1336
|
+
"dark": "{semantic.color.accent}"
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
"pressed-alpha": {
|
|
1340
|
+
"$type": "number",
|
|
1341
|
+
"$description": "Button outline: pressed and hover opacity.",
|
|
1342
|
+
"$value": 1
|
|
1343
|
+
},
|
|
1344
|
+
"border-width": {
|
|
1345
|
+
"$type": "number",
|
|
1346
|
+
"$description": "Button outline: border width (px).",
|
|
1347
|
+
"$value": 1
|
|
1348
|
+
},
|
|
1349
|
+
"edge-width": {
|
|
1350
|
+
"$type": "number",
|
|
1351
|
+
"$description": "Button outline: bottom edge width (px).",
|
|
1352
|
+
"$value": 1
|
|
1353
|
+
},
|
|
1354
|
+
"ring": {
|
|
1355
|
+
"$type": "color",
|
|
1356
|
+
"$description": "Button outline: focus ring colour (a role or the border, faded).",
|
|
1357
|
+
"$value": {
|
|
1358
|
+
"light": "{semantic.color.ring}",
|
|
1359
|
+
"dark": "{semantic.color.ring}"
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
"ring-alpha": {
|
|
1363
|
+
"$type": "number",
|
|
1364
|
+
"$description": "Button outline: focus ring opacity.",
|
|
1365
|
+
"$value": 0.5
|
|
1366
|
+
}
|
|
1367
|
+
},
|
|
1368
|
+
"ghost": {
|
|
1369
|
+
"fill": {
|
|
1370
|
+
"$type": "color",
|
|
1371
|
+
"$description": "Button ghost: fill colour (a role).",
|
|
1372
|
+
"$value": {
|
|
1373
|
+
"light": "{semantic.color.background}",
|
|
1374
|
+
"dark": "{semantic.color.background}"
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
"fill-alpha": {
|
|
1378
|
+
"$type": "number",
|
|
1379
|
+
"$description": "Button ghost: fill opacity.",
|
|
1380
|
+
"$value": 0
|
|
1381
|
+
},
|
|
1382
|
+
"label": {
|
|
1383
|
+
"$type": "color",
|
|
1384
|
+
"$description": "Button ghost: label colour (a role).",
|
|
1385
|
+
"$value": {
|
|
1386
|
+
"light": "{semantic.color.foreground}",
|
|
1387
|
+
"dark": "{semantic.color.foreground}"
|
|
1388
|
+
}
|
|
1389
|
+
},
|
|
1390
|
+
"border": {
|
|
1391
|
+
"$type": "color",
|
|
1392
|
+
"$description": "Button ghost: border colour (a role).",
|
|
1393
|
+
"$value": {
|
|
1394
|
+
"light": "{semantic.color.background}",
|
|
1395
|
+
"dark": "{semantic.color.background}"
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
"border-alpha": {
|
|
1399
|
+
"$type": "number",
|
|
1400
|
+
"$description": "Button ghost: border opacity.",
|
|
1401
|
+
"$value": 0
|
|
1402
|
+
},
|
|
1403
|
+
"pressed": {
|
|
1404
|
+
"$type": "color",
|
|
1405
|
+
"$description": "Button ghost: pressed and hover fill (derived from the fill unless set).",
|
|
1406
|
+
"$value": {
|
|
1407
|
+
"light": "{semantic.color.accent}",
|
|
1408
|
+
"dark": "{semantic.color.accent}"
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
"pressed-alpha": {
|
|
1412
|
+
"$type": "number",
|
|
1413
|
+
"$description": "Button ghost: pressed and hover opacity.",
|
|
1414
|
+
"$value": 1
|
|
1415
|
+
},
|
|
1416
|
+
"border-width": {
|
|
1417
|
+
"$type": "number",
|
|
1418
|
+
"$description": "Button ghost: border width (px).",
|
|
1419
|
+
"$value": 0
|
|
1420
|
+
},
|
|
1421
|
+
"edge-width": {
|
|
1422
|
+
"$type": "number",
|
|
1423
|
+
"$description": "Button ghost: bottom edge width (px).",
|
|
1424
|
+
"$value": 0
|
|
1425
|
+
},
|
|
1426
|
+
"ring": {
|
|
1427
|
+
"$type": "color",
|
|
1428
|
+
"$description": "Button ghost: focus ring colour (a role or the border, faded).",
|
|
1429
|
+
"$value": {
|
|
1430
|
+
"light": "{semantic.color.ring}",
|
|
1431
|
+
"dark": "{semantic.color.ring}"
|
|
1432
|
+
}
|
|
1433
|
+
},
|
|
1434
|
+
"ring-alpha": {
|
|
1435
|
+
"$type": "number",
|
|
1436
|
+
"$description": "Button ghost: focus ring opacity.",
|
|
1437
|
+
"$value": 0.5
|
|
1438
|
+
}
|
|
1439
|
+
},
|
|
1440
|
+
"destructive": {
|
|
1441
|
+
"fill": {
|
|
1442
|
+
"$type": "color",
|
|
1443
|
+
"$description": "Button destructive: fill colour (a role).",
|
|
1444
|
+
"$value": {
|
|
1445
|
+
"light": "{semantic.color.destructive}",
|
|
1446
|
+
"dark": "{semantic.color.destructive}"
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"fill-alpha": {
|
|
1450
|
+
"$type": "number",
|
|
1451
|
+
"$description": "Button destructive: fill opacity.",
|
|
1452
|
+
"$value": 1
|
|
1453
|
+
},
|
|
1454
|
+
"label": {
|
|
1455
|
+
"$type": "color",
|
|
1456
|
+
"$description": "Button destructive: label colour (a role).",
|
|
1457
|
+
"$value": {
|
|
1458
|
+
"light": "{semantic.color.destructive-foreground}",
|
|
1459
|
+
"dark": "{semantic.color.destructive-foreground}"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
"border": {
|
|
1463
|
+
"$type": "color",
|
|
1464
|
+
"$description": "Button destructive: border colour (a role).",
|
|
1465
|
+
"$value": {
|
|
1466
|
+
"light": "{semantic.color.destructive}",
|
|
1467
|
+
"dark": "{semantic.color.destructive}"
|
|
1468
|
+
}
|
|
1469
|
+
},
|
|
1470
|
+
"border-alpha": {
|
|
1471
|
+
"$type": "number",
|
|
1472
|
+
"$description": "Button destructive: border opacity.",
|
|
1473
|
+
"$value": 0
|
|
1474
|
+
},
|
|
1475
|
+
"pressed": {
|
|
1476
|
+
"$type": "color",
|
|
1477
|
+
"$description": "Button destructive: pressed and hover fill (derived from the fill unless set).",
|
|
1478
|
+
"$value": {
|
|
1479
|
+
"light": "{primitive.color.danger.700}",
|
|
1480
|
+
"dark": "{primitive.color.danger.400}"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"pressed-alpha": {
|
|
1484
|
+
"$type": "number",
|
|
1485
|
+
"$description": "Button destructive: pressed and hover opacity.",
|
|
1486
|
+
"$value": 1
|
|
1487
|
+
},
|
|
1488
|
+
"border-width": {
|
|
1489
|
+
"$type": "number",
|
|
1490
|
+
"$description": "Button destructive: border width (px).",
|
|
1491
|
+
"$value": 0
|
|
1492
|
+
},
|
|
1493
|
+
"edge-width": {
|
|
1494
|
+
"$type": "number",
|
|
1495
|
+
"$description": "Button destructive: bottom edge width (px).",
|
|
1496
|
+
"$value": 0
|
|
1497
|
+
},
|
|
1498
|
+
"ring": {
|
|
1499
|
+
"$type": "color",
|
|
1500
|
+
"$description": "Button destructive: focus ring colour (a role or the border, faded).",
|
|
1501
|
+
"$value": {
|
|
1502
|
+
"light": "{semantic.color.destructive}",
|
|
1503
|
+
"dark": "{semantic.color.destructive}"
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
"ring-alpha": {
|
|
1507
|
+
"$type": "number",
|
|
1508
|
+
"$description": "Button destructive: focus ring opacity.",
|
|
1509
|
+
"$value": {
|
|
1510
|
+
"light": 0.2,
|
|
1511
|
+
"dark": 0.4
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
"gap": {
|
|
1516
|
+
"sm": {
|
|
1517
|
+
"$type": "number",
|
|
1518
|
+
"$description": "Button: small gap between an icon and the label (px).",
|
|
1519
|
+
"$value": 6
|
|
1520
|
+
},
|
|
1521
|
+
"md": {
|
|
1522
|
+
"$type": "number",
|
|
1523
|
+
"$description": "Button: gap between an icon and the label (px).",
|
|
1524
|
+
"$value": 8
|
|
1525
|
+
},
|
|
1526
|
+
"lg": {
|
|
1527
|
+
"$type": "number",
|
|
1528
|
+
"$description": "Button: large gap between an icon and the label (px).",
|
|
1529
|
+
"$value": 8
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
"ring-width": {
|
|
1533
|
+
"$type": "number",
|
|
1534
|
+
"$description": "Button: focus ring width (px).",
|
|
1535
|
+
"$value": 3
|
|
1536
|
+
},
|
|
1537
|
+
"focus-border": {
|
|
1538
|
+
"$type": "color",
|
|
1539
|
+
"$description": "Button: border colour when focused (the focus ring role).",
|
|
1540
|
+
"$value": {
|
|
1541
|
+
"light": "{semantic.color.ring}",
|
|
1542
|
+
"dark": "{semantic.color.ring}"
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
"icon": {
|
|
1546
|
+
"$type": "number",
|
|
1547
|
+
"$description": "Button: icon size (px).",
|
|
1548
|
+
"$value": 16
|
|
1549
|
+
},
|
|
1550
|
+
"shadow": {
|
|
1551
|
+
"$type": "number",
|
|
1552
|
+
"$description": "Button: shadow level (0 = none).",
|
|
1553
|
+
"$value": 1
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
"chip": {
|
|
1557
|
+
"radius": {
|
|
1558
|
+
"$type": "number",
|
|
1559
|
+
"$description": "Chip: corner radius (px; 9999 = a pill).",
|
|
1560
|
+
"$value": 9999
|
|
1561
|
+
},
|
|
1562
|
+
"height": {
|
|
1563
|
+
"md": {
|
|
1564
|
+
"$type": "number",
|
|
1565
|
+
"$description": "Chip: height (px; phones raise a touch target under 44 to 44).",
|
|
1566
|
+
"$value": 36
|
|
1567
|
+
},
|
|
1568
|
+
"sm": {
|
|
1569
|
+
"$type": "number",
|
|
1570
|
+
"$description": "Chip: small height (px; phones raise a touch target under 44 to 44).",
|
|
1571
|
+
"$value": 32
|
|
1572
|
+
},
|
|
1573
|
+
"lg": {
|
|
1574
|
+
"$type": "number",
|
|
1575
|
+
"$description": "Chip: large height (px).",
|
|
1576
|
+
"$value": 40
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1579
|
+
"x": {
|
|
1580
|
+
"md": {
|
|
1581
|
+
"$type": "number",
|
|
1582
|
+
"$description": "Chip: horizontal padding (px).",
|
|
1583
|
+
"$value": 14
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"text": {
|
|
1587
|
+
"size": {
|
|
1588
|
+
"$type": "number",
|
|
1589
|
+
"$description": "Chip: text size (px), from its text style.",
|
|
1590
|
+
"$value": 14
|
|
1591
|
+
},
|
|
1592
|
+
"leading": {
|
|
1593
|
+
"$type": "number",
|
|
1594
|
+
"$description": "Chip: line height (px), fitted to the control.",
|
|
1595
|
+
"$value": 20
|
|
1596
|
+
},
|
|
1597
|
+
"tracking": {
|
|
1598
|
+
"$type": "number",
|
|
1599
|
+
"$description": "Chip: letter spacing (em).",
|
|
1600
|
+
"$value": 0
|
|
1601
|
+
},
|
|
1602
|
+
"font": {
|
|
1603
|
+
"$type": "fontFamily",
|
|
1604
|
+
"$description": "Chip: the text style's font.",
|
|
1605
|
+
"$value": "{primitive.font.family.body}"
|
|
1606
|
+
},
|
|
1607
|
+
"weight": {
|
|
1608
|
+
"$type": "fontWeight",
|
|
1609
|
+
"$description": "Chip: the label's font weight.",
|
|
1610
|
+
"$value": 500
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1613
|
+
"unselected": {
|
|
1614
|
+
"fill": {
|
|
1615
|
+
"$type": "color",
|
|
1616
|
+
"$description": "Chip unselected: fill colour (a role).",
|
|
1617
|
+
"$value": {
|
|
1618
|
+
"light": "{semantic.color.background}",
|
|
1619
|
+
"dark": "{semantic.color.background}"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
"fill-alpha": {
|
|
1623
|
+
"$type": "number",
|
|
1624
|
+
"$description": "Chip unselected: fill opacity.",
|
|
1625
|
+
"$value": 1
|
|
1626
|
+
},
|
|
1627
|
+
"label": {
|
|
1628
|
+
"$type": "color",
|
|
1629
|
+
"$description": "Chip unselected: label colour (a role).",
|
|
1630
|
+
"$value": {
|
|
1631
|
+
"light": "{semantic.color.foreground}",
|
|
1632
|
+
"dark": "{semantic.color.foreground}"
|
|
1633
|
+
}
|
|
1634
|
+
},
|
|
1635
|
+
"border": {
|
|
1636
|
+
"$type": "color",
|
|
1637
|
+
"$description": "Chip unselected: border colour (a role).",
|
|
1638
|
+
"$value": {
|
|
1639
|
+
"light": "{semantic.color.border}",
|
|
1640
|
+
"dark": "{semantic.color.border}"
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
"border-alpha": {
|
|
1644
|
+
"$type": "number",
|
|
1645
|
+
"$description": "Chip unselected: border opacity.",
|
|
1646
|
+
"$value": 1
|
|
1647
|
+
},
|
|
1648
|
+
"pressed": {
|
|
1649
|
+
"$type": "color",
|
|
1650
|
+
"$description": "Chip unselected: pressed and hover fill (derived from the fill unless set).",
|
|
1651
|
+
"$value": {
|
|
1652
|
+
"light": "{semantic.color.accent}",
|
|
1653
|
+
"dark": "{semantic.color.accent}"
|
|
1654
|
+
}
|
|
1655
|
+
},
|
|
1656
|
+
"pressed-alpha": {
|
|
1657
|
+
"$type": "number",
|
|
1658
|
+
"$description": "Chip unselected: pressed and hover opacity.",
|
|
1659
|
+
"$value": 1
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"selected": {
|
|
1663
|
+
"fill": {
|
|
1664
|
+
"$type": "color",
|
|
1665
|
+
"$description": "Chip selected: fill colour (a role).",
|
|
1666
|
+
"$value": {
|
|
1667
|
+
"light": "{semantic.color.foreground}",
|
|
1668
|
+
"dark": "{semantic.color.foreground}"
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
"fill-alpha": {
|
|
1672
|
+
"$type": "number",
|
|
1673
|
+
"$description": "Chip selected: fill opacity.",
|
|
1674
|
+
"$value": 1
|
|
1675
|
+
},
|
|
1676
|
+
"label": {
|
|
1677
|
+
"$type": "color",
|
|
1678
|
+
"$description": "Chip selected: label colour (a role).",
|
|
1679
|
+
"$value": {
|
|
1680
|
+
"light": "{semantic.color.background}",
|
|
1681
|
+
"dark": "{semantic.color.background}"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"border": {
|
|
1685
|
+
"$type": "color",
|
|
1686
|
+
"$description": "Chip selected: border colour (a role).",
|
|
1687
|
+
"$value": {
|
|
1688
|
+
"light": "{semantic.color.foreground}",
|
|
1689
|
+
"dark": "{semantic.color.foreground}"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
"border-alpha": {
|
|
1693
|
+
"$type": "number",
|
|
1694
|
+
"$description": "Chip selected: border opacity.",
|
|
1695
|
+
"$value": 1
|
|
1696
|
+
},
|
|
1697
|
+
"pressed": {
|
|
1698
|
+
"$type": "color",
|
|
1699
|
+
"$description": "Chip selected: pressed and hover fill (derived from the fill unless set).",
|
|
1700
|
+
"$value": {
|
|
1701
|
+
"light": "{primitive.color.neutral.1000}",
|
|
1702
|
+
"dark": "{primitive.color.neutral.0}"
|
|
1703
|
+
}
|
|
1704
|
+
},
|
|
1705
|
+
"pressed-alpha": {
|
|
1706
|
+
"$type": "number",
|
|
1707
|
+
"$description": "Chip selected: pressed and hover opacity.",
|
|
1708
|
+
"$value": 1
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
"gap": {
|
|
1712
|
+
"md": {
|
|
1713
|
+
"$type": "number",
|
|
1714
|
+
"$description": "Chip: gap between an icon and the label (px).",
|
|
1715
|
+
"$value": 6
|
|
1716
|
+
}
|
|
1717
|
+
},
|
|
1718
|
+
"border-width": {
|
|
1719
|
+
"$type": "number",
|
|
1720
|
+
"$description": "Chip: border width (px).",
|
|
1721
|
+
"$value": 1
|
|
1722
|
+
},
|
|
1723
|
+
"icon": {
|
|
1724
|
+
"$type": "number",
|
|
1725
|
+
"$description": "Chip: icon size (px); unset, each kit draws its own.",
|
|
1726
|
+
"$value": 14
|
|
1727
|
+
}
|
|
1728
|
+
},
|
|
1729
|
+
"badge": {
|
|
1730
|
+
"radius": {
|
|
1731
|
+
"$type": "number",
|
|
1732
|
+
"$description": "Badge: corner radius (px; 9999 = a pill).",
|
|
1733
|
+
"$value": 9999
|
|
1734
|
+
},
|
|
1735
|
+
"x": {
|
|
1736
|
+
"md": {
|
|
1737
|
+
"$type": "number",
|
|
1738
|
+
"$description": "Badge: horizontal padding (px).",
|
|
1739
|
+
"$value": 8
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
"text": {
|
|
1743
|
+
"size": {
|
|
1744
|
+
"$type": "number",
|
|
1745
|
+
"$description": "Badge: text size (px), from its text style.",
|
|
1746
|
+
"$value": 14
|
|
1747
|
+
},
|
|
1748
|
+
"leading": {
|
|
1749
|
+
"$type": "number",
|
|
1750
|
+
"$description": "Badge: line height (px), fitted to the control.",
|
|
1751
|
+
"$value": 20
|
|
1752
|
+
},
|
|
1753
|
+
"tracking": {
|
|
1754
|
+
"$type": "number",
|
|
1755
|
+
"$description": "Badge: letter spacing (em).",
|
|
1756
|
+
"$value": 0
|
|
1757
|
+
},
|
|
1758
|
+
"font": {
|
|
1759
|
+
"$type": "fontFamily",
|
|
1760
|
+
"$description": "Badge: the text style's font.",
|
|
1761
|
+
"$value": "{primitive.font.family.body}"
|
|
1762
|
+
},
|
|
1763
|
+
"weight": {
|
|
1764
|
+
"$type": "fontWeight",
|
|
1765
|
+
"$description": "Badge: the label's font weight.",
|
|
1766
|
+
"$value": 500
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
"default": {
|
|
1770
|
+
"fill": {
|
|
1771
|
+
"$type": "color",
|
|
1772
|
+
"$description": "Badge default: fill colour (a role).",
|
|
1773
|
+
"$value": {
|
|
1774
|
+
"light": "{semantic.color.primary}",
|
|
1775
|
+
"dark": "{semantic.color.primary}"
|
|
1776
|
+
}
|
|
1777
|
+
},
|
|
1778
|
+
"fill-alpha": {
|
|
1779
|
+
"$type": "number",
|
|
1780
|
+
"$description": "Badge default: fill opacity.",
|
|
1781
|
+
"$value": 1
|
|
1782
|
+
},
|
|
1783
|
+
"label": {
|
|
1784
|
+
"$type": "color",
|
|
1785
|
+
"$description": "Badge default: label colour (a role).",
|
|
1786
|
+
"$value": {
|
|
1787
|
+
"light": "{semantic.color.primary-foreground}",
|
|
1788
|
+
"dark": "{semantic.color.primary-foreground}"
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
"border": {
|
|
1792
|
+
"$type": "color",
|
|
1793
|
+
"$description": "Badge default: border colour (a role).",
|
|
1794
|
+
"$value": {
|
|
1795
|
+
"light": "{semantic.color.primary}",
|
|
1796
|
+
"dark": "{semantic.color.primary}"
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
"border-alpha": {
|
|
1800
|
+
"$type": "number",
|
|
1801
|
+
"$description": "Badge default: border opacity.",
|
|
1802
|
+
"$value": 0
|
|
1803
|
+
},
|
|
1804
|
+
"pressed": {
|
|
1805
|
+
"$type": "color",
|
|
1806
|
+
"$description": "Badge default: pressed and hover fill (derived from the fill unless set).",
|
|
1807
|
+
"$value": {
|
|
1808
|
+
"light": "{primitive.color.brand.700}",
|
|
1809
|
+
"dark": "{primitive.color.brand.400}"
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
"pressed-alpha": {
|
|
1813
|
+
"$type": "number",
|
|
1814
|
+
"$description": "Badge default: pressed and hover opacity.",
|
|
1815
|
+
"$value": 1
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"secondary": {
|
|
1819
|
+
"fill": {
|
|
1820
|
+
"$type": "color",
|
|
1821
|
+
"$description": "Badge secondary: fill colour (a role).",
|
|
1822
|
+
"$value": {
|
|
1823
|
+
"light": "{semantic.color.secondary}",
|
|
1824
|
+
"dark": "{semantic.color.secondary}"
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1827
|
+
"fill-alpha": {
|
|
1828
|
+
"$type": "number",
|
|
1829
|
+
"$description": "Badge secondary: fill opacity.",
|
|
1830
|
+
"$value": 1
|
|
1831
|
+
},
|
|
1832
|
+
"label": {
|
|
1833
|
+
"$type": "color",
|
|
1834
|
+
"$description": "Badge secondary: label colour (a role).",
|
|
1835
|
+
"$value": {
|
|
1836
|
+
"light": "{semantic.color.secondary-foreground}",
|
|
1837
|
+
"dark": "{semantic.color.secondary-foreground}"
|
|
1838
|
+
}
|
|
1839
|
+
},
|
|
1840
|
+
"border": {
|
|
1841
|
+
"$type": "color",
|
|
1842
|
+
"$description": "Badge secondary: border colour (a role).",
|
|
1843
|
+
"$value": {
|
|
1844
|
+
"light": "{semantic.color.secondary}",
|
|
1845
|
+
"dark": "{semantic.color.secondary}"
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
"border-alpha": {
|
|
1849
|
+
"$type": "number",
|
|
1850
|
+
"$description": "Badge secondary: border opacity.",
|
|
1851
|
+
"$value": 0
|
|
1852
|
+
},
|
|
1853
|
+
"pressed": {
|
|
1854
|
+
"$type": "color",
|
|
1855
|
+
"$description": "Badge secondary: pressed and hover fill (derived from the fill unless set).",
|
|
1856
|
+
"$value": {
|
|
1857
|
+
"light": "{primitive.color.neutral.200}",
|
|
1858
|
+
"dark": "{primitive.color.neutral.700}"
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
"pressed-alpha": {
|
|
1862
|
+
"$type": "number",
|
|
1863
|
+
"$description": "Badge secondary: pressed and hover opacity.",
|
|
1864
|
+
"$value": 1
|
|
1865
|
+
}
|
|
1866
|
+
},
|
|
1867
|
+
"destructive": {
|
|
1868
|
+
"fill": {
|
|
1869
|
+
"$type": "color",
|
|
1870
|
+
"$description": "Badge destructive: fill colour (a role).",
|
|
1871
|
+
"$value": {
|
|
1872
|
+
"light": "{semantic.color.destructive}",
|
|
1873
|
+
"dark": "{semantic.color.destructive}"
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
"fill-alpha": {
|
|
1877
|
+
"$type": "number",
|
|
1878
|
+
"$description": "Badge destructive: fill opacity.",
|
|
1879
|
+
"$value": 1
|
|
1880
|
+
},
|
|
1881
|
+
"label": {
|
|
1882
|
+
"$type": "color",
|
|
1883
|
+
"$description": "Badge destructive: label colour (a role).",
|
|
1884
|
+
"$value": {
|
|
1885
|
+
"light": "{semantic.color.destructive-foreground}",
|
|
1886
|
+
"dark": "{semantic.color.destructive-foreground}"
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1889
|
+
"border": {
|
|
1890
|
+
"$type": "color",
|
|
1891
|
+
"$description": "Badge destructive: border colour (a role).",
|
|
1892
|
+
"$value": {
|
|
1893
|
+
"light": "{semantic.color.destructive}",
|
|
1894
|
+
"dark": "{semantic.color.destructive}"
|
|
1895
|
+
}
|
|
1896
|
+
},
|
|
1897
|
+
"border-alpha": {
|
|
1898
|
+
"$type": "number",
|
|
1899
|
+
"$description": "Badge destructive: border opacity.",
|
|
1900
|
+
"$value": 0
|
|
1901
|
+
},
|
|
1902
|
+
"pressed": {
|
|
1903
|
+
"$type": "color",
|
|
1904
|
+
"$description": "Badge destructive: pressed and hover fill (derived from the fill unless set).",
|
|
1905
|
+
"$value": {
|
|
1906
|
+
"light": "{primitive.color.danger.700}",
|
|
1907
|
+
"dark": "{primitive.color.danger.400}"
|
|
1908
|
+
}
|
|
1909
|
+
},
|
|
1910
|
+
"pressed-alpha": {
|
|
1911
|
+
"$type": "number",
|
|
1912
|
+
"$description": "Badge destructive: pressed and hover opacity.",
|
|
1913
|
+
"$value": 1
|
|
1914
|
+
}
|
|
1915
|
+
},
|
|
1916
|
+
"outline": {
|
|
1917
|
+
"fill": {
|
|
1918
|
+
"$type": "color",
|
|
1919
|
+
"$description": "Badge outline: fill colour (a role).",
|
|
1920
|
+
"$value": {
|
|
1921
|
+
"light": "{semantic.color.background}",
|
|
1922
|
+
"dark": "{semantic.color.background}"
|
|
1923
|
+
}
|
|
1924
|
+
},
|
|
1925
|
+
"fill-alpha": {
|
|
1926
|
+
"$type": "number",
|
|
1927
|
+
"$description": "Badge outline: fill opacity.",
|
|
1928
|
+
"$value": 0
|
|
1929
|
+
},
|
|
1930
|
+
"label": {
|
|
1931
|
+
"$type": "color",
|
|
1932
|
+
"$description": "Badge outline: label colour (a role).",
|
|
1933
|
+
"$value": {
|
|
1934
|
+
"light": "{semantic.color.foreground}",
|
|
1935
|
+
"dark": "{semantic.color.foreground}"
|
|
1936
|
+
}
|
|
1937
|
+
},
|
|
1938
|
+
"border": {
|
|
1939
|
+
"$type": "color",
|
|
1940
|
+
"$description": "Badge outline: border colour (a role).",
|
|
1941
|
+
"$value": {
|
|
1942
|
+
"light": "{semantic.color.border}",
|
|
1943
|
+
"dark": "{semantic.color.border}"
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
"border-alpha": {
|
|
1947
|
+
"$type": "number",
|
|
1948
|
+
"$description": "Badge outline: border opacity.",
|
|
1949
|
+
"$value": 1
|
|
1950
|
+
},
|
|
1951
|
+
"pressed": {
|
|
1952
|
+
"$type": "color",
|
|
1953
|
+
"$description": "Badge outline: pressed and hover fill (derived from the fill unless set).",
|
|
1954
|
+
"$value": {
|
|
1955
|
+
"light": "{semantic.color.accent}",
|
|
1956
|
+
"dark": "{semantic.color.accent}"
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
"pressed-alpha": {
|
|
1960
|
+
"$type": "number",
|
|
1961
|
+
"$description": "Badge outline: pressed and hover opacity.",
|
|
1962
|
+
"$value": 1
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
"height": {
|
|
1966
|
+
"sm": {
|
|
1967
|
+
"$type": "number",
|
|
1968
|
+
"$description": "Badge: small height (px; phones raise a touch target under 44 to 44).",
|
|
1969
|
+
"$value": 22
|
|
1970
|
+
},
|
|
1971
|
+
"md": {
|
|
1972
|
+
"$type": "number",
|
|
1973
|
+
"$description": "Badge: height (px; phones raise a touch target under 44 to 44).",
|
|
1974
|
+
"$value": 26
|
|
1975
|
+
}
|
|
1976
|
+
},
|
|
1977
|
+
"gap": {
|
|
1978
|
+
"md": {
|
|
1979
|
+
"$type": "number",
|
|
1980
|
+
"$description": "Badge: gap between an icon and the label (px).",
|
|
1981
|
+
"$value": 4
|
|
1982
|
+
}
|
|
1983
|
+
},
|
|
1984
|
+
"border-width": {
|
|
1985
|
+
"$type": "number",
|
|
1986
|
+
"$description": "Badge: border width (px).",
|
|
1987
|
+
"$value": 1
|
|
1988
|
+
},
|
|
1989
|
+
"icon": {
|
|
1990
|
+
"$type": "number",
|
|
1991
|
+
"$description": "Badge: icon size (px).",
|
|
1992
|
+
"$value": 12
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1995
|
+
"input": {
|
|
1996
|
+
"radius": {
|
|
1997
|
+
"$type": "number",
|
|
1998
|
+
"$description": "Input: corner radius (px; 9999 = a pill).",
|
|
1999
|
+
"$value": 8
|
|
2000
|
+
},
|
|
2001
|
+
"radius-bottom": {
|
|
2002
|
+
"$type": "number",
|
|
2003
|
+
"$description": "Input: bottom corner radius (px).",
|
|
2004
|
+
"$value": 8
|
|
2005
|
+
},
|
|
2006
|
+
"height": {
|
|
2007
|
+
"sm": {
|
|
2008
|
+
"$type": "number",
|
|
2009
|
+
"$description": "Input: small height (px; phones raise a touch target under 44 to 44).",
|
|
2010
|
+
"$value": 32
|
|
2011
|
+
},
|
|
2012
|
+
"md": {
|
|
2013
|
+
"$type": "number",
|
|
2014
|
+
"$description": "Input: height (px; phones raise a touch target under 44 to 44).",
|
|
2015
|
+
"$value": 48
|
|
2016
|
+
},
|
|
2017
|
+
"lg": {
|
|
2018
|
+
"$type": "number",
|
|
2019
|
+
"$description": "Input: large height (px).",
|
|
2020
|
+
"$value": 56
|
|
2021
|
+
}
|
|
2022
|
+
},
|
|
2023
|
+
"x": {
|
|
2024
|
+
"md": {
|
|
2025
|
+
"$type": "number",
|
|
2026
|
+
"$description": "Input: horizontal padding (px).",
|
|
2027
|
+
"$value": 16
|
|
2028
|
+
}
|
|
2029
|
+
},
|
|
2030
|
+
"text": {
|
|
2031
|
+
"size": {
|
|
2032
|
+
"$type": "number",
|
|
2033
|
+
"$description": "Input: text size (px), from its text style.",
|
|
2034
|
+
"$value": 16
|
|
2035
|
+
},
|
|
2036
|
+
"leading": {
|
|
2037
|
+
"$type": "number",
|
|
2038
|
+
"$description": "Input: line height (px), fitted to the control.",
|
|
2039
|
+
"$value": 24
|
|
2040
|
+
},
|
|
2041
|
+
"tracking": {
|
|
2042
|
+
"$type": "number",
|
|
2043
|
+
"$description": "Input: letter spacing (em).",
|
|
2044
|
+
"$value": 0
|
|
2045
|
+
},
|
|
2046
|
+
"font": {
|
|
2047
|
+
"$type": "fontFamily",
|
|
2048
|
+
"$description": "Input: the text style's font.",
|
|
2049
|
+
"$value": "{primitive.font.family.body}"
|
|
2050
|
+
},
|
|
2051
|
+
"weight": {
|
|
2052
|
+
"$type": "fontWeight",
|
|
2053
|
+
"$description": "Input: the label's font weight.",
|
|
2054
|
+
"$value": 400
|
|
2055
|
+
}
|
|
2056
|
+
},
|
|
2057
|
+
"alpha": {
|
|
2058
|
+
"$type": "number",
|
|
2059
|
+
"$description": "Input: the style's fill opacity.",
|
|
2060
|
+
"$value": {
|
|
2061
|
+
"light": 0,
|
|
2062
|
+
"dark": 0.3
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
2065
|
+
"border-width": {
|
|
2066
|
+
"$type": "number",
|
|
2067
|
+
"$description": "Input: border width (px).",
|
|
2068
|
+
"$value": 1
|
|
2069
|
+
},
|
|
2070
|
+
"edge-width": {
|
|
2071
|
+
"$type": "number",
|
|
2072
|
+
"$description": "Input: bottom edge width (px).",
|
|
2073
|
+
"$value": 1
|
|
2074
|
+
},
|
|
2075
|
+
"round": {
|
|
2076
|
+
"$type": "number",
|
|
2077
|
+
"$description": "Input: 1 = rounded top corners, 0 = square.",
|
|
2078
|
+
"$value": 1
|
|
2079
|
+
},
|
|
2080
|
+
"round-bottom": {
|
|
2081
|
+
"$type": "number",
|
|
2082
|
+
"$description": "Input: 1 = rounded bottom corners, 0 = square.",
|
|
2083
|
+
"$value": 1
|
|
2084
|
+
},
|
|
2085
|
+
"inset": {
|
|
2086
|
+
"$type": "number",
|
|
2087
|
+
"$description": "Input: 1 = inner padding, 0 = flush.",
|
|
2088
|
+
"$value": 1
|
|
2089
|
+
},
|
|
2090
|
+
"default": {
|
|
2091
|
+
"fill": {
|
|
2092
|
+
"$type": "color",
|
|
2093
|
+
"$description": "Input default: fill colour (a role).",
|
|
2094
|
+
"$value": {
|
|
2095
|
+
"light": "{semantic.color.field}",
|
|
2096
|
+
"dark": "{primitive.color.neutral.900}"
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
"fill-alpha": {
|
|
2100
|
+
"$type": "number",
|
|
2101
|
+
"$description": "Input default: fill opacity.",
|
|
2102
|
+
"$value": {
|
|
2103
|
+
"light": 0,
|
|
2104
|
+
"dark": 1
|
|
2105
|
+
}
|
|
2106
|
+
},
|
|
2107
|
+
"label": {
|
|
2108
|
+
"$type": "color",
|
|
2109
|
+
"$description": "Input default: label colour (a role).",
|
|
2110
|
+
"$value": {
|
|
2111
|
+
"light": "{semantic.color.foreground}",
|
|
2112
|
+
"dark": "{semantic.color.foreground}"
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
"border": {
|
|
2116
|
+
"$type": "color",
|
|
2117
|
+
"$description": "Input default: border colour (a role).",
|
|
2118
|
+
"$value": {
|
|
2119
|
+
"light": "{semantic.color.field-edge}",
|
|
2120
|
+
"dark": "{semantic.color.field-edge}"
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
"border-alpha": {
|
|
2124
|
+
"$type": "number",
|
|
2125
|
+
"$description": "Input default: border opacity.",
|
|
2126
|
+
"$value": 1
|
|
2127
|
+
}
|
|
2128
|
+
},
|
|
2129
|
+
"focus": {
|
|
2130
|
+
"border": {
|
|
2131
|
+
"$type": "color",
|
|
2132
|
+
"$description": "Input focus: border colour (a role).",
|
|
2133
|
+
"$value": {
|
|
2134
|
+
"light": "{semantic.color.ring}",
|
|
2135
|
+
"dark": "{semantic.color.ring}"
|
|
2136
|
+
}
|
|
2137
|
+
},
|
|
2138
|
+
"border-alpha": {
|
|
2139
|
+
"$type": "number",
|
|
2140
|
+
"$description": "Input focus: border opacity.",
|
|
2141
|
+
"$value": 1
|
|
2142
|
+
},
|
|
2143
|
+
"ring": {
|
|
2144
|
+
"$type": "color",
|
|
2145
|
+
"$description": "Input focus: focus ring colour (the border, faded).",
|
|
2146
|
+
"$value": {
|
|
2147
|
+
"light": "{semantic.color.ring}",
|
|
2148
|
+
"dark": "{semantic.color.ring}"
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
"ring-alpha": {
|
|
2152
|
+
"$type": "number",
|
|
2153
|
+
"$description": "Input focus: focus ring opacity.",
|
|
2154
|
+
"$value": 0.5
|
|
2155
|
+
},
|
|
2156
|
+
"fill": {
|
|
2157
|
+
"$type": "color",
|
|
2158
|
+
"$description": "Input focus: fill colour (a role).",
|
|
2159
|
+
"$value": {
|
|
2160
|
+
"light": "{semantic.color.field}",
|
|
2161
|
+
"dark": "{primitive.color.neutral.900}"
|
|
2162
|
+
}
|
|
2163
|
+
},
|
|
2164
|
+
"fill-alpha": {
|
|
2165
|
+
"$type": "number",
|
|
2166
|
+
"$description": "Input focus: fill opacity.",
|
|
2167
|
+
"$value": {
|
|
2168
|
+
"light": 0,
|
|
2169
|
+
"dark": 1
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
"label": {
|
|
2173
|
+
"$type": "color",
|
|
2174
|
+
"$description": "Input focus: label colour (a role).",
|
|
2175
|
+
"$value": {
|
|
2176
|
+
"light": "{semantic.color.foreground}",
|
|
2177
|
+
"dark": "{semantic.color.foreground}"
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
},
|
|
2181
|
+
"error": {
|
|
2182
|
+
"border": {
|
|
2183
|
+
"$type": "color",
|
|
2184
|
+
"$description": "Input error: border colour (a role).",
|
|
2185
|
+
"$value": {
|
|
2186
|
+
"light": "{semantic.color.destructive}",
|
|
2187
|
+
"dark": "{semantic.color.destructive}"
|
|
2188
|
+
}
|
|
2189
|
+
},
|
|
2190
|
+
"border-alpha": {
|
|
2191
|
+
"$type": "number",
|
|
2192
|
+
"$description": "Input error: border opacity.",
|
|
2193
|
+
"$value": 1
|
|
2194
|
+
},
|
|
2195
|
+
"ring": {
|
|
2196
|
+
"$type": "color",
|
|
2197
|
+
"$description": "Input error: focus ring colour (the border, faded).",
|
|
2198
|
+
"$value": {
|
|
2199
|
+
"light": "{semantic.color.destructive}",
|
|
2200
|
+
"dark": "{semantic.color.destructive}"
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
"ring-alpha": {
|
|
2204
|
+
"$type": "number",
|
|
2205
|
+
"$description": "Input error: focus ring opacity.",
|
|
2206
|
+
"$value": {
|
|
2207
|
+
"light": 0.2,
|
|
2208
|
+
"dark": 0.4
|
|
2209
|
+
}
|
|
2210
|
+
},
|
|
2211
|
+
"fill": {
|
|
2212
|
+
"$type": "color",
|
|
2213
|
+
"$description": "Input error: fill colour (a role).",
|
|
2214
|
+
"$value": {
|
|
2215
|
+
"light": "{semantic.color.field}",
|
|
2216
|
+
"dark": "{primitive.color.neutral.900}"
|
|
2217
|
+
}
|
|
2218
|
+
},
|
|
2219
|
+
"fill-alpha": {
|
|
2220
|
+
"$type": "number",
|
|
2221
|
+
"$description": "Input error: fill opacity.",
|
|
2222
|
+
"$value": {
|
|
2223
|
+
"light": 0,
|
|
2224
|
+
"dark": 1
|
|
2225
|
+
}
|
|
2226
|
+
},
|
|
2227
|
+
"label": {
|
|
2228
|
+
"$type": "color",
|
|
2229
|
+
"$description": "Input error: label colour (a role).",
|
|
2230
|
+
"$value": {
|
|
2231
|
+
"light": "{semantic.color.foreground}",
|
|
2232
|
+
"dark": "{semantic.color.foreground}"
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
},
|
|
2236
|
+
"disabled": {
|
|
2237
|
+
"fill": {
|
|
2238
|
+
"$type": "color",
|
|
2239
|
+
"$description": "Input disabled: fill colour (a role).",
|
|
2240
|
+
"$value": {
|
|
2241
|
+
"light": "{semantic.color.field}",
|
|
2242
|
+
"dark": "{primitive.color.neutral.900}"
|
|
2243
|
+
}
|
|
2244
|
+
},
|
|
2245
|
+
"fill-alpha": {
|
|
2246
|
+
"$type": "number",
|
|
2247
|
+
"$description": "Input disabled: fill opacity.",
|
|
2248
|
+
"$value": {
|
|
2249
|
+
"light": 0,
|
|
2250
|
+
"dark": 1
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
"label": {
|
|
2254
|
+
"$type": "color",
|
|
2255
|
+
"$description": "Input disabled: label colour (a role).",
|
|
2256
|
+
"$value": {
|
|
2257
|
+
"light": "{semantic.color.foreground}",
|
|
2258
|
+
"dark": "{semantic.color.foreground}"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2261
|
+
"border": {
|
|
2262
|
+
"$type": "color",
|
|
2263
|
+
"$description": "Input disabled: border colour (a role).",
|
|
2264
|
+
"$value": {
|
|
2265
|
+
"light": "{semantic.color.field-edge}",
|
|
2266
|
+
"dark": "{semantic.color.field-edge}"
|
|
2267
|
+
}
|
|
2268
|
+
},
|
|
2269
|
+
"border-alpha": {
|
|
2270
|
+
"$type": "number",
|
|
2271
|
+
"$description": "Input disabled: border opacity.",
|
|
2272
|
+
"$value": 1
|
|
2273
|
+
}
|
|
2274
|
+
},
|
|
2275
|
+
"ring-width": {
|
|
2276
|
+
"$type": "number",
|
|
2277
|
+
"$description": "Input: focus ring width (px).",
|
|
2278
|
+
"$value": 3
|
|
2279
|
+
},
|
|
2280
|
+
"placeholder": {
|
|
2281
|
+
"$type": "color",
|
|
2282
|
+
"$description": "Input: placeholder text colour (a role).",
|
|
2283
|
+
"$value": {
|
|
2284
|
+
"light": "{semantic.color.muted-foreground}",
|
|
2285
|
+
"dark": "{semantic.color.muted-foreground}"
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2288
|
+
"shadow": {
|
|
2289
|
+
"$type": "number",
|
|
2290
|
+
"$description": "Input: shadow level (0 = none).",
|
|
2291
|
+
"$value": 0
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
},
|
|
2296
|
+
"$extensions": {
|
|
2297
|
+
"com.halftonedesignsystem.theme": {
|
|
2298
|
+
"version": 1,
|
|
2299
|
+
"code": "ht1-29B3XC60003T",
|
|
2300
|
+
"recipe": {
|
|
2301
|
+
"v": 1,
|
|
2302
|
+
"brand": "#2563eb",
|
|
2303
|
+
"neutral": "zinc",
|
|
2304
|
+
"radius": "lg",
|
|
2305
|
+
"controls": "pill",
|
|
2306
|
+
"font": {
|
|
2307
|
+
"heading": "system",
|
|
2308
|
+
"body": "system",
|
|
2309
|
+
"mono": "system-mono"
|
|
2310
|
+
},
|
|
2311
|
+
"stroke": "regular",
|
|
2312
|
+
"depth": "soft",
|
|
2313
|
+
"density": "comfortable",
|
|
2314
|
+
"border": "regular",
|
|
2315
|
+
"size": "16",
|
|
2316
|
+
"leading": "normal",
|
|
2317
|
+
"flow": "normal",
|
|
2318
|
+
"measure": "70",
|
|
2319
|
+
"button": "solid",
|
|
2320
|
+
"field": "outline",
|
|
2321
|
+
"preset": "default"
|
|
2322
|
+
},
|
|
2323
|
+
"adjustments": [
|
|
2324
|
+
{
|
|
2325
|
+
"token": "destructive",
|
|
2326
|
+
"mode": "light",
|
|
2327
|
+
"from": "#dc2626",
|
|
2328
|
+
"to": "#d92223"
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"token": "primary",
|
|
2332
|
+
"mode": "dark",
|
|
2333
|
+
"from": "#3b82f6",
|
|
2334
|
+
"to": "#448bff"
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"token": "destructive",
|
|
2338
|
+
"mode": "dark",
|
|
2339
|
+
"from": "#ef4444",
|
|
2340
|
+
"to": "#fb504e"
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"token": "ring",
|
|
2344
|
+
"mode": "dark",
|
|
2345
|
+
"from": "#3b82f6",
|
|
2346
|
+
"to": "#448bff"
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"token": "sidebar-primary",
|
|
2350
|
+
"mode": "dark",
|
|
2351
|
+
"from": "#3b82f6",
|
|
2352
|
+
"to": "#448bff"
|
|
2353
|
+
},
|
|
2354
|
+
{
|
|
2355
|
+
"token": "sidebar-ring",
|
|
2356
|
+
"mode": "dark",
|
|
2357
|
+
"from": "#3b82f6",
|
|
2358
|
+
"to": "#448bff"
|
|
2359
|
+
}
|
|
2360
|
+
]
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
}
|