@valiify/dashboard-ui 0.2.1 → 0.5.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.
Files changed (101) hide show
  1. package/CHANGELOG.md +1025 -12
  2. package/COMPONENTS.md +185 -79
  3. package/GETTING_STARTED.md +138 -38
  4. package/QUICK_REFERENCE.md +48 -30
  5. package/README.md +134 -83
  6. package/TROUBLESHOOTING.md +52 -34
  7. package/class-manifest.json +140 -71
  8. package/design-methodology/dashboard.md +92 -80
  9. package/dist/dashboard-ui.css +1525 -1078
  10. package/dist/index.css +1246 -732
  11. package/package.json +19 -10
  12. package/scripts/codemods/0.5.0-chip-sizes.mjs +437 -0
  13. package/src/build/utilities.css +7 -10
  14. package/src/components/_template.css +12 -8
  15. package/src/components/alert.css +35 -8
  16. package/src/components/avatar.css +42 -30
  17. package/src/components/breadcrumbs.css +39 -22
  18. package/src/components/button.css +84 -14
  19. package/src/components/card.css +2 -2
  20. package/src/components/checkbox.css +16 -11
  21. package/src/components/chip.css +155 -79
  22. package/src/components/composer.css +145 -0
  23. package/src/components/data-row.css +10 -6
  24. package/src/components/divider.css +17 -22
  25. package/src/components/dropdown-field.css +83 -43
  26. package/src/components/dropdown-menu.css +80 -14
  27. package/src/components/field-verification.css +21 -5
  28. package/src/components/filter-segment.css +27 -8
  29. package/src/components/icon-button.css +49 -10
  30. package/src/components/index.css +2 -0
  31. package/src/components/input.css +88 -32
  32. package/src/components/link.css +27 -16
  33. package/src/components/loading-inline.css +15 -21
  34. package/src/components/menu-item.css +149 -49
  35. package/src/components/modal.css +8 -5
  36. package/src/components/navigation-rail.css +67 -31
  37. package/src/components/pagination-item.css +29 -28
  38. package/src/components/pagination.css +9 -14
  39. package/src/components/pill.css +16 -10
  40. package/src/components/progress-bar.css +8 -10
  41. package/src/components/radio-select.css +9 -2
  42. package/src/components/recipient-input.css +119 -0
  43. package/src/components/section-marker.css +5 -5
  44. package/src/components/segment-selector.css +9 -3
  45. package/src/components/sensitive-data.css +7 -5
  46. package/src/components/skeleton.css +18 -6
  47. package/src/components/step.css +15 -4
  48. package/src/components/stepper.css +3 -2
  49. package/src/components/switch.css +7 -0
  50. package/src/components/tabs.css +108 -28
  51. package/src/components/tag.css +156 -51
  52. package/src/components/text-button.css +54 -59
  53. package/src/components/textarea.css +87 -22
  54. package/src/components/toast.css +41 -15
  55. package/src/components/tooltip.css +13 -2
  56. package/src/fonts.css +2 -1
  57. package/src/library.css +1 -1
  58. package/src/reset.css +213 -0
  59. package/src/themes/valiify-tokens.css +101 -126
  60. package/src/themes/valiify.css +258 -157
  61. package/src/utility-surface.css +51 -49
  62. package/types/components.d.ts +142 -24
  63. package/CLAUDE.md +0 -3694
  64. package/examples/README.md +0 -198
  65. package/examples/basic/index.html +0 -155
  66. package/examples/daisyui-starter/README.md +0 -58
  67. package/examples/daisyui-starter/check-no-bleed.mjs +0 -249
  68. package/examples/daisyui-starter/index.html +0 -72
  69. package/examples/daisyui-starter/linked.html +0 -74
  70. package/examples/daisyui-starter/package-lock.json +0 -2221
  71. package/examples/daisyui-starter/package.json +0 -22
  72. package/examples/daisyui-starter/postcss.config.js +0 -1
  73. package/examples/daisyui-starter/src/host.css +0 -14
  74. package/examples/daisyui-starter/src/only-import.css +0 -4
  75. package/examples/daisyui-starter/src/styles.css +0 -36
  76. package/examples/daisyui-starter/tailwind.config.js +0 -13
  77. package/examples/postcss-starter/README.md +0 -47
  78. package/examples/postcss-starter/index.html +0 -54
  79. package/examples/postcss-starter/package.json +0 -19
  80. package/examples/postcss-starter/postcss.config.js +0 -5
  81. package/examples/postcss-starter/src/styles.css +0 -17
  82. package/examples/sveltekit-starter/README.md +0 -32
  83. package/examples/sveltekit-starter/check-scoped-styles.mjs +0 -103
  84. package/examples/sveltekit-starter/package-lock.json +0 -1300
  85. package/examples/sveltekit-starter/package.json +0 -24
  86. package/examples/sveltekit-starter/src/app.css +0 -17
  87. package/examples/sveltekit-starter/src/app.html +0 -11
  88. package/examples/sveltekit-starter/src/lib/GlobalReset.svelte +0 -20
  89. package/examples/sveltekit-starter/src/lib/ScopedRemedy.svelte +0 -27
  90. package/examples/sveltekit-starter/src/lib/ScopedReset.svelte +0 -22
  91. package/examples/sveltekit-starter/src/routes/+layout.svelte +0 -6
  92. package/examples/sveltekit-starter/src/routes/+page.svelte +0 -10
  93. package/examples/sveltekit-starter/svelte.config.js +0 -4
  94. package/examples/sveltekit-starter/vite.config.js +0 -6
  95. package/examples/vite-starter/README.md +0 -125
  96. package/examples/vite-starter/index.html +0 -12
  97. package/examples/vite-starter/package.json +0 -19
  98. package/examples/vite-starter/src/main.js +0 -188
  99. package/examples/vite-starter/src/styles.css +0 -22
  100. package/examples/vite-starter/vite.config.js +0 -6
  101. package/src/themes/valiify-type-prefixed.css +0 -37
