ui-foundations 0.3.2 → 0.4.1

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.
Files changed (69) hide show
  1. package/README.md +179 -36
  2. package/dist/assets/icons/checkmark.svg +1 -0
  3. package/dist/core/index.css +7 -7
  4. package/dist/macros/ui.njk +142 -0
  5. package/dist/main.css +465 -173
  6. package/dist/react/badge.js +41 -0
  7. package/dist/react/button.js +15 -6
  8. package/dist/react/checkbox.js +30 -0
  9. package/dist/react/icon.js +19 -1
  10. package/dist/react/index.js +2 -0
  11. package/dist/react/label.js +1 -1
  12. package/dist/react/radio.js +62 -0
  13. package/dist/react/switch.js +18 -0
  14. package/dist/tokens/css/{appearance-(modes).tokens.mode-dark.css → appearance-modes.tokens.mode-dark.css} +1 -1
  15. package/dist/tokens/css/{appearance-(modes).tokens.mode-light.css → appearance-modes.tokens.mode-light.css} +1 -1
  16. package/dist/tokens/css/{components-(ui).tokens.css → components-ui.tokens.css} +46 -3
  17. package/dist/tokens/css/{core-(primitives).tokens.css → core-primitives.tokens.css} +61 -19
  18. package/dist/tokens/css/{semantics-(roles).tokens.css → semantics-roles.tokens.css} +1 -1
  19. package/dist/tokens/css/themes-brands.tokens.brand-a.css +22 -0
  20. package/dist/tokens/css/{themes-(brands).tokens.brand-b.css → themes-brands.tokens.brand-b.css} +9 -9
  21. package/dist/tokens/json/appearance-modes.tokens.mode-dark.json +121 -0
  22. package/dist/tokens/json/appearance-modes.tokens.mode-light.json +121 -0
  23. package/dist/tokens/json/components-ui.tokens.json +715 -0
  24. package/dist/tokens/json/{core-(primitives).tokens.json → core-primitives.tokens.json} +227 -413
  25. package/dist/tokens/json/semantics-roles.tokens.json +141 -0
  26. package/dist/tokens/json/themes-brands.tokens.brand-a.json +81 -0
  27. package/dist/tokens/json/themes-brands.tokens.brand-b.json +81 -0
  28. package/dist/tokens/missing-tokens.json +43 -0
  29. package/dist/tokens/tokens.yaml +1254 -149
  30. package/dist/tokens/ts/{appearance-(modes).tokens.mode-dark.ts → appearance-modes.tokens.mode-dark.ts} +1 -1
  31. package/dist/tokens/ts/{appearance-(modes).tokens.mode-light.ts → appearance-modes.tokens.mode-light.ts} +1 -1
  32. package/dist/tokens/ts/{components-(ui).tokens.ts → components-ui.tokens.ts} +47 -4
  33. package/dist/tokens/ts/{core-(primitives).tokens.ts → core-primitives.tokens.ts} +62 -20
  34. package/dist/tokens/ts/{semantics-(roles).tokens.ts → semantics-roles.tokens.ts} +1 -1
  35. package/dist/tokens/ts/{themes-(brands).tokens.brand-a.ts → themes-brands.tokens.brand-a.ts} +9 -9
  36. package/dist/tokens/ts/{themes-(brands).tokens.brand-b.ts → themes-brands.tokens.brand-b.ts} +9 -9
  37. package/dist/ui/index.css +2 -0
  38. package/dist/ui/patterns/badge.css +49 -0
  39. package/dist/ui/patterns/checkbox.css +71 -22
  40. package/dist/ui/patterns/radio.css +109 -0
  41. package/docs/README.md +38 -0
  42. package/docs/agentic/README.md +34 -0
  43. package/docs/agentic/assistant-behavior-rules.md +48 -0
  44. package/docs/agentic/skills/ux-writing-coach.md +116 -0
  45. package/docs/foundations/README.md +31 -0
  46. package/docs/foundations/foundation-001-token-layering.md +6 -0
  47. package/docs/foundations/foundation-002-naming-and-grouping.md +6 -0
  48. package/docs/foundations/foundation-003-color-semantics-and-status.md +6 -0
  49. package/docs/foundations/foundation-004-typography-scale-and-line-height.md +6 -0
  50. package/docs/foundations/foundation-005-responsive-breakpoints-and-containers.md +6 -0
  51. package/docs/foundations/foundation-006-z-index-layering.md +6 -0
  52. package/docs/foundations/foundation-007-typography-selectors-and-specificity.md +6 -0
  53. package/docs/foundations/foundation-008-mode-activation-and-consumer-control.md +6 -0
  54. package/docs/foundations/foundation-009-component-boundaries-and-utility.md +6 -0
  55. package/docs/foundations/foundation-010-implementation-and-pipeline-workflow.md +6 -0
  56. package/docs/foundations/foundation-011-branching-and-release-governance.md +6 -0
  57. package/docs/foundations/foundation-012-minimal-markup-and-composition.md +6 -0
  58. package/package.json +15 -11
  59. package/dist/tokens/css/themes-(brands).tokens.brand-a.css +0 -22
  60. package/dist/tokens/json/appearance-(modes).tokens.mode-dark.json +0 -182
  61. package/dist/tokens/json/appearance-(modes).tokens.mode-light.json +0 -182
  62. package/dist/tokens/json/components-(ui).tokens.json +0 -739
  63. package/dist/tokens/json/semantics-(roles).tokens.json +0 -203
  64. package/dist/tokens/json/themes-(brands).tokens.brand-a.json +0 -115
  65. package/dist/tokens/json/themes-(brands).tokens.brand-b.json +0 -115
  66. package/docs/agentic/skills/README.md +0 -51
  67. package/docs/agentic/skills/design-ops-specialist/SKILL.md +0 -60
  68. package/docs/agentic/skills/design-system-architect/SKILL.md +0 -106
  69. package/docs/agentic/team-ai-playbook.md +0 -226
