@atom63/styles 0.1.0-beta.1 → 0.1.0-beta.11

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 (119) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +22 -13
  3. package/generated/atom63.figma-sync.json +23277 -0
  4. package/generated/atom63.tokens.json +19650 -8403
  5. package/generated/z-layers.d.ts +33 -0
  6. package/generated/z-layers.js +31 -0
  7. package/package.json +29 -15
  8. package/src/compat/a63-from-shadcn.css +281 -0
  9. package/src/compat/shadcn.browser.test.ts +23 -0
  10. package/src/compat/shadcn.css +133 -17
  11. package/src/contracts/action.css +4 -3
  12. package/src/contracts/action.native.css +11 -0
  13. package/src/contracts/action.tokens.json +66 -0
  14. package/src/contracts/badge.css +128 -58
  15. package/src/contracts/badge.resolver.json +454 -0
  16. package/src/contracts/choice.css +5 -2
  17. package/src/contracts/choice.native.css +9 -0
  18. package/src/contracts/choice.tokens.json +66 -0
  19. package/src/contracts/control.css +54 -57
  20. package/src/contracts/control.native.css +13 -0
  21. package/src/contracts/control.tokens.json +294 -0
  22. package/src/contracts/environment.css +178 -60
  23. package/src/contracts/environment.native.css +23 -0
  24. package/src/contracts/environment.resolver.json +1210 -0
  25. package/src/contracts/field.css +4 -2
  26. package/src/contracts/field.tokens.json +40 -0
  27. package/src/contracts/marker.css +6 -4
  28. package/src/contracts/marker.tokens.json +15 -0
  29. package/src/contracts/menu.css +25 -61
  30. package/src/contracts/menu.native.css +10 -0
  31. package/src/contracts/menu.resolver.json +122 -0
  32. package/src/contracts/overlay.css +11 -13
  33. package/src/contracts/overlay.native.css +13 -0
  34. package/src/contracts/overlay.tokens.json +103 -0
  35. package/src/contracts/segment.css +22 -68
  36. package/src/contracts/segment.tokens.json +19 -0
  37. package/src/contracts/selection.css +5 -1
  38. package/src/contracts/selection.tokens.json +42 -0
  39. package/src/contracts/skeleton.css +18 -2
  40. package/src/contracts/skeleton.resolver.json +62 -0
  41. package/src/contracts/surface.css +17 -24
  42. package/src/contracts/surface.native.css +17 -0
  43. package/src/contracts/surface.tokens.json +154 -0
  44. package/src/contracts/toggle.css +27 -3
  45. package/src/contracts/toggle.resolver.json +129 -0
  46. package/src/contracts/track.css +3 -1
  47. package/src/contracts/track.tokens.json +39 -0
  48. package/src/contracts/trigger.css +5 -2
  49. package/src/contracts/trigger.native.css +9 -0
  50. package/src/contracts/trigger.tokens.json +58 -0
  51. package/src/contracts/widget.css +76 -51
  52. package/src/contracts/widget.native.css +23 -0
  53. package/src/contracts/widget.resolver.json +1110 -0
  54. package/src/tailwind/roles.json +189 -0
  55. package/src/tailwind/theme.css +216 -24
  56. package/src/tailwind/utilities.css +17 -0
  57. package/src/themes/aqua.css +126 -89
  58. package/src/themes/aqua.native.css +80 -0
  59. package/src/themes/aqua.resolver.json +1304 -0
  60. package/src/themes/modern.css +10 -14
  61. package/src/themes/modern.native.css +16 -0
  62. package/src/themes/modern.resolver.json +350 -0
  63. package/src/themes/retro.css +22 -26
  64. package/src/themes/retro.native.css +16 -0
  65. package/src/themes/retro.resolver.json +794 -0
  66. package/src/themes/terminal.css +164 -41
  67. package/src/themes/terminal.native.css +22 -0
  68. package/src/themes/terminal.resolver.json +585 -0
  69. package/src/tokens/brand-action.css +65 -0
  70. package/src/tokens/brand-action.resolver.json +155 -0
  71. package/src/tokens/brand-ramp.css +108 -0
  72. package/src/tokens/brand-ramp.resolver.json +418 -0
  73. package/src/tokens/brand.css +6 -146
  74. package/src/tokens/chart-palette.browser.test.ts +188 -0
  75. package/src/tokens/color-mix-space.browser.test.ts +101 -0
  76. package/src/tokens/contrast.browser.test.ts +303 -5
  77. package/src/tokens/density.browser.test.ts +167 -0
  78. package/src/tokens/figma-parity.browser.test.ts +270 -0
  79. package/src/tokens/font.css +12 -0
  80. package/src/tokens/font.resolver.json +128 -0
  81. package/src/tokens/form-factor.browser.test.ts +129 -0
  82. package/src/tokens/foundation/effects.css +13 -13
  83. package/src/tokens/foundation/effects.resolver.json +433 -0
  84. package/src/tokens/foundation/fonts.css +11 -5
  85. package/src/tokens/foundation/fonts.tokens.json +45 -0
  86. package/src/tokens/foundation/motion.css +3 -0
  87. package/src/tokens/foundation/motion.tokens.json +53 -0
  88. package/src/tokens/foundation/palette.css +3 -0
  89. package/src/tokens/foundation/palette.tokens.json +1743 -0
  90. package/src/tokens/foundation/primitives.css +20 -43
  91. package/src/tokens/foundation/primitives.tokens.json +3258 -0
  92. package/src/tokens/foundation/radius.css +11 -9
  93. package/src/tokens/foundation/radius.tokens.json +108 -0
  94. package/src/tokens/foundation/typography.css +49 -12
  95. package/src/tokens/foundation/typography.native.css +21 -0
  96. package/src/tokens/foundation/typography.resolver.json +1008 -0
  97. package/src/tokens/foundation.css +0 -1
  98. package/src/tokens/index.css +1 -0
  99. package/src/tokens/motion.css +3 -1
  100. package/src/tokens/motion.resolver.json +135 -0
  101. package/src/tokens/native-values.json +38 -0
  102. package/src/tokens/personalization-axes.browser.test.ts +18 -3
  103. package/src/tokens/plate-scope.browser.test.ts +73 -0
  104. package/src/tokens/radius.css +12 -8
  105. package/src/tokens/radius.resolver.json +138 -0
  106. package/src/tokens/semantics.css +716 -41
  107. package/src/tokens/semantics.resolver.json +1639 -0
  108. package/src/tokens/space.css +8 -6
  109. package/src/tokens/space.tokens.json +78 -0
  110. package/src/tokens/surface.css +13 -19
  111. package/src/tokens/surface.resolver.json +706 -0
  112. package/src/tokens/swift-parity.browser.test.ts +141 -0
  113. package/src/tokens/type-roles.css +88 -0
  114. package/src/tokens/type-roles.resolver.json +419 -0
  115. package/src/tokens/type-scale.css +6 -0
  116. package/src/tokens/type-scale.resolver.json +67 -0
  117. package/generated/atom63.figma-tokens.json +0 -21664
  118. package/src/tokens/foundation/aliases.css +0 -28
  119. package/src/z-layers.ts +0 -40