@@ -10,7 +10,7 @@
10
10
  * Declared in Tailwind's `@theme` so every token generates utilities:
11
11
  * --color-primary -> bg-primary, text-primary, border-primary
12
12
  * --radius-control -> rounded-control
13
- * --text-body-1 -> text-body-1 (size + line-height + weight + tracking)
13
+ * --text-body-dense -> text-body-dense (size + line-height + weight + tracking)
14
14
  *
15
15
  * Prefer those utilities over hand-written var().
16
16
  *
@@ -26,7 +26,7 @@
26
26
  /* Brand primary */
27
27
  --color-primary: oklch(0.4234 0.1163 256.9); /* #1e4d8c */
28
28
  --color-primary-dark: oklch(0.3509 0.0948 257.07); /* #163a6b */
29
- --color-primary-pressed: oklch(0.3126 0.0825 247.19); /* #003358 */
29
+ --color-primary-pressed: oklch(0.3509 0.0948 257.07); /* #163a6b */
30
30
  --color-primary-soft: oklch(0.4234 0.1163 256.9 / 0.078); /* #1e4d8c14 */
31
31
  --color-primary-disabled: oklch(0.4234 0.1163 256.9 / 0.4); /* #1e4d8c66 */
32
32
 
@@ -34,6 +34,7 @@
34
34
  --color-secondary: oklch(0.4759 0.0208 285.58); /* #5b5b68 */
35
35
  --color-secondary-strong: oklch(0.428 0.018 285.61); /* #4e4e59 */
36
36
  --color-secondary-soft: oklch(0.637 0.0163 285.93 / 0.09); /* #8a8a9517 */
37
+ --color-secondary-content: oklch(0.5416 0.0154 285.87); /* #6e6e78 */
37
38
  --color-secondary-disabled: oklch(0.637 0.0163 285.93 / 0.4); /* #8a8a9566 */