@@ -0,0 +1,715 @@
1
+ {
2
+ "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
3
+ "Button": {
4
+ "Border Size Hover": {
5
+ "$type": "number",
6
+ "$value": "{Size.Border.100}"
7
+ },
8
+ "Solid": {
9
+ "Border": {
10
+ "Color Default": {
11
+ "$type": "color",
12
+ "$value": "{Color.Border.Brand}"
13
+ },
14
+ "Color Hover": {
15
+ "$type": "color",
16
+ "$value": "{Color.Border.Brand}"
17
+ },
18
+ "Color Active": {
19
+ "$type": "color",
20
+ "$value": "{Color.Border.Brand}"
21
+ },
22
+ "Color Focus": {
23
+ "$type": "color",
24
+ "$value": "{Color.Border.Brand}"
25
+ }
26
+ },
27
+ "Text Color Default": {
28
+ "$type": "color",
29
+ "$value": "{Color.Text.Inverse}"
30
+ },
31
+ "Container": {
32
+ "Background Default": {
33
+ "$type": "color",
34
+ "$value": "{Color.Fill.Brand}"
35
+ },
36
+ "Background Hover": {
37
+ "$type": "color",
38
+ "$value": "{Color.Fill.Brand}"
39
+ },
40
+ "Background Active": {
41
+ "$type": "color",
42
+ "$value": "{Color.Fill.Brand}"
43
+ },
44
+ "Background Focus": {
45
+ "$type": "color",
46
+ "$value": "{Color.Fill.Brand}"
47
+ }
48
+ },
49
+ "Text Color Hover": {
50
+ "$type": "color",
51
+ "$value": "{Color.Text.Inverse}"
52
+ },
53
+ "Text Color Active": {
54
+ "$type": "color",
55
+ "$value": "{Color.Text.Inverse}"
56
+ }
57
+ },
58
+ "Outline": {
59
+ "Border": {
60
+ "Color Default": {
61
+ "$type": "color",
62
+ "$value": "{Color.Border.Brand}"
63
+ },
64
+ "Color Hover": {
65
+ "$type": "color",
66
+ "$value": "{Color.Border.Brand}"
67
+ },
68
+ "Color Active": {
69
+ "$type": "color",
70
+ "$value": "{Color.Border.Brand}"
71
+ },
72
+ "Color Focus": {
73
+ "$type": "color",
74
+ "$value": "{Color.Border.Brand}"
75
+ }
76
+ },
77
+ "Text Color Default": {
78
+ "$type": "color",
79
+ "$value": "{Color.Text.Brand}"
80
+ },
81
+ "Container": {
82
+ "Background Default": {
83
+ "$type": "color",
84
+ "$value": "{Color.Fill.Surface}"
85
+ },
86
+ "Background Active": {
87
+ "$type": "color",
88
+ "$value": "{Color.Fill.Surface}"
89
+ },
90
+ "Background Hover": {
91
+ "$type": "color",
92
+ "$value": "{Color.Fill.Surface}"
93
+ },
94
+ "Background Focus": {
95
+ "$type": "color",
96
+ "$value": "{Color.Fill.Surface}"
97
+ }
98
+ },
99
+ "Text Color Hover": {
100
+ "$type": "color",
101
+ "$value": "{Color.Text.Brand}"
102
+ },
103
+ "Text Color Active": {
104
+ "$type": "color",
105
+ "$value": "{Color.Text.Brand}"
106
+ }
107
+ },
108
+ "Ghost": {
109
+ "Container": {
110
+ "Background Default": {
111
+ "$type": "color",
112
+ "$value": "{Color.Fill.Surface}"
113
+ },
114
+ "Background Hover": {
115
+ "$type": "color",
116
+ "$value": "{Color.Fill.Surface}"
117
+ },
118
+ "Background Focus": {
119
+ "$type": "color",
120
+ "$value": "{Color.Fill.Surface}"
121
+ },
122
+ "Background Active": {
123
+ "$type": "color",
124
+ "$value": "{Color.Fill.Surface}"
125
+ }
126
+ },
127
+ "Border": {
128
+ "Color Default": {
129
+ "$type": "color",
130
+ "$value": "{Color.Transparent}"
131
+ },
132
+ "Color Hover": {
133
+ "$type": "color",
134
+ "$value": "{Color.Transparent}"
135
+ },
136
+ "Color Focus": {
137
+ "$type": "color",
138
+ "$value": "{Color.Transparent}"
139
+ },
140
+ "Color Active": {
141
+ "$type": "color",
142
+ "$value": "{Color.Transparent}"
143
+ }
144
+ },
145
+ "Text Color Default": {
146
+ "$type": "color",
147
+ "$value": "{Color.Text.Brand}"
148
+ },
149
+ "Text Color Hover": {
150
+ "$type": "color",
151
+ "$value": "{Color.Text.Brand}"
152
+ },
153
+ "Text Color Active": {
154
+ "$type": "color",
155
+ "$value": "{Color.Text.Brand}"
156
+ }
157
+ },
158
+ "Border Size Default": {
159
+ "$type": "number",
160
+ "$value": "{Size.Border.100}"
161
+ },
162
+ "Font Family": {
163
+ "$type": "fontFamily",
164
+ "$value": "{Brand.Font.Lead}"
165
+ },
166
+ "Line Height": {
167
+ "$type": "number",
168
+ "$value": "{Typography.Label.Line Height}"
169
+ },
170
+ "Border Radius": {
171
+ "$type": "number",
172
+ "$value": "{Brand.Corner.Button}"
173
+ },
174
+ "Font Weight": {
175
+ "$type": "fontWeight",
176
+ "$value": "{Typography.Label.Font Weight}"
177
+ },
178
+ "Font Size": {
179
+ "$type": "number",
180
+ "$value": "{Typography.Label.Font Size}"
181
+ },
182
+ "Padding Inline": {
183
+ "$type": "number",
184
+ "$value": "{Size.Spacing.400}"
185
+ },
186
+ "Gap": {
187
+ "$type": "number",
188
+ "$value": "{Size.Spacing.200}"
189
+ },
190
+ "Padding Block": {
191
+ "$type": "number",
192
+ "$value": "{Size.Spacing.200}"
193
+ },
194
+ "Container Background Disabled": {
195
+ "$type": "color",
196
+ "$value": "{Color.Fill.Disabled}"
197
+ },
198
+ "Border Color Disabled": {
199
+ "$type": "color",
200
+ "$value": "{Color.Border.Disabled}"
201
+ },
202
+ "Text Color Disabled": {
203
+ "$type": "color",
204
+ "$value": "{Color.Text.Disabled}"
205
+ },
206
+ "Border Size Active": {
207
+ "$type": "number",
208
+ "$value": "{Size.Border.200}"
209
+ },
210
+ "Overlay Hover": {
211
+ "$type": "color",
212
+ "$value": "{Color.Overlay.Hover}"
213
+ },
214
+ "Overlay Active": {
215
+ "$type": "color",
216
+ "$value": "{Color.Overlay.Active}"
217
+ },
218
+ "Padding Inline Icon Only": {
219
+ "$type": "number",
220
+ "$value": "{Size.Spacing.200}"
221
+ },
222
+ "Height Min": {
223
+ "$type": "dimension",
224
+ "$value": {
225
+ "value": 40,
226
+ "unit": "px"
227
+ }
228
+ },
229
+ "Group": {
230
+ "Gap": {
231
+ "$type": "number",
232
+ "$value": "{Size.Spacing.200}"
233
+ }
234
+ },
235
+ "Width Min": {
236
+ "$type": "dimension",
237
+ "$value": {
238
+ "value": 40,
239
+ "unit": "px"
240
+ }
241
+ }
242
+ },
243
+ "Modal": {
244
+ "Backdrop": {
245
+ "Color": {
246
+ "$type": "color",
247
+ "$value": "{Color.Overlay.Backdrop}"
248
+ }
249
+ },
250
+ "Surface": {
251
+ "Color": {
252
+ "$type": "color",
253
+ "$value": "{Color.Fill.Surface}"
254
+ },
255
+ "Border Radius": {
256
+ "$type": "number",
257
+ "$value": "{Brand.Corner.Modal}"
258
+ }
259
+ }
260
+ },
261
+ "Input": {
262
+ "Text": {
263
+ "Text Color Default": {
264
+ "$type": "color",
265
+ "$value": "{Color.Text.Default}"
266
+ },
267
+ "Text Color Hover": {
268
+ "$type": "color",
269
+ "$value": "{Color.Text.Default}"
270
+ },
271
+ "Text Color Active": {
272
+ "$type": "color",
273
+ "$value": "{Color.Text.Default}"
274
+ },
275
+ "Border": {
276
+ "Color Default": {
277
+ "$type": "color",
278
+ "$value": "{Color.Border.Default}"
279
+ },
280
+ "Color Hover": {
281
+ "$type": "color",
282
+ "$value": "{Color.Border.Brand}"
283
+ },
284
+ "Color Active": {
285
+ "$type": "color",
286
+ "$value": "{Color.Border.Brand}"
287
+ },
288
+ "Color Focus": {
289
+ "$type": "color",
290
+ "$value": "{Color.Border.Brand}"
291
+ },
292
+ "Color Invalid": {
293
+ "$type": "color",
294
+ "$value": "{Color.Border.Danger}"
295
+ },
296
+ "Color Valid": {
297
+ "$type": "color",
298
+ "$value": "{Color.Border.Strong}"
299
+ }
300
+ },
301
+ "Container": {
302
+ "Background Default": {
303
+ "$type": "color",
304
+ "$value": "{Color.Fill.Surface}"
305
+ },
306
+ "Background Hover": {
307
+ "$type": "color",
308
+ "$value": "{Color.Fill.Surface}"
309
+ },
310
+ "Background Focus": {
311
+ "$type": "color",
312
+ "$value": "{Color.Fill.Surface}"
313
+ },
314
+ "Background Active": {
315
+ "$type": "color",
316
+ "$value": "{Color.Fill.Surface}"
317
+ }
318
+ },
319
+ "Text Color Placeholder": {
320
+ "$type": "color",
321
+ "$value": "{Color.Text.Subtle}"
322
+ },
323
+ "Height Min": {
324
+ "$type": "dimension",
325
+ "$value": {
326
+ "value": 40,
327
+ "unit": "px"
328
+ }
329
+ }
330
+ },
331
+ "Font Family": {
332
+ "$type": "fontFamily",
333
+ "$value": "{Brand.Font.Base}"
334
+ },
335
+ "Font Weight": {
336
+ "$type": "fontWeight",
337
+ "$value": "{Typography.Body.Font Weight}"
338
+ },
339
+ "Font Size": {
340
+ "$type": "number",
341
+ "$value": "{Typography.Label.Font Size}"
342
+ },
343
+ "Line Height": {
344
+ "$type": "number",
345
+ "$value": "{Typography.Body.Line Height}"
346
+ },
347
+ "Border Size Default": {
348
+ "$type": "number",
349
+ "$value": "{Size.Border.100}"
350
+ },
351
+ "Border Size Hover": {
352
+ "$type": "number",
353
+ "$value": "{Size.Border.100}"
354
+ },
355
+ "Border Size Active": {
356
+ "$type": "number",
357
+ "$value": "{Size.Border.200}"
358
+ },
359
+ "Border Radius": {
360
+ "$type": "number",
361
+ "$value": "{Brand.Corner.Input}"
362
+ },
363
+ "Padding Inline": {
364
+ "$type": "number",
365
+ "$value": "{Size.Spacing.200}"
366
+ },
367
+ "Padding Inline Icon Only": {
368
+ "$type": "number",
369
+ "$value": "{Size.Spacing.200}"
370
+ },
371
+ "Padding Block": {
372
+ "$type": "number",
373
+ "$value": "{Size.Spacing.200}"
374
+ },
375
+ "Gap": {
376
+ "$type": "number",
377
+ "$value": "{Size.Spacing.200}"
378
+ },
379
+ "Text Color Disabled": {
380
+ "$type": "color",
381
+ "$value": "{Color.Text.Disabled}"
382
+ },
383
+ "Border Color Disabled": {
384
+ "$type": "color",
385
+ "$value": "{Color.Border.Disabled}"
386
+ },
387
+ "Container Background Disabled": {
388
+ "$type": "color",
389
+ "$value": "{Color.Fill.Disabled}"
390
+ },
391
+ "Overlay Hover": {
392
+ "$type": "color",
393
+ "$value": "{Color.Transparent}"
394
+ },
395
+ "Overlay Active": {
396
+ "$type": "color",
397
+ "$value": "{Color.Transparent}"
398
+ },
399
+ "Height": {
400
+ "$type": "dimension",
401
+ "$value": {
402
+ "value": 40,
403
+ "unit": "px"
404
+ }
405
+ },
406
+ "Checkbox": {
407
+ "Text Color Default": {
408
+ "$type": "color",
409
+ "$value": "{Color.Text.Default}"
410
+ },
411
+ "Text Color Hover": {
412
+ "$type": "color",
413
+ "$value": "{Color.Text.Strong}"
414
+ },
415
+ "Text Color Active": {
416
+ "$type": "color",
417
+ "$value": "{Color.Text.Inverse}"
418
+ },
419
+ "Border": {
420
+ "Color Default": {
421
+ "$type": "color",
422
+ "$value": "{Color.Border.Subtle}"
423
+ },
424
+ "Color Hover": {
425
+ "$type": "color",
426
+ "$value": "{Color.Border.Strong}"
427
+ },
428
+ "Color Active": {
429
+ "$type": "color",
430
+ "$value": "{Color.Border.Brand}"
431
+ },
432
+ "Color Focus": {
433
+ "$type": "color",
434
+ "$value": "{Color.Border.Brand}"
435
+ },
436
+ "Color Invalid": {
437
+ "$type": "color",
438
+ "$value": "{Color.Border.Danger}"
439
+ },
440
+ "Color Valid": {
441
+ "$type": "color",
442
+ "$value": "{Color.Border.Strong}"
443
+ },
444
+ "Color Disabled": {
445
+ "$type": "color",
446
+ "$value": "{Color.Border.Disabled}"
447
+ }
448
+ },
449
+ "Container": {
450
+ "Background Default": {
451
+ "$type": "color",
452
+ "$value": "{Color.Fill.Surface}"
453
+ },
454
+ "Background Hover": {
455
+ "$type": "color",
456
+ "$value": "{Color.Fill.Surface}"
457
+ },
458
+ "Background Focus": {
459
+ "$type": "color",
460
+ "$value": "{Color.Fill.Surface}"
461
+ },
462
+ "Background Active": {
463
+ "$type": "color",
464
+ "$value": "{Color.Fill.Brand}"
465
+ },
466
+ "Background Disabled": {
467
+ "$type": "color",
468
+ "$value": "{Color.Fill.Disabled}"
469
+ }
470
+ },
471
+ "Text Color Disabled": {
472
+ "$type": "color",
473
+ "$value": "{Color.Text.Disabled}"
474
+ },
475
+ "Border Size Hover": {
476
+ "$type": "number",
477
+ "$value": "{Size.Border.200}"
478
+ },
479
+ "Border Size Disabled": {
480
+ "$type": "number",
481
+ "$value": "{Size.Border.000}"
482
+ },
483
+ "Border Size Default": {
484
+ "$type": "number",
485
+ "$value": "{Size.Border.100}"
486
+ }
487
+ },
488
+ "Radio": {
489
+ "Text Color Default": {
490
+ "$type": "color",
491
+ "$value": "{Color.Text.Default}"
492
+ },
493
+ "Text Color Hover": {
494
+ "$type": "color",
495
+ "$value": "{Color.Text.Strong}"
496
+ },
497
+ "Text Color Active": {
498
+ "$type": "color",
499
+ "$value": "{Color.Text.Inverse}"
500
+ },
501
+ "Text Color Disabled": {
502
+ "$type": "color",
503
+ "$value": "{Color.Text.Disabled}"
504
+ },
505
+ "Border": {
506
+ "Color Default": {
507
+ "$type": "color",
508
+ "$value": "{Color.Border.Subtle}"
509
+ },
510
+ "Color Hover": {
511
+ "$type": "color",
512
+ "$value": "{Color.Border.Strong}"
513
+ },
514
+ "Color Active": {
515
+ "$type": "color",
516
+ "$value": "{Color.Border.Brand}"
517
+ },
518
+ "Color Focus": {
519
+ "$type": "color",
520
+ "$value": "{Color.Border.Brand}"
521
+ },
522
+ "Color Disabled": {
523
+ "$type": "color",
524
+ "$value": "{Color.Border.Disabled}"
525
+ }
526
+ },
527
+ "Container": {
528
+ "Background Default": {
529
+ "$type": "color",
530
+ "$value": "{Color.Fill.Surface}"
531
+ },
532
+ "Background Hover": {
533
+ "$type": "color",
534
+ "$value": "{Color.Fill.Surface}"
535
+ },
536
+ "Background Focus": {
537
+ "$type": "color",
538
+ "$value": "{Color.Fill.Surface}"
539
+ },
540
+ "Background Active": {
541
+ "$type": "color",
542
+ "$value": "{Color.Fill.Brand}"
543
+ },
544
+ "Background Disabled": {
545
+ "$type": "color",
546
+ "$value": "{Color.Fill.Disabled}"
547
+ }
548
+ },
549
+ "Border Size Default": {
550
+ "$type": "number",
551
+ "$value": "{Size.Border.100}"
552
+ },
553
+ "Border Size Hover": {
554
+ "$type": "number",
555
+ "$value": "{Size.Border.200}"
556
+ },
557
+ "Border Size Disabled": {
558
+ "$type": "number",
559
+ "$value": "{Size.Border.000}"
560
+ }
561
+ }
562
+ },
563
+ "Form": {
564
+ "Group": {
565
+ "Gap": {
566
+ "$type": "number",
567
+ "$value": "{Size.Spacing.400}"
568
+ },
569
+ "Title Color": {
570
+ "$type": "color",
571
+ "$value": "{Color.Text.Default}"
572
+ }
573
+ },
574
+ "Padding Inline": {
575
+ "$type": "number",
576
+ "$value": "{Size.Spacing.400}"
577
+ },
578
+ "Padding Block": {
579
+ "$type": "number",
580
+ "$value": "{Size.Spacing.400}"
581
+ },
582
+ "Border Radius": {
583
+ "$type": "number",
584
+ "$value": "{Brand.Corner.Card}"
585
+ },
586
+ "Gap": {
587
+ "$type": "number",
588
+ "$value": "{Size.Spacing.400}"
589
+ },
590
+ "Field": {
591
+ "Gap": {
592
+ "$type": "number",
593
+ "$value": "{Size.Spacing.200}"
594
+ },
595
+ "Helper Text Color Default": {
596
+ "$type": "color",
597
+ "$value": "{Color.Text.Subtle}"
598
+ },
599
+ "Helper Text Color Invalid": {
600
+ "$type": "color",
601
+ "$value": "{Color.Text.Danger}"
602
+ }
603
+ },
604
+ "Container Background": {
605
+ "$type": "color",
606
+ "$value": "{Color.Fill.Surface}"
607
+ },
608
+ "Container Border Color": {
609
+ "$type": "color",
610
+ "$value": "{Color.Border.Subtle}"
611
+ },
612
+ "Border Size": {
613
+ "$type": "number",
614
+ "$value": "{Size.Border.100}"
615
+ }
616
+ },
617
+ "Badge": {
618
+ "Default": {
619
+ "Container": {
620
+ "Background": {
621
+ "$type": "color",
622
+ "$value": "{Color.Fill.Subtle}"
623
+ }
624
+ },
625
+ "Text Color": {
626
+ "$type": "color",
627
+ "$value": "{Color.Text.Default}"
628
+ }
629
+ },
630
+ "Brand": {
631
+ "Container": {
632
+ "Background": {
633
+ "$type": "color",
634
+ "$value": "{Color.Fill.Brand}"
635
+ }
636
+ },
637
+ "Text Color": {
638
+ "$type": "color",
639
+ "$value": "{Color.Text.Inverse}"
640
+ }
641
+ },
642
+ "Success": {
643
+ "Container": {
644
+ "Background": {
645
+ "$type": "color",
646
+ "$value": "{Color.Fill.Success}"
647
+ }
648
+ },
649
+ "Text Color": {
650
+ "$type": "color",
651
+ "$value": "{Color.Text.Inverse}"
652
+ }
653
+ },
654
+ "Danger": {
655
+ "Container": {
656
+ "Background": {
657
+ "$type": "color",
658
+ "$value": "{Color.Fill.Danger}"
659
+ }
660
+ },
661
+ "Text Color": {
662
+ "$type": "color",
663
+ "$value": "{Color.Text.Inverse}"
664
+ }
665
+ },
666
+ "Border Radius": {
667
+ "$type": "number",
668
+ "$value": "{Size.Radius.Full}"
669
+ },
670
+ "Font Family": {
671
+ "$type": "fontFamily",
672
+ "$value": "{Typography.Label.Font Family}"
673
+ },
674
+ "Font Weight": {
675
+ "$type": "fontWeight",
676
+ "$value": "{Font.Weight.700}"
677
+ },
678
+ "Font Size Sm": {
679
+ "$type": "number",
680
+ "$value": "{Font.Size.xs}"
681
+ },
682
+ "Font Size Md": {
683
+ "$type": "number",
684
+ "$value": "{Font.Size.sm}"
685
+ },
686
+ "Line Height Sm": {
687
+ "$type": "number",
688
+ "$value": "{Line Height.xs}"
689
+ },
690
+ "Line Height Md": {
691
+ "$type": "number",
692
+ "$value": "{Line Height.sm}"
693
+ },
694
+ "Padding Inline Sm": {
695
+ "$type": "number",
696
+ "$value": "{Size.Spacing.200}"
697
+ },
698
+ "Padding Inline Md": {
699
+ "$type": "number",
700
+ "$value": "{Size.Spacing.300}"
701
+ },
702
+ "Padding Block Sm": {
703
+ "$type": "number",
704
+ "$value": "{Size.Spacing.000}"
705
+ },
706
+ "Padding Block Md": {
707
+ "$type": "number",
708
+ "$value": "{Size.Spacing.100}"
709
+ },
710
+ "Gap": {
711
+ "$type": "number",
712
+ "$value": "{Size.Spacing.100}"
713
+ }
714
+ }
715
+ }