@leitware/composables 1.3.2 → 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.
Files changed (84) hide show
  1. package/README.md +41 -4
  2. package/dist/presets/brutalist.css +6 -2
  3. package/dist/presets/default.css +5 -1
  4. package/dist/presets/signal-pop.css +5 -1
  5. package/dist/styles.css +1 -1
  6. package/dist/tailwind.css +8 -0
  7. package/package.json +2 -1
  8. package/rules/composables.md +9 -7
  9. package/skills/use-composables/references/optional-dependencies.md +1 -1
  10. package/skills/use-composables/references/public-api.md +7 -2
  11. package/skills/use-composables/references/semantic-utilities.md +2 -0
  12. package/src/_internal/ai-elements/chain-of-thought.tsx +1 -1
  13. package/src/_internal/ai-elements/code-block.tsx +1 -1
  14. package/src/_internal/badge.tsx +2 -2
  15. package/src/_internal/bubble.tsx +1 -1
  16. package/src/_internal/button.tsx +1 -1
  17. package/src/_internal/calendar.tsx +1 -1
  18. package/src/_internal/checkbox.tsx +1 -1
  19. package/src/_internal/combobox.tsx +3 -3
  20. package/src/_internal/command.tsx +3 -3
  21. package/src/_internal/dropdown-menu.tsx +2 -2
  22. package/src/_internal/dropzone.tsx +3 -3
  23. package/src/_internal/field.tsx +2 -2
  24. package/src/_internal/grid-overlay.tsx +3 -3
  25. package/src/_internal/input-group.tsx +1 -1
  26. package/src/_internal/input.tsx +1 -1
  27. package/src/_internal/layout-bento.tsx +12 -12
  28. package/src/_internal/layout.tsx +11 -11
  29. package/src/_internal/marker.tsx +1 -1
  30. package/src/_internal/radio-group.tsx +2 -2
  31. package/src/_internal/resizable.tsx +1 -1
  32. package/src/_internal/select.tsx +5 -2
  33. package/src/_internal/sidebar.tsx +2 -2
  34. package/src/_internal/switch.tsx +1 -1
  35. package/src/_internal/tabs.tsx +2 -2
  36. package/src/_internal/textarea.tsx +1 -1
  37. package/src/_internal/tooltip.tsx +1 -1
  38. package/src/index.ts +5 -1
  39. package/src/lib/utils.ts +2 -2
  40. package/src/opinionated/alert.tsx +5 -5
  41. package/src/opinionated/blocks/content.tsx +247 -0
  42. package/src/opinionated/blocks/features.tsx +242 -0
  43. package/src/opinionated/blocks/heroes.tsx +711 -0
  44. package/src/opinionated/blocks/index.ts +4 -0
  45. package/src/opinionated/blocks/shared.tsx +185 -0
  46. package/src/opinionated/button.tsx +3 -1
  47. package/src/opinionated/collapsible.tsx +1 -1
  48. package/src/opinionated/form-calendar-popover.tsx +1 -1
  49. package/src/opinionated/form-checkbox.tsx +1 -1
  50. package/src/opinionated/form-combobox.tsx +1 -1
  51. package/src/opinionated/form-date-of-birth.tsx +1 -1
  52. package/src/opinionated/form-dropzone.tsx +1 -1
  53. package/src/opinionated/form-input-group.tsx +1 -1
  54. package/src/opinionated/form-input.tsx +1 -1
  55. package/src/opinionated/form-multi-combobox.tsx +1 -1
  56. package/src/opinionated/form-multi-dropzone.tsx +1 -1
  57. package/src/opinionated/form-radiogroup.tsx +1 -1
  58. package/src/opinionated/form-select.tsx +1 -1
  59. package/src/opinionated/form-slider.tsx +1 -1
  60. package/src/opinionated/form-switch.tsx +1 -1
  61. package/src/opinionated/form-textarea.tsx +1 -1
  62. package/src/opinionated/theme-injector.tsx +2 -2
  63. package/src/opinionated/token-config-panel/color-editor.tsx +1 -1
  64. package/src/opinionated/token-config-panel/json-import-export.tsx +1 -1
  65. package/src/opinionated/token-config-panel/spacing-editor.tsx +1 -1
  66. package/src/opinionated/token-config-panel/types.ts +1 -1
  67. package/src/opinionated/token-config-panel/typography-editor.tsx +1 -1
  68. package/src/opinionated/window-frame.tsx +57 -0
  69. package/src/styles/composable.css +10 -10
  70. package/src/styles/presets/brutalist.css +6 -2
  71. package/src/styles/presets/default.css +5 -1
  72. package/src/styles/presets/signal-pop.css +5 -1
  73. package/src/styles/presets-data/brutalist.ts +13 -9
  74. package/src/styles/presets-data/default.ts +7 -3
  75. package/src/styles/presets-data/signal-pop.ts +4 -0
  76. package/src/styles/tokens/base.css +1 -1
  77. package/src/styles/tokens/components.css +1 -0
  78. package/src/styles/tokens/palette.css +2 -2
  79. package/src/styles/tokens/registry.ts +15 -1
  80. package/src/styles/tokens/semantic-utilities.css +8 -0
  81. package/src/styles/tokens/semantic.css +6 -2
  82. package/src/styles/tokens/tailwind-color-adapter.css +3 -1
  83. package/src/styles/tokens/tailwind-public-utilities.css +8 -0
  84. package/src/styles/tokens/tailwind-theme.css +7 -7
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Brutalist — Raw, architectural, uncompromising.
2
+ * Brutalist - Raw, architectural, uncompromising.
3
3
  * Studied references: Bloomberg Terminal aesthetic, Balenciaga.com restraint,