38
39
 
39
40
  /* Content (text / ink) */
@@ -52,6 +53,7 @@
52
53
  /* Stroke colors — widths are --border-* below */
53
54
  --color-stroke-divider: oklch(0.2027 0.0395 282.3 / 0.078); /* #14142814 */
54
55
  --color-stroke-border: oklch(0.2027 0.0395 282.3 / 0.129); /* #14142821 */
56
+ --color-stroke-highlight: oklch(1 0 0 / 0.922); /* #ffffffeb */
55
57
  --color-stroke-disabled: oklch(0.2027 0.0395 282.3 / 0.039); /* #1414280a */
56
58
 
57
59
  /* Action overlays (interaction states) */
@@ -63,18 +65,26 @@
63
65
  /* Status — approved */
64
66
  --color-approved: oklch(0.5269 0.0996 169.13); /* #157d61 */
65
67
  --color-approved-soft: oklch(0.6154 0.1179 168.68 / 0.09); /* #1a9b7817 */
66
- --color-approved-strong: oklch(0.5508 0.1048 168.92); /* #168567 */
68
+ --color-approved-strong: oklch(0.4993 0.095 168.47); /* #137459 */
67
69
  --color-approved-content: oklch(0.4993 0.095 168.47); /* #137459 */
68
70
 
69
71
  /* Status — critical */
70
72
  --color-critical: oklch(0.5458 0.1847 21.87); /* #c5303c */
71
73
  --color-critical-soft: oklch(0.5994 0.1849 20.33 / 0.09); /* #d8434f17 */
72
74
  --color-critical-strong: oklch(0.5379 0.1636 20.28); /* #ba3a44 */
73
- --color-critical-content: oklch(0.5316 0.1616 20.19); /* #b73943 */
75
+ --color-critical-content: oklch(0.5208 0.1607 20.82); /* #b3363f */
74
76
 
75
77
  /* Status — warning */
76
78
  --color-warning: oklch(0.6765 0.1352 72.89); /* #c9881f */
77
79
  --color-warning-soft: oklch(0.6765 0.1352 72.89 / 0.09); /* #c9881f17 */
80
+ --color-warning-strong: oklch(0.6062 0.1202 73.05); /* #ad751b */
81
+ --color-warning-content: oklch(0.5181 0.1018 73.58); /* #8b5e15 */
82
+
83
+ /* Status — info (real since Revision 3, 2026-09-28 — was deliberately absent before) */
84
+ --color-info: oklch(0.4931 0.0625 259.49); /* #4c6285 */
85
+ --color-info-strong: oklch(0.443 0.0551 259.35); /* #415472 */
86
+ --color-info-soft: oklch(0.4931 0.0625 259.49 / 0.09); /* #4c628517 */
87
+ --color-info-content: oklch(0.4931 0.0625 259.49); /* #4c6285 */
78
88
 
79
89
  /* Status — neutral */
80
90
  --color-neutral: oklch(0.6871 0.0189 285.89); /* #9999a6 */
@@ -101,6 +111,20 @@
101
111
  --border-line: 1px; /* Stroke/Line */
102
112
  --border-micro: 2px; /* Stroke/Micro */
103
113
 
114
+ /*
115
+ * Control heights — Tailwind's --height-* namespace, so `h-control-md`,
116
+ * `min-h-control-md`, `max-h-control-md`. Border-box heights: Figma frames
117
+ * carry strokesIncludedInLayout=false, so the hairline sits inside the box.
118
+ * Pin with `height`, never `min-height` (Chrome floors 0.5px to 1px and
119
+ * ADDS it). Keys are never numeric: --height-8 would redefine h-8.
120
+ * Which modifier lands on which step: tokens/control-heights.json.
121
+ */
122
+ --height-control-xs: 20px; /* Height/Control/XS — 20 — btn-xs, input-xs, tag-sm, filter-segment-sm */
123
+ --height-control-sm: 24px; /* Height/Control/SM — 24 — btn-sm, input-sm, tab-sm/chip/segment, tag-md, breadcrumbs */
124
+ --height-control-md: 28px; /* Height/Control/MD — 28 — btn, input, icon-button, filter-segment-md (the base size) */
125
+ --height-control-lg: 32px; /* Height/Control/LG — 32 — btn-lg, input-lg, tab-underline, pagination-item, tag-lg */
126
+ --height-control-xl: 40px; /* Height/Control/XL — 40 — btn-xl, input-xl, composer shell */
127
+
104
128
  /* Font families */