@@ -0,0 +1,189 @@
1
+ {
2
+ "$description": "Semantic color roles: the shadcn role names, kept verbatim, mapped onto the canonical --a63-* tokens. scripts/generate-role-bridges.mjs writes the semantic block of tailwind/theme.css (as --color-<role>) and compat/shadcn.css (as --<role>) from this file. `accent` is the neutral hover and highlight plate, not the brand color.",
3
+ "groups": [
4
+ {
5
+ "label": "Surfaces and text",
6
+ "roles": {
7
+ "background": "--a63-surface-page",
8
+ "foreground": "--a63-text-primary",
9
+ "card": "--a63-surface-panel",
10
+ "card-foreground": "--a63-text-primary",
11
+ "popover": "--a63-surface-overlay",
12
+ "popover-foreground": "--a63-text-primary",
13
+ "muted": "--a63-surface-muted",
14
+ "muted-foreground": "--a63-text-secondary",
15
+ "secondary": "--a63-surface-muted",
16
+ "secondary-foreground": "--a63-text-secondary",
17
+ "accent": "--a63-surface-control-hover",
18
+ "accent-foreground": "--a63-text-primary",
19
+ "surface-sunken": "--a63-surface-control"
20
+ }
21
+ },
22
+ {
23
+ "label": "Borders and focus",
24
+ "roles": {
25
+ "border": "--a63-border-subtle",
26
+ "input": "--a63-border-input",
27
+ "ring": "--a63-focus-ring"
28
+ }
29
+ },
30
+ {
31
+ "label": "Actions",
32
+ "roles": {
33
+ "primary": "--a63-action-primary",
34
+ "primary-foreground": "--a63-action-primary-foreground",
35
+ "destructive": "--a63-action-danger",
36
+ "destructive-foreground": "--a63-action-danger-foreground"
37
+ }
38
+ },
39
+ {
40
+ "label": "Status",
41
+ "roles": {
42
+ "info": "--a63-status-info",
43
+ "info-foreground": "--a63-status-info-foreground",
44
+ "success": "--a63-status-success",
45
+ "success-foreground": "--a63-status-success-foreground",
46
+ "warning": "--a63-status-warning",
47
+ "warning-foreground": "--a63-status-warning-foreground"
48
+ }
49
+ },
50
+ {
51
+ "label": "Tints",
52
+ "roles": {
53
+ "destructive-subtle": "--a63-action-danger-subtle",
54
+ "destructive-subtle-foreground": "--a63-action-danger-subtle-foreground",
55
+ "info-subtle": "--a63-status-info-subtle",
56
+ "info-subtle-foreground": "--a63-status-info-subtle-foreground",
57
+ "success-subtle": "--a63-status-success-subtle",
58
+ "success-subtle-foreground": "--a63-status-success-subtle-foreground",
59
+ "warning-subtle": "--a63-status-warning-subtle",
60
+ "warning-subtle-foreground": "--a63-status-warning-subtle-foreground"
61
+ }
62
+ },
63
+ {
64
+ "label": "Selection",
65
+ "roles": {
66
+ "selected": "--a63-selected-background",
67
+ "selected-foreground": "--a63-selected-foreground",
68
+ "selected-accent": "--a63-selected-accent-background",
69
+ "selected-accent-foreground": "--a63-selected-accent-foreground"
70
+ }
71
+ },
72
+ {
73
+ "label": "Charts",
74
+ "roles": {
75
+ "chart-1": "--a63-chart-1",
76
+ "chart-2": "--a63-chart-2",
77
+ "chart-3": "--a63-chart-3",
78
+ "chart-4": "--a63-chart-4",
79
+ "chart-5": "--a63-chart-5"
80
+ }
81
+ },
82
+ {
83
+ "label": "Categories",
84
+ "roles": {
85
+ "category-red": "--a63-category-red",
86
+ "category-red-subtle": "--a63-category-red-subtle",
87
+ "category-red-subtle-foreground": "--a63-category-red-subtle-foreground",
88
+ "category-orange": "--a63-category-orange",
89
+ "category-orange-subtle": "--a63-category-orange-subtle",
90
+ "category-orange-subtle-foreground": "--a63-category-orange-subtle-foreground",
91
+ "category-amber": "--a63-category-amber",
92
+ "category-amber-subtle": "--a63-category-amber-subtle",
93
+ "category-amber-subtle-foreground": "--a63-category-amber-subtle-foreground",
94
+ "category-yellow": "--a63-category-yellow",
95
+ "category-yellow-subtle": "--a63-category-yellow-subtle",
96
+ "category-yellow-subtle-foreground": "--a63-category-yellow-subtle-foreground",
97
+ "category-lime": "--a63-category-lime",
98
+ "category-lime-subtle": "--a63-category-lime-subtle",
99
+ "category-lime-subtle-foreground": "--a63-category-lime-subtle-foreground",
100
+ "category-green": "--a63-category-green",
101
+ "category-green-subtle": "--a63-category-green-subtle",
102
+ "category-green-subtle-foreground": "--a63-category-green-subtle-foreground",
103
+ "category-emerald": "--a63-category-emerald",
104
+ "category-emerald-subtle": "--a63-category-emerald-subtle",
105
+ "category-emerald-subtle-foreground": "--a63-category-emerald-subtle-foreground",
106
+ "category-teal": "--a63-category-teal",
107
+ "category-teal-subtle": "--a63-category-teal-subtle",
108
+ "category-teal-subtle-foreground": "--a63-category-teal-subtle-foreground",
109
+ "category-cyan": "--a63-category-cyan",
110
+ "category-cyan-subtle": "--a63-category-cyan-subtle",
111
+ "category-cyan-subtle-foreground": "--a63-category-cyan-subtle-foreground",
112
+ "category-sky": "--a63-category-sky",
113
+ "category-sky-subtle": "--a63-category-sky-subtle",
114
+ "category-sky-subtle-foreground": "--a63-category-sky-subtle-foreground",
115
+ "category-blue": "--a63-category-blue",
116
+ "category-blue-subtle": "--a63-category-blue-subtle",
117
+ "category-blue-subtle-foreground": "--a63-category-blue-subtle-foreground",
118
+ "category-indigo": "--a63-category-indigo",
119
+ "category-indigo-subtle": "--a63-category-indigo-subtle",
120
+ "category-indigo-subtle-foreground": "--a63-category-indigo-subtle-foreground",
121
+ "category-violet": "--a63-category-violet",
122
+ "category-violet-subtle": "--a63-category-violet-subtle",
123
+ "category-violet-subtle-foreground": "--a63-category-violet-subtle-foreground",
124
+ "category-purple": "--a63-category-purple",
125
+ "category-purple-subtle": "--a63-category-purple-subtle",
126
+ "category-purple-subtle-foreground": "--a63-category-purple-subtle-foreground",
127
+ "category-fuchsia": "--a63-category-fuchsia",
128
+ "category-fuchsia-subtle": "--a63-category-fuchsia-subtle",
129
+ "category-fuchsia-subtle-foreground": "--a63-category-fuchsia-subtle-foreground",
130
+ "category-pink": "--a63-category-pink",
131
+ "category-pink-subtle": "--a63-category-pink-subtle",
132
+ "category-pink-subtle-foreground": "--a63-category-pink-subtle-foreground",
133
+ "category-rose": "--a63-category-rose",
134
+ "category-rose-subtle": "--a63-category-rose-subtle",
135
+ "category-rose-subtle-foreground": "--a63-category-rose-subtle-foreground",
136
+ "category-slate": "--a63-category-slate",
137
+ "category-slate-subtle": "--a63-category-slate-subtle",
138
+ "category-slate-subtle-foreground": "--a63-category-slate-subtle-foreground",
139
+ "category-gray": "--a63-category-gray",
140
+ "category-gray-subtle": "--a63-category-gray-subtle",
141
+ "category-gray-subtle-foreground": "--a63-category-gray-subtle-foreground",
142
+ "category-zinc": "--a63-category-zinc",
143
+ "category-zinc-subtle": "--a63-category-zinc-subtle",
144
+ "category-zinc-subtle-foreground": "--a63-category-zinc-subtle-foreground",
145
+ "category-neutral": "--a63-category-neutral",
146
+ "category-neutral-subtle": "--a63-category-neutral-subtle",
147
+ "category-neutral-subtle-foreground": "--a63-category-neutral-subtle-foreground",
148
+ "category-stone": "--a63-category-stone",
149
+ "category-stone-subtle": "--a63-category-stone-subtle",
150
+ "category-stone-subtle-foreground": "--a63-category-stone-subtle-foreground"
151
+ }
152
+ },
153
+ {
154
+ "label": "Media",
155
+ "roles": {
156
+ "media-stage": "--a63-media-stage",
157
+ "media-surface": "--a63-media-surface",
158
+ "media-scrim": "--a63-media-scrim",
159
+ "on-media-foreground": "--a63-on-media-foreground",
160
+ "on-media-surface": "--a63-on-media-surface",
161
+ "on-media-surface-strong": "--a63-on-media-surface-strong",
162
+ "on-media-border": "--a63-on-media-border",
163
+ "on-media-ring": "--a63-on-media-ring",
164
+ "on-media-veil": "--a63-on-media-veil",
165
+ "on-media-veil-strong": "--a63-on-media-veil-strong"
166
+ }
167
+ },
168
+ {
169
+ "label": "Sidebar",
170
+ "roles": {
171
+ "sidebar": "--a63-surface-sidebar",
172
+ "sidebar-foreground": "--a63-text-primary",
173
+ "sidebar-primary": "--a63-action-primary",
174
+ "sidebar-primary-foreground": "--a63-action-primary-foreground",
175
+ "sidebar-accent": "--a63-surface-control-hover",
176
+ "sidebar-accent-foreground": "--a63-text-primary",
177
+ "sidebar-border": "--a63-border-subtle",
178
+ "sidebar-ring": "--a63-focus-ring"
179
+ }
180
+ },
181
+ {
182
+ "label": "Fixed mode references",
183
+ "roles": {
184
+ "light": "--surface-light-1",
185
+ "dark": "--surface-dark-1"
186
+ }
187
+ }
188
+ ]
189
+ }
@@ -305,8 +305,6 @@
305
305
  --ease-spring: var(--ease-spring);