4
4
  * Ssense editorial rigour. High contrast without being garish.
5
5
  *
@@ -7,9 +7,9 @@
7
7
  * about structural honesty: things look exactly like what they are.
8
8
  *
9
9
  * Fonts:
10
- * Heading — Space Grotesk Variable: constructed, slightly mechanical,
10
+ * Heading - Space Grotesk Variable: constructed, slightly mechanical,
11
11
  * pairs well with mono body without feeling like a joke.
12
- * Body — Space Grotesk Variable: the Bloomberg terminal aesthetic. Readable,
12
+ * Body - Space Grotesk Variable: the Bloomberg terminal aesthetic. Readable,
13
13
  * functional, carries authority. Uncompromising.
14
14
  *
15
15
  * Character: zero border-radius, heavy borders, hard offset shadows,
@@ -23,6 +23,7 @@ export const brutalist: Record<string, string> = {
23
23
  '--bg-surface-default': '#FFFFFFFF',
24
24
  '--bg-surface-popover': '#FFFFFFFF',
25
25
  '--bg-surface-accent': '#F0F0F0FF',
26
+ '--bg-surface-field': '#0A0A0AFF',
26
27
  '--bg-surface-info': '#E8F0F8FF',
27
28
  '--bg-surface-success': '#E8F4E8FF',
28
29
  '--bg-surface-warning': '#FBF4E0FF',
@@ -58,6 +59,7 @@ export const brutalist: Record<string, string> = {
58
59
  '--text-disabled': '#AAAAAAFF',
59
60
  '--text-inverse': '#F8F8F8FF',
60
61
  '--text-on-fill-primary': '#FFFFFFFF',
62
+ '--text-on-fill-brand': '#FFFFFFFF',
61
63
  '--text-on-fill-secondary': '#0A0A0AFF',
62
64
  '--text-on-surface-accent': '#0A0A0AFF',
63
65
  '--text-info': '#001E5EFF',
@@ -126,7 +128,7 @@ export const brutalist: Record<string, string> = {
126
128
  '--leading-base': '1.4',
127
129
  '--letter-spacing-base': '0.04em',
128
130
  '--opacity-disabled': '0.5',
129
- // Hard offset shadow — structural, no blur (that's the brutalist shadow)
131
+ // Hard offset shadow - structural, no blur (that's the brutalist shadow)
130
132
  '--shadow-offset-y': '4px',
131
133
  '--shadow-blur': '0px',
132
134
  '--shadow-spread': '0px',
@@ -146,7 +148,7 @@ export const brutalist: Record<string, string> = {
146
148
  '--font-brand': '"Space Grotesk Variable", "Arial", sans-serif',
147
149
 
148
150
  // ── Phase 1a: Component tokens ────────────────────────────────────────
149
- // Zero radius everywhere — things are what they are
151
+ // Zero radius everywhere - things are what they are
150
152
  '--button-radius': '0px',
151
153
  '--card-radius': '0px',
152
154
  '--card-padding': 'calc(var(--spacing) * 6)',
@@ -154,7 +156,7 @@ export const brutalist: Record<string, string> = {
154
156
  '--input-height': 'calc(var(--spacing) * 10)',
155
157
  '--badge-radius': '0px',
156
158
 
157
- // ── Phase 1b: Motion — instant. No decorative animation. ─────────────
159
+ // ── Phase 1b: Motion - instant. No decorative animation. ─────────────
158
160
  '--motion-duration-fast': '0ms',
159
161
  '--motion-duration-normal': '0ms',
160
162
  '--motion-duration-slow': '50ms',
@@ -173,7 +175,7 @@ export const brutalist: Record<string, string> = {
173
175
  '--hover-shadow': 'none',
174
176
  '--active-scale': '1',
175
177
 
176
- // ── Phase 1c: Typography — heavy, structural ──────────────────────────
178
+ // ── Phase 1c: Typography - heavy, structural ──────────────────────────
177
179
  '--heading-font-weight': '700',
178
180
  '--heading-letter-spacing': 'var(--tracking-tight)',
179
181
  '--body-letter-spacing': 'var(--tracking-normal)',
@@ -189,19 +191,20 @@ export const brutalist: Record<string, string> = {
189
191
  }
190
192
 
191
193
  export const brutalistDark: Record<string, string> = {
192
- // ── Dark: inverted — paper becomes black, ink becomes off-white ───────
194
+ // ── Dark: inverted - paper becomes black, ink becomes off-white ───────
193
195
  '--bg-default': '#0A0A0AFF',
194
196
  '--bg-inverse': '#F8F8F8FF',
195
197
  '--bg-muted': '#1A1A1AFF',
196
198
  '--bg-surface-default': '#0A0A0AFF',
197
199
  '--bg-surface-popover': '#141414FF',
198
200
  '--bg-surface-accent': '#1A1A1AFF',
201
+ '--bg-surface-field': '#C0C0C0FF',
199
202
  '--bg-surface-info': '#0A1828FF',
200
203
  '--bg-surface-success': '#0A180AFF',
201
204
  '--bg-surface-warning': '#1E1406FF',
202
205
  '--bg-surface-critical': '#1E0A0AFF',
203
206
  '--bg-surface-emphasis': '#0A0A1EFF',
204
- '--bg-surface-inverse': '#606060FF',
207
+ '--bg-surface-inverse': '#888888FF',
205
208
  '--bg-surface-transparent': '#FFFFFF10',
206
209
  '--bg-overlay': 'var(--overlays-black-alpha-800)',
207
210
  '--bg-surface-brand': '#1E0A08FF',
@@ -231,6 +234,7 @@ export const brutalistDark: Record<string, string> = {
231
234
  '--text-disabled': '#444444FF',
232
235
  '--text-inverse': '#0A0A0AFF',
233
236
  '--text-on-fill-primary': '#0A0A0AFF',
237
+ '--text-on-fill-brand': '#000000FF',
234
238
  '--text-on-fill-secondary': '#F0F0F0FF',
235
239
  '--text-on-surface-accent': '#F0F0F0FF',
236
240
  '--text-info': '#99BBFFFF',
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Default — Clean, neutral, Inter-based. The "no opinion" starting point.
2
+ * Default - Clean, neutral, Inter-based. The "no opinion" starting point.
3
3
  * Think Linear, Vercel. A solid foundation that stays out of the way.
4
4
  *
5
- * Fonts: Inter Variable (all) — the most carefully crafted neutral sans-serif.
5
+ * Fonts: Inter Variable (all) - the most carefully crafted neutral sans-serif.
6
6
  */
7
7
  export const defaultPreset: Record<string, string> = {
8
8
  // ── Semantic color tokens ─────────────────────────────────────────────
@@ -12,6 +12,7 @@ export const defaultPreset: Record<string, string> = {
12
12
  '--bg-surface-default': '#F9F9F8FF',
13
13
  '--bg-surface-popover': '#F9F9F8FF',
14
14
  '--bg-surface-accent': '#F1F0EFFF',
15
+ '--bg-surface-field': '#DAD9D6FF',
15
16
  '--bg-surface-info': '#F1FAFDFF',
16
17
  '--bg-surface-success': '#F5FBF5FF',
17
18
  '--bg-surface-warning': '#FFF7EDFF',
@@ -47,6 +48,7 @@ export const defaultPreset: Record<string, string> = {
47
48
  '--text-disabled': '#CFCECAFF',
48
49
  '--text-inverse': '#FFFFFFFF',
49
50
  '--text-on-fill-primary': '#FFFFFFFF',
51
+ '--text-on-fill-brand': '#000000FF',
50
52
  '--text-on-fill-secondary': '#21201CFF',
51
53
  '--text-on-surface-accent': '#21201CFF',
52
54
  '--text-info': '#1D3E56FF',
@@ -175,7 +177,7 @@ export const defaultPreset: Record<string, string> = {
175
177
  }
176
178
 
177
179
  export const defaultPresetDark: Record<string, string> = {
178
- // Full dark-mode token set — mirrors tokens.css .dark values so that the
180
+ // Full dark-mode token set - mirrors tokens.css .dark values so that the
179
181
  // injected :root overrides from the light preset are fully superseded when
180
182
  // dark mode is toggled.
181
183
 
@@ -186,6 +188,7 @@ export const defaultPresetDark: Record<string, string> = {
186
188
  '--bg-surface-default': '#191918FF',
187
189
  '--bg-surface-popover': '#191918FF',
188
190
  '--bg-surface-accent': '#222221FF',
191
+ '--bg-surface-field': '#494844FF',
189
192
  '--bg-surface-info': '#111A27FF',
190
193
  '--bg-surface-success': '#141A15FF',
191
194
  '--bg-surface-warning': '#1E160FFF',
@@ -221,6 +224,7 @@ export const defaultPresetDark: Record<string, string> = {
221
224
  '--text-disabled': '#494844FF',
222
225
  '--text-inverse': '#000000FF',
223
226
  '--text-on-fill-primary': '#000000FF',
227
+ '--text-on-fill-brand': '#000000FF',
224
228
  '--text-on-fill-secondary': '#EEEEECFF',
225
229
  '--text-on-surface-accent': '#EEEEECFF',
226
230
  '--text-info': '#C2F3FFFF',
@@ -22,6 +22,7 @@ export const signalPop: Record<string, string> = {
22
22
  '--bg-surface-default': '#FFFFFFFF',
23
23
  '--bg-surface-popover': '#FFFFFFFF',
24
24
  '--bg-surface-accent': '#FF8BD3FF',
25
+ '--bg-surface-field': '#E8EEF2FF',
25
26
  '--bg-surface-info': '#D7F0FAFF',
26
27
  '--bg-surface-success': '#DEF6D8FF',
27
28
  '--bg-surface-warning': '#FFE8B5FF',
@@ -57,6 +58,7 @@ export const signalPop: Record<string, string> = {
57
58
  '--text-disabled': '#B9BDC6FF',
58
59
  '--text-inverse': '#F9FAF2FF',
59
60
  '--text-on-fill-primary': '#FFFFFFFF',
61
+ '--text-on-fill-brand': '#FFFFFFFF',
60
62
  '--text-on-fill-secondary': '#050507FF',
61
63
  '--text-on-surface-accent': '#0B0B0FFF',
62
64
  '--text-info': '#064864FF',
@@ -197,6 +199,7 @@ export const signalPopDark: Record<string, string> = {
197
199
  '--bg-surface-default': '#050507FF',
198
200
  '--bg-surface-popover': '#050507FF',
199
201
  '--bg-surface-accent': '#351026FF',
202
+ '--bg-surface-field': '#17191FFF',
200
203
  '--bg-surface-info': '#073348FF',
201
204
  '--bg-surface-success': '#0B3017FF',
202
205
  '--bg-surface-warning': '#342602FF',
@@ -232,6 +235,7 @@ export const signalPopDark: Record<string, string> = {
232
235
  '--text-disabled': '#5B606AFF',
233
236
  '--text-inverse': '#050507FF',
234
237
  '--text-on-fill-primary': '#FFFFFFFF',
238
+ '--text-on-fill-brand': '#FFFFFFFF',
235
239
  '--text-on-fill-secondary': '#050507FF',
236
240
  '--text-on-surface-accent': '#F7F8F2FF',
237
241
  '--text-info': '#9FDEF2FF',
@@ -16,7 +16,7 @@
16
16
  @apply border-stroke;
17
17
  }
18
18
 
19
- /* Universal focus ring — bare anchors, links, summary, tabindex targets.
19
+ /* Universal focus ring - bare anchors, links, summary, tabindex targets.
20
20
  Components use the FOCUS_RING utility class instead. */
21
21
  a:focus-visible,
22
22
  [role='link']:focus-visible,
@@ -30,6 +30,7 @@
30
30
  --input-radius: var(--radius-md);
31
31
  --input-height: calc(var(--spacing) * 7);
32
32
  --badge-radius: var(--radius-4xl);
33
+ --grid-overlay-color: color-mix(in srgb, var(--text-default) 6%, transparent);
33
34
 
34
35
  /* ── Motion ────────────────────────────────────────────────────────── */
35
36
  --motion-duration-fast: 100ms;
@@ -6,11 +6,11 @@
6
6
 
7
7
  This file serves TWO purposes from the same data:
8
8
 
9
- 1. @theme inline — Resolved at BUILD TIME by Tailwind so it can generate
9
+ 1. @theme inline - Resolved at BUILD TIME by Tailwind so it can generate
10
10
  utility classes (e.g. bg-blue-800, text-neutral-950). These values are
11
11
  baked into the compiled CSS and cannot change at runtime.
12
12
 
13
- 2. :root / .dark — Standard CSS custom properties available at RUNTIME.
13
+ 2. :root / .dark - Standard CSS custom properties available at RUNTIME.
14
14
  These power var(--blue-800) references in component code and can be
15
15
  swapped by presets or dark mode.
16
16
 
@@ -45,6 +45,12 @@ export const semanticColorTokens: SemanticColorToken[] = [
45
45
  category: 'bg',
46
46
  label: 'surface-accent',
47
47
  },
48
+ {
49
+ cssVar: '--bg-surface-field',
50
+ reference: '{neutral.500}',
51
+ category: 'bg',
52
+ label: 'surface-field',
53
+ },
48
54
  { cssVar: '--bg-surface-info', reference: '{sky.100}', category: 'bg', label: 'surface-info' },
49
55
  {
50
56
  cssVar: '--bg-surface-success',
@@ -202,6 +208,12 @@ export const semanticColorTokens: SemanticColorToken[] = [
202
208
  category: 'text',
203
209
  label: 'on-fill-primary',
204
210
  },
211
+ {
212
+ cssVar: '--text-on-fill-brand',
213
+ reference: '{base.black}',
214
+ category: 'text',
215
+ label: 'on-fill-brand',
216
+ },
205
217
  {
206
218
  cssVar: '--text-on-fill-secondary',
207
219
  reference: '{neutral.1000}',
@@ -332,7 +344,7 @@ export const tailwindColorAliases: TailwindColorAlias[] = [
332
344
  { cssVar: '--color-stroke', target: '--border-default' },
333
345
  { cssVar: '--color-field', target: '--border-secondary' },
334
346
  { cssVar: '--color-focus', target: '--border-focus' },
335
- { cssVar: '--color-danger', target: '--bg-fill-critical' },
347
+ { cssVar: '--color-fill-critical', target: '--bg-fill-critical' },
336
348
  { cssVar: '--color-sidebar-stroke', target: '--border-default' },
337
349
  { cssVar: '--color-chart-1', target: '--chart-1' },
338
350
  { cssVar: '--color-chart-2', target: '--chart-2' },
@@ -351,6 +363,7 @@ export const tailwindColorAliases: TailwindColorAlias[] = [
351
363
  { cssVar: '--color-brand-5', target: '--text-brand-5' },
352
364
  { cssVar: '--color-surface-success', target: '--bg-surface-success' },
353
365
  { cssVar: '--color-surface-warning', target: '--bg-surface-warning' },
366
+ { cssVar: '--color-surface-field', target: '--bg-surface-field' },
354
367
  { cssVar: '--color-surface-critical', target: '--bg-surface-critical' },
355
368
  { cssVar: '--color-surface-info', target: '--bg-surface-info' },
356
369
  { cssVar: '--color-surface-emphasis', target: '--bg-surface-emphasis' },
@@ -359,6 +372,7 @@ export const tailwindColorAliases: TailwindColorAlias[] = [
359
372
  { cssVar: '--color-surface-brand-3', target: '--bg-surface-brand-3' },
360
373
  { cssVar: '--color-surface-brand-4', target: '--bg-surface-brand-4' },
361
374
  { cssVar: '--color-surface-brand-5', target: '--bg-surface-brand-5' },
375
+ { cssVar: '--color-surface-hover', target: '--bg-surface-hover' },
362
376
  { cssVar: '--color-icon-success', target: '--icon-success' },
363
377
  { cssVar: '--color-icon-warning', target: '--icon-warning' },
364
378
  { cssVar: '--color-icon-critical', target: '--icon-critical' },
@@ -33,6 +33,10 @@
33
33
  background-color: var(--bg-surface-accent);
34
34
  }
35
35
 
36
+ .bg-surface-field {
37
+ background-color: var(--bg-surface-field);
38
+ }
39
+
36
40
  .bg-surface-info {
37
41
  background-color: var(--bg-surface-info);
38
42
  }
@@ -173,6 +177,10 @@
173
177
  color: var(--text-on-fill-primary);
174
178
  }
175
179
 
180
+ .text-on-fill-brand {
181
+ color: var(--text-on-fill-brand);
182
+ }
183
+
176
184
  .text-on-fill-secondary {
177
185
  color: var(--text-on-fill-secondary);
178
186
  }
@@ -1,5 +1,5 @@
1
1
  /* ============================================================================
2
- Semantic Tokens — Light (:root) & Dark (.dark)
2
+ Semantic Tokens - Light (:root) & Dark (.dark)
3
3
  ============================================================================
4
4
  Context-aware tokens that map to specific UI roles (background, text,
5
5
  border, icon, chart). These swap between light and dark mode.
@@ -26,6 +26,7 @@
26
26
  --bg-surface-default: #f8f8f8ff;
27
27
  --bg-surface-popover: #f8f8f8ff;
28
28
  --bg-surface-accent: #efefefff;
29
+ --bg-surface-field: #2e2e2eff;
29
30
  --bg-surface-info: #e8f0f8ff;
30
31
  --bg-surface-success: #e8f4e8ff;
31
32
  --bg-surface-warning: #fbf4e0ff;
@@ -63,6 +64,7 @@
63
64
  --text-disabled: #aaaaaaff;
64
65
  --text-inverse: #f8f8f8ff;
65
66
  --text-on-fill-primary: #f8f8f8ff;
67
+ --text-on-fill-brand: #0a0a0aff;
66
68
  --text-on-fill-secondary: #0a0a0aff;
67
69
  --text-on-surface-accent: #0a0a0aff;
68
70
  --text-info: #001e5eff;
@@ -157,12 +159,13 @@
157
159
  --bg-surface-default: #0a0a0aff;
158
160
  --bg-surface-popover: #0a0a0aff;
159
161
  --bg-surface-accent: #141414ff;
162
+ --bg-surface-field: #888888ff;
160
163
  --bg-surface-info: #0a1828ff;
161
164
  --bg-surface-success: #0a180aff;
162
165
  --bg-surface-warning: #1e1406ff;
163
166
  --bg-surface-critical: #1e0a0aff;
164
167
  --bg-surface-emphasis: #0a0a1eff;
165
- --bg-surface-inverse: #606060ff;
168
+ --bg-surface-inverse: #888888ff;
166
169
  --bg-surface-transparent: #ffffff10;
167
170
  --bg-overlay: var(--overlays-black-alpha-800);
168
171
  --bg-surface-brand: #0a1e08ff;
@@ -194,6 +197,7 @@
194
197
  --text-disabled: #444444ff;
195
198
  --text-inverse: #0a0a0aff;
196
199
  --text-on-fill-primary: #0a0a0aff;
200
+ --text-on-fill-brand: #0a0a0aff;
197
201
  --text-on-fill-secondary: #f0f0f0ff;
198
202
  --text-on-surface-accent: #f0f0f0ff;
199
203
  --text-info: #99bbffff;
@@ -41,7 +41,7 @@
41
41
  --color-stroke: var(--border-default);
42
42
  --color-field: var(--border-secondary);
43
43
  --color-focus: var(--border-focus);
44
- --color-danger: var(--bg-fill-critical);
44
+ --color-fill-critical: var(--bg-fill-critical);
45
45
  --color-sidebar-stroke: var(--border-default);
46
46
  --color-chart-1: var(--chart-1);
47
47
  --color-chart-2: var(--chart-2);
@@ -60,6 +60,7 @@
60
60
  --color-brand-5: var(--text-brand-5);
61
61
  --color-surface-success: var(--bg-surface-success);
62
62
  --color-surface-warning: var(--bg-surface-warning);
63
+ --color-surface-field: var(--bg-surface-field);
63
64
  --color-surface-critical: var(--bg-surface-critical);
64
65
  --color-surface-info: var(--bg-surface-info);
65
66
  --color-surface-emphasis: var(--bg-surface-emphasis);
@@ -68,6 +69,7 @@
68
69
  --color-surface-brand-3: var(--bg-surface-brand-3);
69
70
  --color-surface-brand-4: var(--bg-surface-brand-4);
70
71
  --color-surface-brand-5: var(--bg-surface-brand-5);
72
+ --color-surface-hover: var(--bg-surface-hover);
71
73
  --color-icon-success: var(--icon-success);
72
74
  --color-icon-warning: var(--icon-warning);
73
75
  --color-icon-critical: var(--icon-critical);
@@ -31,6 +31,10 @@
31
31
  background-color: var(--bg-surface-accent);
32
32
  }
33
33
 
34
+ @utility bg-surface-field {
35
+ background-color: var(--bg-surface-field);
36
+ }
37
+
34
38
  @utility bg-surface-info {
35
39
  background-color: var(--bg-surface-info);
36
40
  }
@@ -171,6 +175,10 @@
171
175
  color: var(--text-on-fill-primary);
172
176
  }
173
177
 
178
+ @utility text-on-fill-brand {
179
+ color: var(--text-on-fill-brand);
180
+ }
181
+
174
182
  @utility text-on-fill-secondary {
175
183
  color: var(--text-on-fill-secondary);
176
184
  }
@@ -10,10 +10,10 @@
10
10
 
11
11
  /* ── Type scale, spacing, radius, shadows, motion, z-index ─────────────── */
12
12
  @theme {
13
- /* Spacing base unit — reactive at runtime via calc(var(--spacing) * N) */
13
+ /* Spacing base unit - reactive at runtime via calc(var(--spacing) * N) */
14
14
  --spacing: 0.375rem;
15
15
 
16
- /* Type scale — all sizes derived from --font-size-base,
16
+ /* Type scale - all sizes derived from --font-size-base,
17
17
  all line-heights derived from --leading-base.
18
18
  Adjust the two root tokens to scale the entire system. */
19
19
  --text-2xs: calc(var(--font-size-base) * 0.625);
@@ -52,7 +52,7 @@
52
52
  --text-7xl: calc(var(--font-size-base) * 5);
53
53
  --text-7xl--line-height: calc(var(--leading-base) * 0.75);
54
54
 
55
- /* Letter-spacing scale — derived from --letter-spacing-base.
55
+ /* Letter-spacing scale - derived from --letter-spacing-base.
56
56
  tighter=-2x tight=-1x normal=0 wide=1x wider=2x widest=4x */
57
57
  --tracking-tighter: calc(var(--letter-spacing-base) * -2);
58
58
  --tracking-tight: calc(var(--letter-spacing-base) * -1);
@@ -61,17 +61,17 @@
61
61
  --tracking-wider: calc(var(--letter-spacing-base) * 2);
62
62
  --tracking-widest: calc(var(--letter-spacing-base) * 4);
63
63
 
64
- /* Font families — in @theme (not inline) so Tailwind generates var()
64
+ /* Font families - in @theme (not inline) so Tailwind generates var()
65
65
  references, making them runtime-changeable by presets. */
66
66
  --font-sans: 'IBM Plex Mono', sans-serif;
67
67
  --font-heading: 'IBM Plex Mono', sans-serif;
68
68
  --font-brand: 'IBM Plex Mono', sans-serif;
69
69
 
70
- /* Border width — reactive at runtime */
70
+ /* Border width - reactive at runtime */
71
71
  --border-width: var(--border-width-base);
72
72
  --default-border-width: var(--border-width-base);
73
73
 
74
- /* Border radius — derived from --radius so presets scale all radii */
74
+ /* Border radius - derived from --radius so presets scale all radii */
75
75
  --radius-sm: calc(var(--radius) * 0.6);
76
76
  --radius-md: calc(var(--radius) * 0.8);
77
77
  --radius-lg: var(--radius);
@@ -80,7 +80,7 @@
80
80
  --radius-3xl: calc(var(--radius) * 2.2);
81
81
  --radius-4xl: calc(var(--radius) * 2.6);
82
82
 
83
- /* Shadow scale — derived from base variables
83
+ /* Shadow scale - derived from base variables
84
84
  xs=1x sm=1.5x md=3x lg=6x xl=12x */
85
85
  --shadow-xs: 0 calc(var(--shadow-offset-y) * 1) calc(var(--shadow-blur) * 1)
86
86
  calc(var(--shadow-spread) * 1) var(--shadow-base-color);