105
129
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
106
130
  Roboto, 'Helvetica Neue', Arial, sans-serif;
@@ -122,135 +146,82 @@
122
146
  * tracking but NOT font-family and NOT text-transform. Two consequences:
123
147
  *
124
148
  * JetBrains Mono styles must be paired with font-mono, or they render
125
- * in Inter: @apply text-data-m font-mono;
149
+ * in Inter: @apply text-data-compact font-mono;
126
150
  *
127
- * Label styles are uppercase in Figma, so use the generated
128
- * type-label-* utilities below, which bundle the casing.
151
+ * No Revision 3 style carries a text-transform: casing is typed. The
152
+ * .vd-text-* classes below also carry the font family.
129
153
  */
130
- --text-display: 46px; /* Body Content/Display (Inter Light) */
131
- --text-display--line-height: 39px;
132
- --text-display--font-weight: 300;
133
- --text-h1: 19px; /* Body Content/H1 (Inter Semi Bold) */
134
- --text-h1--line-height: 21.8px;
135
- --text-h1--font-weight: 600;
136
- --text-h2: 17px; /* Body Content/H2 (Inter Semi Bold) */
137
- --text-h2--line-height: 19.5px;
138
- --text-h2--font-weight: 600;
139
- --text-subtitle: 14px; /* Body Content/Subtitle (Inter Medium) */
140
- --text-subtitle--line-height: 19.6px;
141
- --text-subtitle--font-weight: 500;
142
- --text-body-1: 13px; /* Body Content/Body 1 (Inter Regular) */
143
- --text-body-1--line-height: 19.5px;
144
- --text-body-1--font-weight: 400;
145
- --text-body-1-bold: 13px; /* Body Content/Body 1 - Bold (Inter Medium) */
146
- --text-body-1-bold--line-height: 19.5px;
147
- --text-body-1-bold--font-weight: 500;
148
- --text-body-2: 12.5px; /* Body Content/Body 2 (Inter Regular) */
149
- --text-body-2--line-height: 12.5px;
150
- --text-body-2--font-weight: 400;
151
- --text-body-2-bold: 12.5px; /* Body Content/Body 2 - Bold (Inter Medium) */
152
- --text-body-2-bold--line-height: 12.5px;
153
- --text-body-2-bold--font-weight: 500;
154
- --text-caption: 12px; /* Body Content/Caption (Inter Regular) */
155
- --text-caption--line-height: 18px;
156
- --text-caption--font-weight: 400;
157
- --text-caption-bold: 12px; /* Body Content/Caption - Bold (Inter Medium) */
158
- --text-caption-bold--line-height: 18px;
159
- --text-caption-bold--font-weight: 500;
160
- --text-label-l: 10.5px; /* Label/Label L Sans (Inter Regular) */
161
- --text-label-l--line-height: 19.6px;
162
- --text-label-l--font-weight: 400;
163
- --text-label-l--letter-spacing: 0.1em; /* 10% */
164
- --text-label-l-bold: 10.5px; /* Label/Label L Sans - Bold (Inter Semi Bold) */
165
- --text-label-l-bold--line-height: 19.6px;
166
- --text-label-l-bold--font-weight: 600;
167
- --text-label-l-bold--letter-spacing: 0.1em; /* 10% */
168
- --text-label-l-mono: 10.5px; /* Label/Label L Mono (JetBrains Mono Medium — needs font-mono) */
169
- --text-label-l-mono--line-height: 12.6px;
170
- --text-label-l-mono--font-weight: 500;
171
- --text-label-l-mono--letter-spacing: 0.1em; /* 10% */
172
- --text-label-s: 10px; /* Label/Label S Sans (Inter Regular) */
173
- --text-label-s--line-height: 12px;
174
- --text-label-s--font-weight: 400;
175
- --text-label-s--letter-spacing: 0.1em; /* 10% */
176
- --text-label-s-bold: 10px; /* Label/Label S Sans - Bold (Inter Semi Bold) */
177
- --text-label-s-bold--line-height: 12px;
178
- --text-label-s-bold--font-weight: 600;
179
- --text-label-s-bold--letter-spacing: 0.1em; /* 10% */
180
- --text-label-s-mono: 10px; /* Label/Label S Mono (JetBrains Mono Bold — needs font-mono) */
181
- --text-label-s-mono--line-height: 12px;
182
- --text-label-s-mono--font-weight: 700;
183
- --text-label-s-mono--letter-spacing: 0.1em; /* 10% */
184
- --text-data-l: 18px; /* Data/Data L (JetBrains Mono Medium — needs font-mono) */
185
- --text-data-l--line-height: 21.6px;
186
- --text-data-l--font-weight: 500;
187
- --text-data-m: 14px; /* Data/Data M (JetBrains Mono Medium — needs font-mono) */
188
- --text-data-m--line-height: 21px;
189
- --text-data-m--font-weight: 500;
190
- --text-data-s: 13px; /* Data/Data S (JetBrains Mono Regular — needs font-mono) */
191
- --text-data-s--line-height: 19.5px;
192
- --text-data-s--font-weight: 400;
193
- --text-data-xs: 12px; /* Data/Data xs (JetBrains Mono Regular — needs font-mono) */
194
- --text-data-xs--line-height: 16.5px;
195
- --text-data-xs--font-weight: 400;
196
- --text-action-l: 13px; /* Button & Actions/Action L (Inter Medium) */
197
- --text-action-l--line-height: normal;
198
- --text-action-l--font-weight: 500;
199
- --text-action-l-bold: 13px; /* Button & Actions/Action L - bold (Inter Semi Bold) */
200
- --text-action-l-bold--line-height: normal;
201
- --text-action-l-bold--font-weight: 600;
202
- --text-action-m: 12.5px; /* Button & Actions/Action M (Inter Medium) */
203
- --text-action-m--line-height: 14px;
204
- --text-action-m--font-weight: 500;
205
- --text-action-m-bold: 12.5px; /* Button & Actions/Action M - Bold (Inter Semi Bold) */
206
- --text-action-m-bold--line-height: 14px;
207
- --text-action-m-bold--font-weight: 600;
208
- --text-action-s: 12px; /* Button & Actions/Action S (Inter Medium) */
209
- --text-action-s--line-height: 14px;
210
- --text-action-s--font-weight: 500;
211
- --text-action-s-bold: 12px; /* Button & Actions/Action S - Bold (Inter Semi Bold) */
212
- --text-action-s-bold--line-height: 14px;
213
- --text-action-s-bold--font-weight: 600;
214
- --text-micro-l: 11px; /* Micro Text/Micro L (Inter Regular) */
215
- --text-micro-l--line-height: normal;
216
- --text-micro-l--font-weight: 400;
217
- --text-micro-l-bold: 11px; /* Micro Text/Micro L - Bold (Inter Medium) */
218
- --text-micro-l-bold--line-height: normal;
219
- --text-micro-l-bold--font-weight: 500;
220
- --text-micro-m: 8.5px; /* Micro Text/Micro M (Inter Regular) */
221
- --text-micro-m--line-height: normal;
222
- --text-micro-m--font-weight: 400;
223
- --text-micro-m-bold: 8.5px; /* Micro Text/Micro M - Bold (Inter Medium) */
224
- --text-micro-m-bold--line-height: normal;
225
- --text-micro-m-bold--font-weight: 500;
226
- --text-micro-s: 8px; /* Micro Text/Micro S (Inter Regular) */
227
- --text-micro-s--line-height: normal;
228
- --text-micro-s--font-weight: 400;
229
- --text-micro-s-bold: 8px; /* Micro Text/Micro S - Bold (Inter Semi Bold) */
230
- --text-micro-s-bold--line-height: normal;
231
- --text-micro-s-bold--font-weight: 600;
232
- --text-micro-s-bold--letter-spacing: 0.004em; /* 0.4% */
233
- --text-data-micro-l: 11px; /* Micro Text/Micro Data L (JetBrains Mono Medium — needs font-mono) */
234
- --text-data-micro-l--line-height: normal;
235
- --text-data-micro-l--font-weight: 500;
236
- --text-data-micro-m: 8.5px; /* Micro Text/Micro Data M (JetBrains Mono Medium — needs font-mono) */
237
- --text-data-micro-m--line-height: normal;
238
- --text-data-micro-m--font-weight: 500;
239
- --text-data-micro-s: 8px; /* Micro Text/Micro Data S (JetBrains Mono Medium — needs font-mono) */
240
- --text-data-micro-s--line-height: normal;
241
- --text-data-micro-s--font-weight: 500;
242
- --text-statecap: 9.5px; /* Micro Text/Statecap (Inter Semi Bold) */
243
- --text-statecap--line-height: normal;
244
- --text-statecap--font-weight: 600;
245
- --text-help-caption: 12px; /* Body & Supporting/Help & Caption (Inter Regular) */
246
- --text-help-caption--line-height: 14px;
247
- --text-help-caption--font-weight: 400;
154
+ /* Type scale — Revision 3 (2026-09-28). Each also ships as a .vd-text-* class. */
155
+ --text-heading-page: 19px; /* Heading/Page (Inter Semi Bold) */
156
+ --text-heading-page--line-height: 24px;
157
+ --text-heading-page--font-weight: 600;
158
+ --text-heading-section: 17px; /* Heading/Section (Inter Semi Bold) */
159
+ --text-heading-section--line-height: 22px;
160
+ --text-heading-section--font-weight: 600;
161
+ --text-heading-compact: 14px; /* Heading/Compact (Inter Semi Bold) */
162
+ --text-heading-compact--line-height: 20px;
163
+ --text-heading-compact--font-weight: 600;
164
+ --text-body-default: 14px; /* Body/Default (Inter Regular) */
165
+ --text-body-default--line-height: 20px;
166
+ --text-body-default--font-weight: 400;
167
+ --text-body-default-strong: 14px; /* Body/Default Strong (Inter Medium) */
168
+ --text-body-default-strong--line-height: 20px;
169
+ --text-body-default-strong--font-weight: 500;
170
+ --text-body-dense: 13px; /* Body/Dense (Inter Regular) */
171
+ --text-body-dense--line-height: 18px;
172
+ --text-body-dense--font-weight: 400;
173
+ --text-body-dense-strong: 13px; /* Body/Dense Strong (Inter Medium) */
174
+ --text-body-dense-strong--line-height: 18px;
175
+ --text-body-dense-strong--font-weight: 500;
176
+ --text-supporting-caption: 12px; /* Supporting/Caption (Inter Regular) */
177
+ --text-supporting-caption--line-height: 18px;
178
+ --text-supporting-caption--font-weight: 400;
179
+ --text-supporting-caption-strong: 12px; /* Supporting/Caption Strong (Inter Medium) */
180
+ --text-supporting-caption-strong--line-height: 18px;
181
+ --text-supporting-caption-strong--font-weight: 500;
182
+ --text-action-compact: 12px; /* Action/Compact (Inter Medium) */
183
+ --text-action-compact--line-height: 16px;
184
+ --text-action-compact--font-weight: 500;
185
+ --text-action-compact-active: 12px; /* Action/Compact Active (Inter Semi Bold) */
186
+ --text-action-compact-active--line-height: 16px;
187
+ --text-action-compact-active--font-weight: 600;
188
+ --text-action-default: 13px; /* Action/Default (Inter Medium) */
189
+ --text-action-default--line-height: 18px;
190
+ --text-action-default--font-weight: 500;
191
+ --text-action-default-active: 13px; /* Action/Default Active (Inter Semi Bold) */
192
+ --text-action-default-active--line-height: 18px;
193
+ --text-action-default-active--font-weight: 600;
194
+ --text-label-compact: 12px; /* Label/Compact (Inter Semi Bold) */
195
+ --text-label-compact--line-height: 16px;
196
+ --text-label-compact--font-weight: 600;
197
+ --text-label-compact--letter-spacing: 0.08em; /* 8% */
198
+ --text-data-compact: 12px; /* Data/Compact (JetBrains Mono Regular — needs font-mono) */
199
+ --text-data-compact--line-height: 16.5px;
200
+ --text-data-compact--font-weight: 400;
201
+ --text-data-dense: 13px; /* Data/Dense (JetBrains Mono Regular — needs font-mono) */
202
+ --text-data-dense--line-height: 19.5px;
203
+ --text-data-dense--font-weight: 400;
204
+ --text-data-emphasis: 14px; /* Data/Emphasis (JetBrains Mono Medium — needs font-mono) */
205
+ --text-data-emphasis--line-height: 21px;
206
+ --text-data-emphasis--font-weight: 500;
207
+ --text-data-large: 18px; /* Data/Large (JetBrains Mono Medium — needs font-mono) */
208
+ --text-data-large--line-height: 22px;
209
+ --text-data-large--font-weight: 500;
210
+ --text-utility-avatar-initials: 8px; /* Utility/Avatar Initials (Inter Semi Bold) */
211
+ --text-utility-avatar-initials--line-height: 8px;
212
+ --text-utility-avatar-initials--font-weight: 600;
213
+ --text-utility-badge-count: 10px; /* Utility/Badge Count (JetBrains Mono Medium — needs font-mono) */
214
+ --text-utility-badge-count--line-height: 12px;
215
+ --text-utility-badge-count--font-weight: 500;
216
+ --text-display-metric: 46px; /* Display/Metric (Inter Light) */
217
+ --text-display-metric--line-height: 52px;
218
+ --text-display-metric--font-weight: 300;
248
219
 