306
306
  }
307
307
 
308
- /* tokens/foundation/aliases.css */
309
-
310
308
  /* Tailwind CSS v4 @theme inline */
311
309
  @theme inline {
312
310
  --duration-fast: var(--duration-fast);
@@ -342,39 +340,137 @@
342
340
  --surface-light-9: var(--surface-light-9);
343
341
  }
344
342
 
345
- /* tokens/semantics.css — map Tailwind color utilities onto the canonical --a63-* layer */
343
+ /* Semantic roles — generated from src/tailwind/roles.json by scripts/generate-role-bridges.mjs; do not edit. */
346
344
  @theme inline {
347
- --color-accent: var(--a63-surface-control-hover);
348
- --color-accent-foreground: var(--a63-text-primary);
349
345
  --color-background: var(--a63-surface-page);
350
- --color-border: var(--a63-border-subtle);
346
+ --color-foreground: var(--a63-text-primary);
351
347
  --color-card: var(--a63-surface-panel);
352
348
  --color-card-foreground: var(--a63-text-primary);
353
- --color-dark: var(--surface-dark-1);
354
- --color-destructive: var(--a63-action-danger);
355
- --color-foreground: var(--a63-text-primary);
356
- --color-info: var(--a63-status-info);
357
- --color-input: var(--a63-border-control);
358
- --color-light: var(--surface-light-1);
359
- --color-muted: var(--a63-surface-muted);
360
- --color-muted-foreground: var(--a63-text-secondary);
361
349
  --color-popover: var(--a63-surface-overlay);
362
350
  --color-popover-foreground: var(--a63-text-primary);
363
- --color-primary: var(--a63-action-primary);
364
- --color-primary-foreground: var(--a63-action-primary-foreground);
365
- --color-ring: var(--a63-focus-ring);
351
+ --color-muted: var(--a63-surface-muted);
352
+ --color-muted-foreground: var(--a63-text-secondary);
366
353
  --color-secondary: var(--a63-surface-muted);
367
354
  --color-secondary-foreground: var(--a63-text-secondary);
368
- --color-sidebar: var(--a63-surface-muted);
369
- --color-sidebar-accent: var(--a63-surface-control-hover);
370
- --color-sidebar-accent-foreground: var(--a63-text-primary);
371
- --color-sidebar-border: var(--a63-border-subtle);
355
+ --color-accent: var(--a63-surface-control-hover);
356
+ --color-accent-foreground: var(--a63-text-primary);
357
+ --color-surface-sunken: var(--a63-surface-control);
358
+ --color-border: var(--a63-border-subtle);
359
+ --color-input: var(--a63-border-input);
360
+ --color-ring: var(--a63-focus-ring);
361
+ --color-primary: var(--a63-action-primary);
362
+ --color-primary-foreground: var(--a63-action-primary-foreground);
363
+ --color-destructive: var(--a63-action-danger);
364
+ --color-destructive-foreground: var(--a63-action-danger-foreground);
365
+ --color-info: var(--a63-status-info);
366
+ --color-info-foreground: var(--a63-status-info-foreground);
367
+ --color-success: var(--a63-status-success);
368
+ --color-success-foreground: var(--a63-status-success-foreground);
369
+ --color-warning: var(--a63-status-warning);
370
+ --color-warning-foreground: var(--a63-status-warning-foreground);
371
+ --color-destructive-subtle: var(--a63-action-danger-subtle);
372
+ --color-destructive-subtle-foreground: var(--a63-action-danger-subtle-foreground);
373
+ --color-info-subtle: var(--a63-status-info-subtle);
374
+ --color-info-subtle-foreground: var(--a63-status-info-subtle-foreground);
375
+ --color-success-subtle: var(--a63-status-success-subtle);
376
+ --color-success-subtle-foreground: var(--a63-status-success-subtle-foreground);
377
+ --color-warning-subtle: var(--a63-status-warning-subtle);
378
+ --color-warning-subtle-foreground: var(--a63-status-warning-subtle-foreground);
379
+ --color-selected: var(--a63-selected-background);
380
+ --color-selected-foreground: var(--a63-selected-foreground);
381
+ --color-selected-accent: var(--a63-selected-accent-background);
382
+ --color-selected-accent-foreground: var(--a63-selected-accent-foreground);
383
+ --color-chart-1: var(--a63-chart-1);
384
+ --color-chart-2: var(--a63-chart-2);
385
+ --color-chart-3: var(--a63-chart-3);
386
+ --color-chart-4: var(--a63-chart-4);
387
+ --color-chart-5: var(--a63-chart-5);
388
+ --color-category-red: var(--a63-category-red);
389
+ --color-category-red-subtle: var(--a63-category-red-subtle);
390
+ --color-category-red-subtle-foreground: var(--a63-category-red-subtle-foreground);
391
+ --color-category-orange: var(--a63-category-orange);
392
+ --color-category-orange-subtle: var(--a63-category-orange-subtle);
393
+ --color-category-orange-subtle-foreground: var(--a63-category-orange-subtle-foreground);
394
+ --color-category-amber: var(--a63-category-amber);
395
+ --color-category-amber-subtle: var(--a63-category-amber-subtle);
396
+ --color-category-amber-subtle-foreground: var(--a63-category-amber-subtle-foreground);
397
+ --color-category-yellow: var(--a63-category-yellow);
398
+ --color-category-yellow-subtle: var(--a63-category-yellow-subtle);
399
+ --color-category-yellow-subtle-foreground: var(--a63-category-yellow-subtle-foreground);
400
+ --color-category-lime: var(--a63-category-lime);
401
+ --color-category-lime-subtle: var(--a63-category-lime-subtle);
402
+ --color-category-lime-subtle-foreground: var(--a63-category-lime-subtle-foreground);
403
+ --color-category-green: var(--a63-category-green);
404
+ --color-category-green-subtle: var(--a63-category-green-subtle);
405
+ --color-category-green-subtle-foreground: var(--a63-category-green-subtle-foreground);
406
+ --color-category-emerald: var(--a63-category-emerald);
407
+ --color-category-emerald-subtle: var(--a63-category-emerald-subtle);
408
+ --color-category-emerald-subtle-foreground: var(--a63-category-emerald-subtle-foreground);
409
+ --color-category-teal: var(--a63-category-teal);
410
+ --color-category-teal-subtle: var(--a63-category-teal-subtle);
411
+ --color-category-teal-subtle-foreground: var(--a63-category-teal-subtle-foreground);
412
+ --color-category-cyan: var(--a63-category-cyan);
413
+ --color-category-cyan-subtle: var(--a63-category-cyan-subtle);
414
+ --color-category-cyan-subtle-foreground: var(--a63-category-cyan-subtle-foreground);
415
+ --color-category-sky: var(--a63-category-sky);
416
+ --color-category-sky-subtle: var(--a63-category-sky-subtle);
417
+ --color-category-sky-subtle-foreground: var(--a63-category-sky-subtle-foreground);
418
+ --color-category-blue: var(--a63-category-blue);
419
+ --color-category-blue-subtle: var(--a63-category-blue-subtle);
420
+ --color-category-blue-subtle-foreground: var(--a63-category-blue-subtle-foreground);
421
+ --color-category-indigo: var(--a63-category-indigo);
422
+ --color-category-indigo-subtle: var(--a63-category-indigo-subtle);
423
+ --color-category-indigo-subtle-foreground: var(--a63-category-indigo-subtle-foreground);
424
+ --color-category-violet: var(--a63-category-violet);
425
+ --color-category-violet-subtle: var(--a63-category-violet-subtle);
426
+ --color-category-violet-subtle-foreground: var(--a63-category-violet-subtle-foreground);
427
+ --color-category-purple: var(--a63-category-purple);
428
+ --color-category-purple-subtle: var(--a63-category-purple-subtle);
429
+ --color-category-purple-subtle-foreground: var(--a63-category-purple-subtle-foreground);
430
+ --color-category-fuchsia: var(--a63-category-fuchsia);
431
+ --color-category-fuchsia-subtle: var(--a63-category-fuchsia-subtle);
432
+ --color-category-fuchsia-subtle-foreground: var(--a63-category-fuchsia-subtle-foreground);
433
+ --color-category-pink: var(--a63-category-pink);
434
+ --color-category-pink-subtle: var(--a63-category-pink-subtle);
435
+ --color-category-pink-subtle-foreground: var(--a63-category-pink-subtle-foreground);
436
+ --color-category-rose: var(--a63-category-rose);
437
+ --color-category-rose-subtle: var(--a63-category-rose-subtle);
438
+ --color-category-rose-subtle-foreground: var(--a63-category-rose-subtle-foreground);
439
+ --color-category-slate: var(--a63-category-slate);
440
+ --color-category-slate-subtle: var(--a63-category-slate-subtle);
441
+ --color-category-slate-subtle-foreground: var(--a63-category-slate-subtle-foreground);
442
+ --color-category-gray: var(--a63-category-gray);
443
+ --color-category-gray-subtle: var(--a63-category-gray-subtle);
444
+ --color-category-gray-subtle-foreground: var(--a63-category-gray-subtle-foreground);
445
+ --color-category-zinc: var(--a63-category-zinc);
446
+ --color-category-zinc-subtle: var(--a63-category-zinc-subtle);
447
+ --color-category-zinc-subtle-foreground: var(--a63-category-zinc-subtle-foreground);
448
+ --color-category-neutral: var(--a63-category-neutral);
449
+ --color-category-neutral-subtle: var(--a63-category-neutral-subtle);
450
+ --color-category-neutral-subtle-foreground: var(--a63-category-neutral-subtle-foreground);
451
+ --color-category-stone: var(--a63-category-stone);
452
+ --color-category-stone-subtle: var(--a63-category-stone-subtle);
453
+ --color-category-stone-subtle-foreground: var(--a63-category-stone-subtle-foreground);
454
+ --color-media-stage: var(--a63-media-stage);
455
+ --color-media-surface: var(--a63-media-surface);
456
+ --color-media-scrim: var(--a63-media-scrim);
457
+ --color-on-media-foreground: var(--a63-on-media-foreground);
458
+ --color-on-media-surface: var(--a63-on-media-surface);
459
+ --color-on-media-surface-strong: var(--a63-on-media-surface-strong);
460
+ --color-on-media-border: var(--a63-on-media-border);
461
+ --color-on-media-ring: var(--a63-on-media-ring);
462
+ --color-on-media-veil: var(--a63-on-media-veil);
463
+ --color-on-media-veil-strong: var(--a63-on-media-veil-strong);
464
+ --color-sidebar: var(--a63-surface-sidebar);
372
465
  --color-sidebar-foreground: var(--a63-text-primary);
373
466
  --color-sidebar-primary: var(--a63-action-primary);
374
467
  --color-sidebar-primary-foreground: var(--a63-action-primary-foreground);
468
+ --color-sidebar-accent: var(--a63-surface-control-hover);
469
+ --color-sidebar-accent-foreground: var(--a63-text-primary);
470
+ --color-sidebar-border: var(--a63-border-subtle);
375
471
  --color-sidebar-ring: var(--a63-focus-ring);
376
- --color-success: var(--a63-status-success);
377
- --color-warning: var(--a63-status-warning);
472
+ --color-light: var(--surface-light-1);
473
+ --color-dark: var(--surface-dark-1);
378
474
  }
