@leitware/composables 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -235,6 +235,14 @@ Editorial Grid:
235
235
  @import '@leitware/composables/presets/editorial-grid.css';
236
236
  ```
237
237
 
238
+ **Kumo**
239
+
240
+ ```css
241
+ @import '@fontsource-variable/inter';
242
+ @import '@leitware/composables/styles.css';
243
+ @import '@leitware/composables/presets/kumo.css';
244
+ ```
245
+
238
246
  The variable entrypoints include their preset weight ranges. The explicit IBM Plex files load normal weights 400–700; add italic entrypoints only if your interface uses them. The same package paths can instead be loaded as side-effect imports from an application entry file, for example `import '@fontsource-variable/inter'` or `import '@fontsource/ibm-plex-sans/600.css'`.
239
247
 
240
248
  ---
@@ -370,12 +378,13 @@ export default function RootLayout({ children }) {
370
378
 
371
379
  The default theme is included in `styles.css`. Alternative presets are available as standalone CSS files:
372
380
 
373
- | Preset | Vibe | Fonts |
374
- | ------------------ | ------------------------------------------- | ---------------------------------------------- |
375
- | **Default** | Clean neutral system, works everywhere | Inter + Bricolage Grotesque |
376
- | **Brutalist** | Bold, high-contrast, raw aesthetic | Space Grotesk + JetBrains Mono |
377
- | **Signal Pop** | Bright consumer-tech, modular and graphic | IBM Plex Sans + Space Grotesk + JetBrains Mono |
378
- | **Editorial Grid** | Flat technical catalogue with vivid signals | Inter + Bricolage Grotesque |
381
+ | Preset | Vibe | Fonts |
382
+ | ------------------ | ---------------------------------------------------- | ---------------------------------------------- |
383
+ | **Default** | Clean neutral system, works everywhere | Inter + Bricolage Grotesque |
384
+ | **Brutalist** | Bold, high-contrast, raw aesthetic | Space Grotesk + JetBrains Mono |
385
+ | **Signal Pop** | Bright consumer-tech, modular and graphic | IBM Plex Sans + Space Grotesk + JetBrains Mono |
386
+ | **Editorial Grid** | Flat technical catalogue with vivid signals | Inter + Bricolage Grotesque |
387
+ | **Kumo** | Cloudflare-inspired surfaces and highlighted buttons | Inter |
379
388
 
380
389
  ```css
381
390
  /* Optional: use exactly one alternative preset after styles.css */
@@ -383,6 +392,25 @@ The default theme is included in `styles.css`. Alternative presets are available
383
392
  @import '@leitware/composables/presets/brutalist.css';