249
220
  /* Effects */
250
221
  --shadow-panel: 0 12px 34px -12px oklch(0 0 0 / 0.251); /* General Drop Shadow #00000040 */
251
222
  --shadow-knob: 0 1px 2px 0px oklch(0.2027 0.0395 282.3 / 0.251); /* Switch Knob Shadow #14142840 */
252
223
  --shadow-modal: 0 12px 16px 0px oklch(0.2027 0.0395 282.3 / 0.122); /* Modal Drop Shadow #1414281f */
253
- --shadow-toast: 0 4px 6px 0px oklch(0.2027 0.0395 282.3 / 0.071); /* Toast Drop Shadow #14142812 */
224
+ --shadow-toast: 0 4px 12px 0px oklch(0.2027 0.0395 282.3 / 0.071); /* Toast Drop Shadow #14142812 */
254
225
 
255
226
  /*
256
227
  * Keyboard focus ring — Figma Menu Item > Ring.
@@ -280,6 +251,10 @@
280
251
  *
281
252
  * Defining --spacing-8: 8px would make p-8 mean 8px instead of 32px and
282
253
  * break existing usage. See CLAUDE.md for the full mapping table.
254
+ *
255
+ * Heights are NOT part of this. They live in the --height-* namespace above,
256
+ * which Tailwind consults before the multiplier and which carries no default
257
+ * keys. --height-<number> is prohibited for the same reason --spacing-<number> is.
283
258
  */
284
259
  }
285
260