379
475
 
380
476
  /* tokens/foundation/effects.css */
@@ -414,7 +510,13 @@
414
510
  --radius-2xl: var(--radius-2xl);
415
511
  --radius-3xl: var(--radius-3xl);
416
512
  --radius-4xl: var(--radius-4xl);
417
- --radius-full: var(--radius-full);
513
+ --radius-pill: var(--radius-pill);
514
+ }
515
+
516
+ @theme inline reference {
517
+ /* `rounded-full` is a true circle: it draws --radius-pill. Reference-only, so
518
+ Tailwind does not redeclare --radius-full, which stays the soft 2× xl step. */
519
+ --radius-full: var(--radius-pill);
418
520
  }
419
521
 
420
522
  /* tokens/foundation/fonts.css */
@@ -430,6 +532,8 @@
430
532
 
431
533
  @theme inline {
432
534
  --typography-scale: 1;
535
+ --text-2xs: var(--typography-2xs-font-size);
536
+ --text-2xs--line-height: var(--typography-2xs-line-height);
433
537
  --text-xs: var(--typography-xs-font-size);
434
538
  --text-xs--line-height: var(--typography-xs-line-height);
435
539
  --text-sm: var(--typography-sm-font-size);
@@ -514,3 +618,91 @@
514
618
  }