384
393
  ```
385
394
 
395
+ Kumo takes its cues from [Cloudflare's Kumo](https://kumo-ui.com/components/button/):
396
+ neutral light/dark surfaces, blue primary actions, an orange brand accent, and
397
+ solid red destructive buttons. Primary (`variant="default"`) and destructive
398
+ buttons have darker borders, vertical gradients, and inset top highlights.
399
+ All five brand button variants use the same finish in their own colours; alerts
400
+ and badges continue to use the coordinated tinted surfaces.
401
+ Its default and large buttons are 36px and 40px tall; small and extra-small
402
+ buttons are 26px and 20px tall. The preset also styles fields, cards, status
403
+ surfaces, and the sidebar through the existing token system.
404
+
405
+ Button finishes can be tuned with `--button-primary-border`,
406
+ `--button-primary-background-image`, `--button-primary-hover-background-image`,
407
+ and `--button-primary-shadow`, with equivalent `--button-destructive-*`, `--button-brand-*`, and
408
+ `--button-brand-2-*` through `--button-brand-5-*` tokens.
409
+ Destructive fill and text use `--button-destructive-bg` and
410
+ `--button-destructive-text`, independently of the tinted critical surfaces used
411
+ by alerts and badges. Button sizes use `--button-height`, `--button-height-xs`,
412
+ `--button-height-sm`, and `--button-height-lg`; icon buttons use the same heights.
413
+
386
414
  ### Creating a Preset
387
415
 
388
416
  Add one preset data file, then register it once:
@@ -0,0 +1,630 @@
1
+ /* ============================================================================
2
+ @leitware/composables - Kumo Preset
3
+ ============================================================================
4
+ Cloudflare Kumo-inspired: neutral surfaces, blue actions, and highlighted gradient buttons.
5
+
6
+ HOW TO USE:
7
+ 1. Copy this file into your project's global CSS (e.g. index.css)
8
+ 2. Or import the preset: @import "@leitware/composables/presets/kumo.css";
9
+ 3. Add class="dark" to <html> for dark mode.
10
+ ============================================================================ */
11
+
12
+ :root {
13
+ --bg-default: #fbfbfb;
14
+ --bg-inverse: #080808;
15
+ --bg-muted: #f2f2f2;
16
+ --bg-surface-default: #ffffff;
17
+ --bg-surface-popover: #ffffff;
18
+ --bg-surface-accent: #f8f8f8;
19
+ --bg-surface-field: #ffffff;
20
+ --bg-surface-info: #eff6ff;
21
+ --bg-surface-success: #ecfdf5;
22
+ --bg-surface-warning: #fffbeb;
23
+ --bg-surface-critical: #fef2f2;
24
+ --bg-surface-emphasis: #eff6ff;
25
+ --bg-surface-inverse: #080808;
26
+ --bg-surface-transparent: #0000000d;
27
+ --bg-overlay: #00000080;
28
+ --bg-surface-brand: #fff2e8;
29
+ --bg-surface-brand-2: #e7fcff;
30
+ --bg-surface-brand-3: #f6ebff;
31
+ --bg-surface-brand-4: #edf3ff;
32
+ --bg-surface-brand-5: #ebfff0;
33
+ --bg-surface-hover: #f5f5f5;
34
+ --bg-fill-default: #ffffff;
35
+ --bg-fill-primary: #056dff;
36
+ --bg-fill-brand: #ff6a00;
37
+ --bg-fill-brand-2: #00c2d6;
38
+ --bg-fill-brand-3: #8a00f5;
39
+ --bg-fill-brand-4: #0057ff;
40
+ --bg-fill-brand-5: #00b83f;
41
+ --bg-fill-info: #3b82f6;
42
+ --bg-fill-success: #059669;
43
+ --bg-fill-warning: #f59e0b;
44
+ --bg-fill-critical: oklch(63.7% 0.237 25.331);
45
+ --bg-fill-emphasis: #056dff;
46
+ --bg-fill-transparent: #0000000d;
47
+ --bg-fill-secondary: #ffffff;
48
+ --bg-fill-secondary-inverse: #171717;
49
+ --text-default: #171717;
50
+ --text-secondary: #737373;
51
+ --text-muted: #737373;
52
+ --text-disabled: #d4d4d4;
53
+ --text-inverse: #f5f5f5;
54
+ --text-on-fill-primary: #ffffff;
55
+ --text-on-fill-brand: #171717;
56
+ --text-on-fill-secondary: #171717;
57
+ --text-on-surface-accent: #171717;
58
+ --text-info: #1e40af;
59
+ --text-success: #065f46;
60
+ --text-warning: #a16207;
61
+ --text-critical: #b91c1c;
62
+ --text-emphasis: #1e40af;
63
+ --text-brand: #a93600;
64
+ --text-brand-2: #006778;
65
+ --text-brand-3: #7200ca;
66
+ --text-brand-4: #0042cc;
67
+ --text-brand-5: #006e23;
68
+ --text-link: #1e40af;
69
+ --icon-default: #171717;
70
+ --icon-secondary: #737373;
71
+ --icon-disabled: #d4d4d4;
72
+ --icon-inverse: #f5f5f5;
73
+ --icon-info: #3b82f6;
74
+ --icon-success: #059669;
75
+ --icon-warning: #d97706;
76
+ --icon-critical: #ef4444;
77
+ --icon-emphasis: #056dff;
78
+ --icon-brand: #ff6a00;
79
+ --icon-brand-2: #00a5ba;
80
+ --icon-brand-3: #8a00f5;
81
+ --icon-brand-4: #0057ff;
82
+ --icon-brand-5: #00a536;
83
+ --border-default: #e9e9e9;
84
+ --border-secondary: #1717171a;
85
+ --border-input: #1717171a;
86
+ --border-tertiary: #d4d4d4;
87
+ --border-disabled: #e5e5e5;
88
+ --border-inverse: #525252;
89
+ --border-focus: #056dff;
90
+ --border-brand: #ffbb8a;
91
+ --border-brand-2: #71e5f2;
92
+ --border-brand-3: #d1a3ff;
93
+ --border-brand-4: #9abbff;
94
+ --border-brand-5: #80efa4;
95
+ --border-info: #bfdbfe;
96
+ --border-success: #a7f3d0;
97
+ --border-warning: #fde68a;
98
+ --border-critical: #fecaca;
99
+ --border-emphasis: #bfdbfe;
100
+ --chart-1: #056dff;
101
+ --chart-2: #ff6a00;
102
+ --chart-3: #00b83f;
103
+ --chart-4: #8a00f5;
104
+ --chart-5: #ef4444;
105
+ --sidebar-background: #fbfbfb;
106
+ --sidebar-foreground: #171717;
107
+ --sidebar-primary: #056dff;
108
+ --sidebar-primary-foreground: #ffffff;
109
+ --sidebar-accent: #f5f5f5;
110
+ --sidebar-accent-foreground: #171717;
111
+ --sidebar-border: #e9e9e9;
112
+ --sidebar-ring: #056dff;
113
+ --spacing: 0.25rem;
114
+ --border-width-base: 0.0625rem;
115
+ --radius: 0.5rem;
116
+ --font-size-base: 0.875rem;
117
+ --leading-base: 1.5;
118
+ --letter-spacing-base: 0.01em;
119
+ --opacity-disabled: 0.5;
120
+ --shadow-offset-y: 1px;
121
+ --shadow-blur: 2px;
122
+ --shadow-spread: 0px;
123
+ --shadow-base-color: #0000000d;
124
+ --container-sm: 576px;
125
+ --container-md: 768px;
126
+ --container-lg: 1056px;
127
+ --container-xl: 1248px;
128
+ --container-2xl: 1440px;
129
+ --dropdown-offset: 4;
130
+ --overlay-offset: 4;
131
+ --font-sans: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
132
+ --font-heading: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
133
+ --font-brand: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
134
+ --button-radius: var(--radius-lg);
135
+ --card-radius: var(--radius-xl);
136
+ --card-padding: calc(var(--spacing) * 4);
137
+ --input-radius: var(--radius-lg);
138
+ --input-height: calc(var(--spacing) * 9);
139
+ --badge-radius: var(--radius-md);
140
+ --motion-duration-fast: 100ms;
141
+ --motion-duration-normal: 200ms;
142
+ --motion-duration-slow: 300ms;
143
+ --motion-duration-color: var(--motion-duration-fast);
144
+ --motion-duration-interaction: var(--motion-duration-fast);
145
+ --motion-duration-disclosure: var(--motion-duration-normal);
146
+ --motion-duration-overlay: var(--motion-duration-fast);
147
+ --motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
148
+ --motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
149
+ --motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
150
+ --motion-ease-linear: linear;
151
+ --transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
152
+ --transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
153
+ --transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
154
+ --hover-transform: none;
155
+ --hover-shadow: none;
156
+ --active-scale: 1;
157
+ --heading-font-weight: 600;
158
+ --heading-letter-spacing: var(--tracking-tight);
159
+ --body-letter-spacing: var(--tracking-normal);
160
+ --hero-font-size: var(--text-5xl);
161
+ --hero-font-weight: 600;
162
+ --hero-letter-spacing: var(--tracking-tight);
163
+ --section-title-size: var(--text-3xl);
164
+ --section-title-font-weight: 600;
165
+ --section-title-letter-spacing: var(--tracking-tight);
166
+ --card-title-size: var(--text-lg);
167
+ --card-title-font-weight: 600;
168
+ --card-title-letter-spacing: var(--tracking-normal);
169
+ --text-xs: 0.75rem;
170
+ --text-xs--line-height: 1.333333;
171
+ --text-sm: 0.8125rem;
172
+ --text-sm--line-height: 1.5;
173
+ --button-radius-xs: 0.25rem;
174
+ --button-radius-sm: 0.375rem;
175
+ --button-height: calc(var(--spacing) * 9);
176
+ --button-height-xs: calc(var(--spacing) * 5);
177
+ --button-height-sm: calc(var(--spacing) * 6.5);
178
+ --button-height-lg: calc(var(--spacing) * 10);
179
+ --button-font-size: var(--text-base);
180
+ --button-font-size-xs: var(--text-xs);
181
+ --button-font-size-sm: var(--text-xs);
182
+ --button-gap: calc(var(--spacing) * 1.5);
183
+ --button-secondary-border: var(--border-secondary);
184
+ --button-secondary-hover-bg: var(--bg-surface-hover);
185
+ --button-secondary-shadow: 0 1px 2px #0000000d;
186
+ --button-secondary-hover-shadow: 0 1px 2px #0000000d;
187
+ --button-outline-shadow: 0 1px 2px #0000000d;
188
+ --button-outline-hover-shadow: 0 1px 2px #0000000d;
189
+ --button-quiet-hover-bg: var(--bg-surface-hover);
190
+ --button-destructive-bg: var(--bg-fill-critical);
191
+ --button-destructive-text: #ffffff;
192
+ --focus-ring-width: 2px;
193
+ --focus-ring-color: var(--border-focus);
194
+ --hover-ring-width: 0px;
195
+ --hover-ring-color: var(--border-secondary);
196
+ --button-primary-border: color-mix(in oklch, var(--bg-fill-primary), black 10%);
197
+ --button-primary-hover-border: color-mix(in oklch, var(--bg-fill-primary), black 10%);
198
+ --button-primary-background-image: linear-gradient(
199
+ to bottom,
200
+ color-mix(in oklch, var(--bg-fill-primary), white 15%),
201
+ var(--bg-fill-primary)
202
+ );
203
+ --button-primary-hover-background-image: linear-gradient(
204
+ to bottom,
205
+ color-mix(in oklch, var(--bg-fill-primary), white 30%),
206
+ var(--bg-fill-primary)
207
+ );
208
+ --button-primary-shadow:
209
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-primary), white 30%), 0 1px 2px #0000000d;
210
+ --button-primary-hover-shadow:
211
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-primary), white 30%), 0 1px 2px #0000000d;
212
+ --button-destructive-border: color-mix(in oklch, var(--bg-fill-critical), black 10%);
213
+ --button-destructive-hover-border: color-mix(in oklch, var(--bg-fill-critical), black 10%);
214
+ --button-destructive-background-image: linear-gradient(
215
+ to bottom,
216
+ color-mix(in oklch, var(--bg-fill-critical), white 15%),
217
+ var(--bg-fill-critical)
218
+ );
219
+ --button-destructive-hover-background-image: linear-gradient(
220
+ to bottom,
221
+ color-mix(in oklch, var(--bg-fill-critical), white 30%),
222
+ var(--bg-fill-critical)
223
+ );
224
+ --button-destructive-shadow:
225
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-critical), white 30%), 0 1px 2px #0000000d;
226
+ --button-destructive-hover-shadow:
227
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-critical), white 30%), 0 1px 2px #0000000d;
228
+ --button-brand-border: color-mix(in oklch, #d43c00, black 10%);
229
+ --button-brand-hover-border: color-mix(in oklch, #d43c00, black 10%);
230
+ --button-brand-background-image: linear-gradient(
231
+ to bottom,
232
+ color-mix(in oklch, #d43c00, white 1%),
233
+ #d43c00
234
+ );
235
+ --button-brand-hover-background-image: linear-gradient(
236
+ to bottom,
237
+ color-mix(in oklch, #d43c00, white 2%),
238
+ #d43c00
239
+ );
240
+ --button-brand-shadow: inset 0 1px 0 color-mix(in oklch, #d43c00, white 30%), 0 1px 2px #0000000d;
241
+ --button-brand-hover-shadow:
242
+ inset 0 1px 0 color-mix(in oklch, #d43c00, white 30%), 0 1px 2px #0000000d;
243
+ --button-brand-bg: #d43c00;
244
+ --button-brand-text: #ffffff;
245
+ --button-brand-2-border: color-mix(in oklch, #008090, black 10%);
246
+ --button-brand-2-hover-border: color-mix(in oklch, #008090, black 10%);
247
+ --button-brand-2-background-image: linear-gradient(
248
+ to bottom,
249
+ color-mix(in oklch, #008090, white 1%),
250
+ #008090
251
+ );
252
+ --button-brand-2-hover-background-image: linear-gradient(
253
+ to bottom,
254
+ color-mix(in oklch, #008090, white 2%),
255
+ #008090
256
+ );
257
+ --button-brand-2-shadow:
258
+ inset 0 1px 0 color-mix(in oklch, #008090, white 30%), 0 1px 2px #0000000d;
259
+ --button-brand-2-hover-shadow:
260
+ inset 0 1px 0 color-mix(in oklch, #008090, white 30%), 0 1px 2px #0000000d;
261
+ --button-brand-2-bg: #008090;
262
+ --button-brand-2-text: #ffffff;
263
+ --button-brand-3-border: color-mix(in oklch, #8a00f5, black 10%);
264
+ --button-brand-3-hover-border: color-mix(in oklch, #8a00f5, black 10%);
265
+ --button-brand-3-background-image: linear-gradient(
266
+ to bottom,
267
+ color-mix(in oklch, #8a00f5, white 3%),
268
+ #8a00f5
269
+ );
270
+ --button-brand-3-hover-background-image: linear-gradient(
271
+ to bottom,
272
+ color-mix(in oklch, #8a00f5, white 5%),
273
+ #8a00f5
274
+ );
275
+ --button-brand-3-shadow:
276
+ inset 0 1px 0 color-mix(in oklch, #8a00f5, white 30%), 0 1px 2px #0000000d;
277
+ --button-brand-3-hover-shadow:
278
+ inset 0 1px 0 color-mix(in oklch, #8a00f5, white 30%), 0 1px 2px #0000000d;
279
+ --button-brand-3-bg: #8a00f5;
280
+ --button-brand-3-text: #ffffff;
281
+ --button-brand-4-border: color-mix(in oklch, #0057ff, black 10%);
282
+ --button-brand-4-hover-border: color-mix(in oklch, #0057ff, black 10%);
283
+ --button-brand-4-background-image: linear-gradient(
284
+ to bottom,
285
+ color-mix(in oklch, #0057ff, white 3%),
286
+ #0057ff
287
+ );
288
+ --button-brand-4-hover-background-image: linear-gradient(
289
+ to bottom,
290
+ color-mix(in oklch, #0057ff, white 5%),
291
+ #0057ff
292
+ );
293
+ --button-brand-4-shadow:
294
+ inset 0 1px 0 color-mix(in oklch, #0057ff, white 30%), 0 1px 2px #0000000d;
295
+ --button-brand-4-hover-shadow:
296
+ inset 0 1px 0 color-mix(in oklch, #0057ff, white 30%), 0 1px 2px #0000000d;
297
+ --button-brand-4-bg: #0057ff;
298
+ --button-brand-4-text: #ffffff;
299
+ --button-brand-5-border: color-mix(in oklch, #008700, black 10%);
300
+ --button-brand-5-hover-border: color-mix(in oklch, #008700, black 10%);
301
+ --button-brand-5-background-image: linear-gradient(
302
+ to bottom,
303
+ color-mix(in oklch, #008700, white 1%),
304
+ #008700
305
+ );
306
+ --button-brand-5-hover-background-image: linear-gradient(
307
+ to bottom,
308
+ color-mix(in oklch, #008700, white 2%),
309
+ #008700
310
+ );
311
+ --button-brand-5-shadow:
312
+ inset 0 1px 0 color-mix(in oklch, #008700, white 30%), 0 1px 2px #0000000d;
313
+ --button-brand-5-hover-shadow:
314
+ inset 0 1px 0 color-mix(in oklch, #008700, white 30%), 0 1px 2px #0000000d;
315
+ --button-brand-5-bg: #008700;
316
+ --button-brand-5-text: #ffffff;
317
+ --background: var(--bg-default);
318
+ --foreground: var(--text-default);
319
+ --card: var(--bg-surface-default);
320
+ --card-foreground: var(--text-default);
321
+ --popover: var(--bg-surface-popover);
322
+ --popover-foreground: var(--text-default);
323
+ --primary: var(--bg-fill-primary);
324
+ --primary-foreground: var(--text-on-fill-primary);
325
+ --secondary: var(--bg-fill-secondary);
326
+ --secondary-foreground: var(--text-on-fill-secondary);
327
+ --muted: var(--bg-muted);
328
+ --muted-foreground: var(--text-muted);
329
+ --accent: var(--bg-surface-accent);
330
+ --accent-foreground: var(--text-on-surface-accent);
331
+ --destructive: var(--bg-fill-critical);
332
+ --border: var(--border-default);
333
+ --input: var(--border-input);
334
+ --ring: var(--border-focus);
335
+ }
336
+
337
+ .dark {
338
+ --bg-default: #030303;
339
+ --bg-inverse: #fbfbfb;
340
+ --bg-muted: #0b0b0b;
341
+ --bg-surface-default: #0f0f0f;
342
+ --bg-surface-popover: #0f0f0f;
343
+ --bg-surface-accent: #060606;
344
+ --bg-surface-field: #171717;
345
+ --bg-surface-info: #101b35;
346
+ --bg-surface-success: #0b241b;
347
+ --bg-surface-warning: #2b2111;
348
+ --bg-surface-critical: #2c1415;
349
+ --bg-surface-emphasis: #101b35;
350
+ --bg-surface-inverse: #fbfbfb;
351
+ --bg-surface-transparent: #ffffff0d;
352
+ --bg-overlay: #000000b3;
353
+ --bg-surface-brand: #311a0a;
354
+ --bg-surface-brand-2: #062b31;
355
+ --bg-surface-brand-3: #291039;
356
+ --bg-surface-brand-4: #0b1c3d;
357
+ --bg-surface-brand-5: #082b13;
358
+ --bg-surface-hover: #262626;
359
+ --bg-fill-default: #0f0f0f;
360
+ --bg-fill-primary: #045ede;
361
+ --bg-fill-brand: #ff6a00;
362
+ --bg-fill-brand-2: #00d9ed;
363
+ --bg-fill-brand-3: #b35cff;
364
+ --bg-fill-brand-4: #4791ff;
365
+ --bg-fill-brand-5: #22e65f;
366
+ --bg-fill-info: #3b82f6;
367
+ --bg-fill-success: #34d399;
368
+ --bg-fill-warning: #ea580c;
369
+ --bg-fill-critical: oklch(57.7% 0.245 27.325);
370
+ --bg-fill-emphasis: #045ede;
371
+ --bg-fill-transparent: #ffffff0d;
372
+ --bg-fill-secondary: #0f0f0f;
373
+ --bg-fill-secondary-inverse: #f5f5f5;
374
+ --text-default: #f5f5f5;
375
+ --text-secondary: #a3a3a3;
376
+ --text-muted: #a3a3a3;
377
+ --text-disabled: #525252;
378
+ --text-inverse: #171717;
379
+ --text-on-fill-primary: #ffffff;
380
+ --text-on-fill-brand: #171717;
381
+ --text-on-fill-secondary: #f5f5f5;
382
+ --text-on-surface-accent: #f5f5f5;
383
+ --text-info: #60a5fa;
384
+ --text-success: #a7f3d0;
385
+ --text-warning: #fb923c;
386
+ --text-critical: #f87171;
387
+ --text-emphasis: #60a5fa;
388
+ --text-brand: #ffae70;
389
+ --text-brand-2: #66edff;
390
+ --text-brand-3: #d49aff;
391
+ --text-brand-4: #80b3ff;
392
+ --text-brand-5: #6bf593;
393
+ --text-link: #60a5fa;
394
+ --icon-default: #f5f5f5;
395
+ --icon-secondary: #a3a3a3;
396
+ --icon-disabled: #525252;
397
+ --icon-inverse: #171717;
398
+ --icon-info: #60a5fa;
399
+ --icon-success: #34d399;
400
+ --icon-warning: #fb923c;
401
+ --icon-critical: #f87171;
402
+ --icon-emphasis: #60a5fa;
403
+ --icon-brand: #ff842e;
404
+ --icon-brand-2: #00d9ed;
405
+ --icon-brand-3: #b35cff;
406
+ --icon-brand-4: #4791ff;
407
+ --icon-brand-5: #22e65f;
408
+ --border-default: #262626;
409
+ --border-secondary: #333333;
410
+ --border-input: #333333;
411
+ --border-tertiary: #404040;
412
+ --border-disabled: #262626;
413
+ --border-inverse: #d4d4d4;
414
+ --border-focus: #60a5fa;
415
+ --border-brand: #a23b00;
416
+ --border-brand-2: #007b8a;
417
+ --border-brand-3: #7222a8;
418
+ --border-brand-4: #174fad;
419
+ --border-brand-5: #00732a;
420
+ --border-info: #1e3a8a;
421
+ --border-success: #065f46;
422
+ --border-warning: #78350f;
423
+ --border-critical: #7f1d1d;
424
+ --border-emphasis: #1e3a8a;
425
+ --chart-1: #60a5fa;
426
+ --chart-2: #ff6a00;
427
+ --chart-3: #22e65f;
428
+ --chart-4: #b35cff;
429
+ --chart-5: #f87171;
430
+ --sidebar-background: #030303;
431
+ --sidebar-foreground: #f5f5f5;
432
+ --sidebar-primary: #045ede;
433
+ --sidebar-primary-foreground: #ffffff;
434
+ --sidebar-accent: #262626;
435
+ --sidebar-accent-foreground: #f5f5f5;
436
+ --sidebar-border: #262626;
437
+ --sidebar-ring: #60a5fa;
438
+ --font-sans: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
439
+ --font-heading: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
440
+ --font-brand: 'Inter Variable', ui-sans-serif, system-ui, sans-serif;
441
+ --spacing: 0.25rem;
442
+ --border-width-base: 0.0625rem;
443
+ --radius: 0.5rem;
444
+ --font-size-base: 0.875rem;
445
+ --text-xs: 0.75rem;
446
+ --text-xs--line-height: 1.333333;
447
+ --text-sm: 0.8125rem;
448
+ --text-sm--line-height: 1.5;
449
+ --leading-base: 1.5;
450
+ --letter-spacing-base: 0.01em;
451
+ --button-radius: var(--radius-lg);
452
+ --button-radius-xs: 0.25rem;
453
+ --button-radius-sm: 0.375rem;
454
+ --button-height: calc(var(--spacing) * 9);
455
+ --button-height-xs: calc(var(--spacing) * 5);
456
+ --button-height-sm: calc(var(--spacing) * 6.5);
457
+ --button-height-lg: calc(var(--spacing) * 10);
458
+ --button-font-size: var(--text-base);
459
+ --button-font-size-xs: var(--text-xs);
460
+ --button-font-size-sm: var(--text-xs);
461
+ --button-gap: calc(var(--spacing) * 1.5);
462
+ --card-radius: var(--radius-xl);
463
+ --input-radius: var(--radius-lg);
464
+ --input-height: calc(var(--spacing) * 9);
465
+ --badge-radius: var(--radius-md);
466
+ --opacity-disabled: 0.5;
467
+ --shadow-offset-y: 1px;
468
+ --shadow-blur: 2px;
469
+ --shadow-spread: 0px;
470
+ --shadow-base-color: #0000004d;
471
+ --button-secondary-border: var(--border-secondary);
472
+ --button-secondary-hover-bg: var(--bg-surface-hover);
473
+ --button-secondary-shadow: 0 1px 2px #0000000d;
474
+ --button-secondary-hover-shadow: 0 1px 2px #0000000d;
475
+ --button-outline-shadow: 0 1px 2px #0000000d;
476
+ --button-outline-hover-shadow: 0 1px 2px #0000000d;
477
+ --button-quiet-hover-bg: var(--bg-surface-hover);
478
+ --button-destructive-bg: var(--bg-fill-critical);
479
+ --button-destructive-text: #ffffff;
480
+ --focus-ring-width: 2px;
481
+ --focus-ring-color: var(--border-focus);
482
+ --hover-ring-width: 0px;
483
+ --hover-ring-color: var(--border-secondary);
484
+ --hover-transform: none;
485
+ --hover-shadow: none;
486
+ --active-scale: 1;
487
+ --heading-font-weight: 600;
488
+ --hero-font-weight: 600;
489
+ --section-title-font-weight: 600;
490
+ --card-title-font-weight: 600;
491
+ --button-primary-border: color-mix(in oklch, var(--bg-fill-primary), black 10%);
492
+ --button-primary-hover-border: color-mix(in oklch, var(--bg-fill-primary), black 10%);
493
+ --button-primary-background-image: linear-gradient(
494
+ to bottom,
495
+ color-mix(in oklch, var(--bg-fill-primary), white 15%),
496
+ var(--bg-fill-primary)
497
+ );
498
+ --button-primary-hover-background-image: linear-gradient(
499
+ to bottom,
500
+ color-mix(in oklch, var(--bg-fill-primary), white 30%),
501
+ var(--bg-fill-primary)
502
+ );
503
+ --button-primary-shadow:
504
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-primary), white 30%), 0 1px 2px #0000000d;
505
+ --button-primary-hover-shadow:
506
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-primary), white 30%), 0 1px 2px #0000000d;
507
+ --button-destructive-border: color-mix(in oklch, var(--bg-fill-critical), black 10%);
508
+ --button-destructive-hover-border: color-mix(in oklch, var(--bg-fill-critical), black 10%);
509
+ --button-destructive-background-image: linear-gradient(
510
+ to bottom,
511
+ color-mix(in oklch, var(--bg-fill-critical), white 15%),
512
+ var(--bg-fill-critical)
513
+ );
514
+ --button-destructive-hover-background-image: linear-gradient(
515
+ to bottom,
516
+ color-mix(in oklch, var(--bg-fill-critical), white 30%),
517
+ var(--bg-fill-critical)
518
+ );
519
+ --button-destructive-shadow:
520
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-critical), white 30%), 0 1px 2px #0000000d;
521
+ --button-destructive-hover-shadow:
522
+ inset 0 1px 0 color-mix(in oklch, var(--bg-fill-critical), white 30%), 0 1px 2px #0000000d;
523
+ --button-brand-border: color-mix(in oklch, #d43c00, black 10%);
524
+ --button-brand-hover-border: color-mix(in oklch, #d43c00, black 10%);
525
+ --button-brand-background-image: linear-gradient(
526
+ to bottom,
527
+ color-mix(in oklch, #d43c00, white 1%),
528
+ #d43c00
529
+ );
530
+ --button-brand-hover-background-image: linear-gradient(
531
+ to bottom,
532
+ color-mix(in oklch, #d43c00, white 2%),
533
+ #d43c00
534
+ );
535
+ --button-brand-shadow: inset 0 1px 0 color-mix(in oklch, #d43c00, white 30%), 0 1px 2px #0000000d;
536
+ --button-brand-hover-shadow:
537
+ inset 0 1px 0 color-mix(in oklch, #d43c00, white 30%), 0 1px 2px #0000000d;
538
+ --button-brand-bg: #d43c00;
539
+ --button-brand-text: #ffffff;
540
+ --button-brand-2-border: color-mix(in oklch, #008090, black 10%);
541
+ --button-brand-2-hover-border: color-mix(in oklch, #008090, black 10%);
542
+ --button-brand-2-background-image: linear-gradient(
543
+ to bottom,
544
+ color-mix(in oklch, #008090, white 1%),
545
+ #008090
546
+ );
547
+ --button-brand-2-hover-background-image: linear-gradient(
548
+ to bottom,
549
+ color-mix(in oklch, #008090, white 2%),
550
+ #008090
551
+ );
552
+ --button-brand-2-shadow:
553
+ inset 0 1px 0 color-mix(in oklch, #008090, white 30%), 0 1px 2px #0000000d;
554
+ --button-brand-2-hover-shadow:
555
+ inset 0 1px 0 color-mix(in oklch, #008090, white 30%), 0 1px 2px #0000000d;
556
+ --button-brand-2-bg: #008090;
557
+ --button-brand-2-text: #ffffff;
558
+ --button-brand-3-border: color-mix(in oklch, #8a00f5, black 10%);
559
+ --button-brand-3-hover-border: color-mix(in oklch, #8a00f5, black 10%);
560
+ --button-brand-3-background-image: linear-gradient(
561
+ to bottom,
562
+ color-mix(in oklch, #8a00f5, white 3%),
563
+ #8a00f5
564
+ );
565
+ --button-brand-3-hover-background-image: linear-gradient(
566
+ to bottom,
567
+ color-mix(in oklch, #8a00f5, white 5%),
568
+ #8a00f5
569
+ );
570
+ --button-brand-3-shadow:
571
+ inset 0 1px 0 color-mix(in oklch, #8a00f5, white 30%), 0 1px 2px #0000000d;
572
+ --button-brand-3-hover-shadow:
573
+ inset 0 1px 0 color-mix(in oklch, #8a00f5, white 30%), 0 1px 2px #0000000d;
574
+ --button-brand-3-bg: #8a00f5;
575
+ --button-brand-3-text: #ffffff;
576
+ --button-brand-4-border: color-mix(in oklch, #0057ff, black 10%);
577
+ --button-brand-4-hover-border: color-mix(in oklch, #0057ff, black 10%);
578
+ --button-brand-4-background-image: linear-gradient(
579
+ to bottom,
580
+ color-mix(in oklch, #0057ff, white 3%),
581
+ #0057ff
582
+ );
583
+ --button-brand-4-hover-background-image: linear-gradient(
584
+ to bottom,
585
+ color-mix(in oklch, #0057ff, white 5%),
586
+ #0057ff
587
+ );
588
+ --button-brand-4-shadow:
589
+ inset 0 1px 0 color-mix(in oklch, #0057ff, white 30%), 0 1px 2px #0000000d;
590
+ --button-brand-4-hover-shadow:
591
+ inset 0 1px 0 color-mix(in oklch, #0057ff, white 30%), 0 1px 2px #0000000d;
592
+ --button-brand-4-bg: #0057ff;
593
+ --button-brand-4-text: #ffffff;
594
+ --button-brand-5-border: color-mix(in oklch, #008700, black 10%);
595
+ --button-brand-5-hover-border: color-mix(in oklch, #008700, black 10%);
596
+ --button-brand-5-background-image: linear-gradient(
597
+ to bottom,
598
+ color-mix(in oklch, #008700, white 1%),
599
+ #008700
600
+ );
601
+ --button-brand-5-hover-background-image: linear-gradient(
602
+ to bottom,
603
+ color-mix(in oklch, #008700, white 2%),
604
+ #008700
605
+ );
606
+ --button-brand-5-shadow:
607
+ inset 0 1px 0 color-mix(in oklch, #008700, white 30%), 0 1px 2px #0000000d;
608
+ --button-brand-5-hover-shadow:
609
+ inset 0 1px 0 color-mix(in oklch, #008700, white 30%), 0 1px 2px #0000000d;
610
+ --button-brand-5-bg: #008700;
611
+ --button-brand-5-text: #ffffff;
612
+ --background: var(--bg-default);
613
+ --foreground: var(--text-default);
614
+ --card: var(--bg-surface-default);
615
+ --card-foreground: var(--text-default);
616
+ --popover: var(--bg-surface-popover);
617
+ --popover-foreground: var(--text-default);
618
+ --primary: var(--bg-fill-primary);
619
+ --primary-foreground: var(--text-on-fill-primary);
620
+ --secondary: var(--bg-fill-secondary);
621
+ --secondary-foreground: var(--text-on-fill-secondary);
622
+ --muted: var(--bg-muted);
623
+ --muted-foreground: var(--text-muted);
624
+ --accent: var(--bg-surface-accent);
625
+ --accent-foreground: var(--text-on-surface-accent);
626
+ --destructive: var(--bg-fill-critical);
627
+ --border: var(--border-default);
628
+ --input: var(--border-input);
629
+ --ring: var(--border-focus);
630
+ }