515
619
  }
516
620
  }
621
+
622
+ /* Text roles — generated from src/tokens/type-roles.resolver.json by scripts/generate-role-bridges.mjs; do not edit. */
623
+ @theme inline {
624
+ --text-display-hero: var(--a63-type-display-hero-font-size);
625
+ --text-display-hero--line-height: var(--a63-type-display-hero-line-height);
626
+ --text-display-hero--font-weight: var(--a63-type-display-hero-font-weight);
627
+ --text-display-hero-strong: var(--a63-type-display-hero-font-size);
628
+ --text-display-hero-strong--line-height: var(--a63-type-display-hero-line-height);
629
+ --text-display-hero-strong--font-weight: var(--a63-type-display-hero-font-weight-strong);
630
+ --text-display-large: var(--a63-type-display-large-font-size);
631
+ --text-display-large--line-height: var(--a63-type-display-large-line-height);
632
+ --text-display-large--font-weight: var(--a63-type-display-large-font-weight);
633
+ --text-display-large-strong: var(--a63-type-display-large-font-size);
634
+ --text-display-large-strong--line-height: var(--a63-type-display-large-line-height);
635
+ --text-display-large-strong--font-weight: var(--a63-type-display-large-font-weight-strong);
636
+ --text-display: var(--a63-type-display-font-size);
637
+ --text-display--line-height: var(--a63-type-display-line-height);
638
+ --text-display--font-weight: var(--a63-type-display-font-weight);
639
+ --text-display-strong: var(--a63-type-display-font-size);
640
+ --text-display-strong--line-height: var(--a63-type-display-line-height);
641
+ --text-display-strong--font-weight: var(--a63-type-display-font-weight-strong);
642
+ --text-large-title: var(--a63-type-large-title-font-size);
643
+ --text-large-title--line-height: var(--a63-type-large-title-line-height);
644
+ --text-large-title--font-weight: var(--a63-type-large-title-font-weight);
645
+ --text-large-title-strong: var(--a63-type-large-title-font-size);
646
+ --text-large-title-strong--line-height: var(--a63-type-large-title-line-height);
647
+ --text-large-title-strong--font-weight: var(--a63-type-large-title-font-weight-strong);
648
+ --text-title-1: var(--a63-type-title-1-font-size);
649
+ --text-title-1--line-height: var(--a63-type-title-1-line-height);
650
+ --text-title-1--font-weight: var(--a63-type-title-1-font-weight);
651
+ --text-title-1-strong: var(--a63-type-title-1-font-size);
652
+ --text-title-1-strong--line-height: var(--a63-type-title-1-line-height);
653
+ --text-title-1-strong--font-weight: var(--a63-type-title-1-font-weight-strong);
654
+ --text-title-2: var(--a63-type-title-2-font-size);
655
+ --text-title-2--line-height: var(--a63-type-title-2-line-height);
656
+ --text-title-2--font-weight: var(--a63-type-title-2-font-weight);
657
+ --text-title-2-strong: var(--a63-type-title-2-font-size);
658
+ --text-title-2-strong--line-height: var(--a63-type-title-2-line-height);
659
+ --text-title-2-strong--font-weight: var(--a63-type-title-2-font-weight-strong);
660
+ --text-title-3: var(--a63-type-title-3-font-size);
661
+ --text-title-3--line-height: var(--a63-type-title-3-line-height);
662
+ --text-title-3--font-weight: var(--a63-type-title-3-font-weight);
663
+ --text-title-3-strong: var(--a63-type-title-3-font-size);
664
+ --text-title-3-strong--line-height: var(--a63-type-title-3-line-height);
665
+ --text-title-3-strong--font-weight: var(--a63-type-title-3-font-weight-strong);
666
+ --text-headline: var(--a63-type-headline-font-size);
667
+ --text-headline--line-height: var(--a63-type-headline-line-height);
668
+ --text-headline--font-weight: var(--a63-type-headline-font-weight);
669
+ --text-headline-strong: var(--a63-type-headline-font-size);
670
+ --text-headline-strong--line-height: var(--a63-type-headline-line-height);
671
+ --text-headline-strong--font-weight: var(--a63-type-headline-font-weight-strong);
672
+ --text-body: var(--a63-type-body-font-size);
673
+ --text-body--line-height: var(--a63-type-body-line-height);
674
+ --text-body--font-weight: var(--a63-type-body-font-weight);
675
+ --text-body-strong: var(--a63-type-body-font-size);
676
+ --text-body-strong--line-height: var(--a63-type-body-line-height);
677
+ --text-body-strong--font-weight: var(--a63-type-body-font-weight-strong);
678
+ --text-callout: var(--a63-type-callout-font-size);
679
+ --text-callout--line-height: var(--a63-type-callout-line-height);
680
+ --text-callout--font-weight: var(--a63-type-callout-font-weight);
681
+ --text-callout-strong: var(--a63-type-callout-font-size);
682
+ --text-callout-strong--line-height: var(--a63-type-callout-line-height);
683
+ --text-callout-strong--font-weight: var(--a63-type-callout-font-weight-strong);
684
+ --text-subhead: var(--a63-type-subhead-font-size);
685
+ --text-subhead--line-height: var(--a63-type-subhead-line-height);
686
+ --text-subhead--font-weight: var(--a63-type-subhead-font-weight);
687
+ --text-subhead-strong: var(--a63-type-subhead-font-size);
688
+ --text-subhead-strong--line-height: var(--a63-type-subhead-line-height);
689
+ --text-subhead-strong--font-weight: var(--a63-type-subhead-font-weight-strong);
690
+ --text-footnote: var(--a63-type-footnote-font-size);
691
+ --text-footnote--line-height: var(--a63-type-footnote-line-height);
692
+ --text-footnote--font-weight: var(--a63-type-footnote-font-weight);
693
+ --text-footnote-strong: var(--a63-type-footnote-font-size);
694
+ --text-footnote-strong--line-height: var(--a63-type-footnote-line-height);
695
+ --text-footnote-strong--font-weight: var(--a63-type-footnote-font-weight-strong);
696
+ --text-caption-1: var(--a63-type-caption-1-font-size);
697
+ --text-caption-1--line-height: var(--a63-type-caption-1-line-height);
698
+ --text-caption-1--font-weight: var(--a63-type-caption-1-font-weight);
699
+ --text-caption-1-strong: var(--a63-type-caption-1-font-size);
700
+ --text-caption-1-strong--line-height: var(--a63-type-caption-1-line-height);
701
+ --text-caption-1-strong--font-weight: var(--a63-type-caption-1-font-weight-strong);
702
+ --text-caption-2: var(--a63-type-caption-2-font-size);
703
+ --text-caption-2--line-height: var(--a63-type-caption-2-line-height);
704
+ --text-caption-2--font-weight: var(--a63-type-caption-2-font-weight);
705
+ --text-caption-2-strong: var(--a63-type-caption-2-font-size);
706
+ --text-caption-2-strong--line-height: var(--a63-type-caption-2-line-height);
707
+ --text-caption-2-strong--font-weight: var(--a63-type-caption-2-font-weight-strong);
708
+ }
@@ -39,3 +39,20 @@
39
39
  --scroll-mask-fade-from-r: --value(percentage);
40
40
  --scroll-mask-fade-from-r: --value([length], [percentage]);
41
41
  }
42
+
43
+ /* The fraction of a display amount ("$13.25" with ".25" small and raised), as
44
+ banking and pricing screens draw balances. Wrap the fraction in it and keep the
45
+ whole amount in one text-display span with tabular-nums. */
46
+ @utility amount-fraction {
47
+ font-size: 0.5em;
48
+ line-height: 0;
49
+ vertical-align: 0.8em;
50
+ }
51
+
52
+ /* The same fraction kept on the baseline of the integer digits ("$13.25" with
53
+ ".25" small and level with the bottom of "13"), as some banking apps draw a balance. */
54
+ @utility amount-fraction-baseline {
55
+ font-size: 0.5em;
56
+ line-height: 0;
57
+ vertical-align: baseline;
58
+ }