@leitware/composables 1.5.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,11 +2,13 @@ import { defaultPreset, defaultPresetDark } from './default'
2
2
  import { brutalist, brutalistDark } from './brutalist'
3
3
  import { signalPop, signalPopDark } from './signal-pop'
4
4
  import { editorialGrid, editorialGridDark } from './editorial-grid'
5
+ import { kumo, kumoDark } from './kumo'
5
6
 
6
7
  export { defaultPreset, defaultPresetDark } from './default'
7
8
  export { brutalist, brutalistDark } from './brutalist'
8
9
  export { signalPop, signalPopDark } from './signal-pop'
9
10
  export { editorialGrid, editorialGridDark } from './editorial-grid'
11
+ export { kumo, kumoDark } from './kumo'
10
12
 
11
13
  export interface PresetDefinition {
12
14
  name: string
@@ -47,6 +49,14 @@ export const presetDefinitions = [
47
49
  light: editorialGrid,
48
50
  dark: editorialGridDark,
49
51
  },
52
+ {
53
+ name: 'kumo',
54
+ label: 'Kumo',
55
+ description:
56
+ 'Cloudflare Kumo-inspired: neutral surfaces, blue actions, and highlighted gradient buttons.',
57
+ light: kumo,
58
+ dark: kumoDark,
59
+ },
50
60
  ] satisfies PresetDefinition[]
51
61
 
52
62
  export const presetDefinitionsByName = Object.fromEntries(
@@ -0,0 +1,338 @@
1
+ import { defaultPreset, defaultPresetDark } from './default'
2
+
3
+ /**
4
+ * Inspired by Cloudflare Kumo's theme and button treatments:
5
+ * https://github.com/cloudflare/kumo/blob/main/packages/kumo/scripts/theme-generator/config.ts
6
+ * https://github.com/cloudflare/kumo/blob/main/packages/kumo/src/components/button/button.tsx
7
+ *
8
+ * Kumo's blue action colour (oklch(0.5772 0.2324 260)) is #056dff in sRGB.
9
+ * Orange is the Cloudflare brand accent; primary actions remain blue.
10
+ * Semantic status surfaces stay tinted; action and brand buttons use solid fills.
11
+ */
12
+ type BrandButton = 'brand' | 'brand-2' | 'brand-3' | 'brand-4' | 'brand-5'
13
+
14
+ function emphasisFinish(
15
+ kind: 'primary' | 'destructive' | BrandButton,
16
+ fill: string,
17
+ gradientMix = { start: 15, hover: 30 },
18
+ ): Record<string, string> {
19
+ const edge = `color-mix(in oklch, ${fill}, black 10%)`
20
+ const highlight = `color-mix(in oklch, ${fill}, white 30%)`
21
+ return {
22
+ [`--button-${kind}-border`]: edge,
23
+ [`--button-${kind}-hover-border`]: edge,
24
+ [`--button-${kind}-background-image`]: `linear-gradient(to bottom, color-mix(in oklch, ${fill}, white ${gradientMix.start}%), ${fill})`,
25
+ [`--button-${kind}-hover-background-image`]: `linear-gradient(to bottom, color-mix(in oklch, ${fill}, white ${gradientMix.hover}%), ${fill})`,
26
+ [`--button-${kind}-shadow`]: `inset 0 1px 0 ${highlight}, 0 1px 2px #0000000d`,
27
+ [`--button-${kind}-hover-shadow`]: `inset 0 1px 0 ${highlight}, 0 1px 2px #0000000d`,
28
+ }
29
+ }
30
+
31
+ // Vivid body colours and a bright upper edge make the brand actions pop.
32
+ // White labels use a heavier weight and a subtle shadow over these gradients.
33
+ const brandButtonColors: Record<BrandButton, { top: string; bottom: string; highlight: string }> = {
34
+ brand: { top: '#F45B00', bottom: '#E04400', highlight: '#FF8A00' },
35
+ 'brand-2': { top: '#009DB8', bottom: '#007DAB', highlight: '#00D8EA' },
36
+ 'brand-3': { top: '#AA0AFF', bottom: '#7C00E5', highlight: '#E04BFF' },
37
+ 'brand-4': { top: '#1464FF', bottom: '#0045EF', highlight: '#388BFF' },
38
+ 'brand-5': { top: '#00AB38', bottom: '#008D21', highlight: '#63E600' },
39
+ }
40
+
41
+ function brandFinishes(): Record<string, string> {
42
+ return Object.assign(
43
+ {},
44
+ ...Object.entries(brandButtonColors).map(([variant, { top, bottom, highlight }]) => {
45
+ const edge = `color-mix(in oklch, ${top}, black 8%)`
46
+ const rim = `color-mix(in oklch, ${highlight}, white 15%)`
47
+ const shadow = `color-mix(in srgb, ${top}, transparent 82%)`
48
+ const hoverShadow = `color-mix(in srgb, ${top}, transparent 75%)`
49
+ return {
50
+ [`--button-${variant}-bg`]: top,
51
+ [`--button-${variant}-text`]: '#FFFFFF',
52
+ [`--button-${variant}-border`]: edge,
53
+ [`--button-${variant}-hover-border`]: top,
54
+ [`--button-${variant}-background-image`]: `linear-gradient(to bottom, ${highlight} 0%, ${top} 20%, ${bottom} 100%)`,
55
+ [`--button-${variant}-hover-background-image`]: `linear-gradient(to bottom, ${highlight} 0%, ${top} 20%, color-mix(in oklch, ${bottom}, ${top} 25%) 100%)`,
56
+ [`--button-${variant}-shadow`]: `inset 0 1px 0 ${rim}, inset 0 -1px 0 ${edge}, 0 2px 3px ${shadow}`,
57
+ [`--button-${variant}-hover-shadow`]: `inset 0 1px 0 ${rim}, inset 0 -1px 0 ${edge}, 0 2px 6px ${hoverShadow}`,
58
+ }
59
+ }),
60
+ )
61
+ }
62
+
63
+ const shape: Record<string, string> = {
64
+ '--spacing': '0.25rem',
65
+ '--border-width-base': '0.0625rem',
66
+ '--radius': '0.5rem',
67
+ '--font-size-base': '0.875rem',
68
+ '--text-xs': '0.75rem',
69
+ '--text-xs--line-height': '1.333333',
70
+ '--text-sm': '0.8125rem',
71
+ '--text-sm--line-height': '1.5',
72
+ '--leading-base': '1.5',
73
+ '--letter-spacing-base': '0.01em',
74
+ '--font-sans': '"Inter Variable", ui-sans-serif, system-ui, sans-serif',
75
+ '--font-heading': '"Inter Variable", ui-sans-serif, system-ui, sans-serif',
76
+ '--font-brand': '"Inter Variable", ui-sans-serif, system-ui, sans-serif',
77
+ '--button-radius': 'var(--radius-lg)',
78
+ '--button-radius-xs': '0.25rem',
79
+ '--button-radius-sm': '0.375rem',
80
+ '--button-height': 'calc(var(--spacing) * 9)',
81
+ '--button-height-xs': 'calc(var(--spacing) * 5)',
82
+ '--button-height-sm': 'calc(var(--spacing) * 6.5)',
83
+ '--button-height-lg': 'calc(var(--spacing) * 10)',
84
+ '--button-font-size': 'var(--text-base)',
85
+ '--button-font-size-xs': 'var(--text-xs)',
86
+ '--button-font-size-sm': 'var(--text-xs)',
87
+ '--button-gap': 'calc(var(--spacing) * 1.5)',
88
+ '--button-brand-font-weight': '600',
89
+ '--button-brand-text-shadow': '0 1px 1px #00000059, 0 0 1px #00000040',
90
+ '--card-radius': 'var(--radius-xl)',
91
+ '--input-radius': 'var(--radius-lg)',
92
+ '--input-height': 'calc(var(--spacing) * 9)',
93
+ '--badge-radius': 'var(--radius-md)',
94
+ '--opacity-disabled': '0.5',
95
+ '--shadow-offset-y': '1px',
96
+ '--shadow-blur': '2px',
97
+ '--shadow-spread': '0px',
98
+ '--shadow-base-color': '#0000000D',
99
+ '--button-secondary-border': 'var(--border-secondary)',
100
+ '--button-secondary-hover-bg': 'var(--bg-surface-hover)',
101
+ '--button-secondary-shadow': '0 1px 2px #0000000d',
102
+ '--button-secondary-hover-shadow': '0 1px 2px #0000000d',
103
+ '--button-outline-shadow': '0 1px 2px #0000000d',
104
+ '--button-outline-hover-shadow': '0 1px 2px #0000000d',
105
+ '--button-quiet-hover-bg': 'var(--bg-surface-hover)',
106
+ '--button-destructive-bg': 'var(--bg-fill-critical)',
107
+ '--button-destructive-text': '#FFFFFF',
108
+ '--focus-ring-width': '2px',
109
+ '--focus-ring-color': 'var(--border-focus)',
110
+ '--hover-ring-width': '0px',
111
+ '--hover-ring-color': 'var(--border-secondary)',
112
+ '--hover-transform': 'none',
113
+ '--hover-shadow': 'none',
114
+ '--active-scale': '1',
115
+ '--heading-font-weight': '600',
116
+ '--hero-font-weight': '600',
117
+ '--section-title-font-weight': '600',
118
+ '--card-title-font-weight': '600',
119
+ }
120
+
121
+ export const kumo: Record<string, string> = {
122
+ ...defaultPreset,
123
+ ...shape,
124
+ ...emphasisFinish('primary', 'var(--bg-fill-primary)'),
125
+ ...emphasisFinish('destructive', 'var(--bg-fill-critical)'),
126
+ ...brandFinishes(),
127
+
128
+ '--bg-default': '#FBFBFB',
129
+ '--bg-inverse': '#080808',
130
+ '--bg-muted': '#F2F2F2',
131
+ '--bg-surface-default': '#FFFFFF',
132
+ '--bg-surface-popover': '#FFFFFF',
133
+ '--bg-surface-accent': '#F8F8F8',
134
+ '--bg-surface-field': '#FFFFFF',
135
+ '--bg-surface-hover': '#F5F5F5',
136
+ '--bg-surface-inverse': '#080808',
137
+ '--bg-surface-transparent': '#0000000D',
138
+ '--bg-overlay': '#00000080',
139
+ '--bg-surface-info': '#EFF6FF',
140
+ '--bg-surface-success': '#ECFDF5',
141
+ '--bg-surface-warning': '#FFFBEB',
142
+ '--bg-surface-critical': '#FEF2F2',
143
+ '--bg-surface-emphasis': '#EFF6FF',
144
+ '--bg-surface-brand': '#FFF2E8',
145
+ '--bg-surface-brand-2': '#E7FCFF',
146
+ '--bg-surface-brand-3': '#F6EBFF',
147
+ '--bg-surface-brand-4': '#EDF3FF',
148
+ '--bg-surface-brand-5': '#EBFFF0',
149
+ '--bg-fill-default': '#FFFFFF',
150
+ '--bg-fill-primary': '#056DFF',
151
+ '--bg-fill-secondary': '#FFFFFF',
152
+ '--bg-fill-secondary-inverse': '#171717',
153
+ '--bg-fill-transparent': '#0000000D',
154
+ '--bg-fill-brand': '#FF6A00',
155
+ '--bg-fill-brand-2': '#00C2D6',
156
+ '--bg-fill-brand-3': '#8A00F5',
157
+ '--bg-fill-brand-4': '#0057FF',
158
+ '--bg-fill-brand-5': '#00B83F',
159
+ '--bg-fill-info': '#3B82F6',
160
+ '--bg-fill-success': '#059669',
161
+ '--bg-fill-warning': '#F59E0B',
162
+ '--bg-fill-critical': 'oklch(63.7% 0.237 25.331)',
163
+ '--bg-fill-emphasis': '#056DFF',
164
+ '--text-default': '#171717',
165
+ '--text-secondary': '#737373',
166
+ '--text-muted': '#737373',
167
+ '--text-disabled': '#D4D4D4',
168
+ '--text-inverse': '#F5F5F5',
169
+ '--text-on-fill-primary': '#FFFFFF',
170
+ '--text-on-fill-brand': '#171717',
171
+ '--text-on-fill-secondary': '#171717',
172
+ '--text-on-surface-accent': '#171717',
173
+ '--text-info': '#1E40AF',
174
+ '--text-success': '#065F46',
175
+ '--text-warning': '#A16207',
176
+ '--text-critical': '#B91C1C',
177
+ '--text-emphasis': '#1E40AF',
178
+ '--text-brand': '#A93600',
179
+ '--text-brand-2': '#006778',
180
+ '--text-brand-3': '#7200CA',
181
+ '--text-brand-4': '#0042CC',
182
+ '--text-brand-5': '#006E23',
183
+ '--text-link': '#1E40AF',
184
+ '--icon-default': '#171717',
185
+ '--icon-secondary': '#737373',
186
+ '--icon-disabled': '#D4D4D4',
187
+ '--icon-inverse': '#F5F5F5',
188
+ '--icon-info': '#3B82F6',
189
+ '--icon-success': '#059669',
190
+ '--icon-warning': '#D97706',
191
+ '--icon-critical': '#EF4444',
192
+ '--icon-emphasis': '#056DFF',
193
+ '--icon-brand': '#FF6A00',
194
+ '--icon-brand-2': '#00A5BA',
195
+ '--icon-brand-3': '#8A00F5',
196
+ '--icon-brand-4': '#0057FF',
197
+ '--icon-brand-5': '#00A536',
198
+ '--border-default': '#E9E9E9',
199
+ '--border-secondary': '#1717171A',
200
+ '--border-input': '#1717171A',
201
+ '--border-tertiary': '#D4D4D4',
202
+ '--border-disabled': '#E5E5E5',
203
+ '--border-inverse': '#525252',
204
+ '--border-focus': '#056DFF',
205
+ '--border-info': '#BFDBFE',
206
+ '--border-success': '#A7F3D0',
207
+ '--border-warning': '#FDE68A',
208
+ '--border-critical': '#FECACA',
209
+ '--border-emphasis': '#BFDBFE',
210
+ '--border-brand': '#FFBB8A',
211
+ '--border-brand-2': '#71E5F2',
212
+ '--border-brand-3': '#D1A3FF',
213
+ '--border-brand-4': '#9ABBFF',
214
+ '--border-brand-5': '#80EFA4',
215
+ '--chart-1': '#056DFF',
216
+ '--chart-2': '#FF6A00',
217
+ '--chart-3': '#00B83F',
218
+ '--chart-4': '#8A00F5',
219
+ '--chart-5': '#EF4444',
220
+ '--sidebar-background': '#FBFBFB',
221
+ '--sidebar-foreground': '#171717',
222
+ '--sidebar-primary': '#056DFF',
223
+ '--sidebar-primary-foreground': '#FFFFFF',
224
+ '--sidebar-accent': '#F5F5F5',
225
+ '--sidebar-accent-foreground': '#171717',
226
+ '--sidebar-border': '#E9E9E9',
227
+ '--sidebar-ring': '#056DFF',
228
+ }
229
+
230
+ export const kumoDark: Record<string, string> = {
231
+ ...defaultPresetDark,
232
+ ...shape,
233
+ ...emphasisFinish('primary', 'var(--bg-fill-primary)'),
234
+ ...emphasisFinish('destructive', 'var(--bg-fill-critical)'),
235
+ ...brandFinishes(),
236
+
237
+ '--shadow-base-color': '#0000004D',
238
+ '--bg-default': '#030303',
239
+ '--bg-inverse': '#FBFBFB',
240
+ '--bg-muted': '#0B0B0B',
241
+ '--bg-surface-default': '#0F0F0F',
242
+ '--bg-surface-popover': '#0F0F0F',
243
+ '--bg-surface-accent': '#060606',
244
+ '--bg-surface-field': '#171717',
245
+ '--bg-surface-hover': '#262626',
246
+ '--bg-surface-inverse': '#FBFBFB',
247
+ '--bg-surface-transparent': '#FFFFFF0D',
248
+ '--bg-overlay': '#000000B3',
249
+ '--bg-surface-info': '#101B35',
250
+ '--bg-surface-success': '#0B241B',
251
+ '--bg-surface-warning': '#2B2111',
252
+ '--bg-surface-critical': '#2C1415',
253
+ '--bg-surface-emphasis': '#101B35',
254
+ '--bg-surface-brand': '#311A0A',
255
+ '--bg-surface-brand-2': '#062B31',
256
+ '--bg-surface-brand-3': '#291039',
257
+ '--bg-surface-brand-4': '#0B1C3D',
258
+ '--bg-surface-brand-5': '#082B13',
259
+ '--bg-fill-default': '#0F0F0F',
260
+ '--bg-fill-primary': '#045EDE',
261
+ '--bg-fill-secondary': '#0F0F0F',
262
+ '--bg-fill-secondary-inverse': '#F5F5F5',
263
+ '--bg-fill-transparent': '#FFFFFF0D',
264
+ '--bg-fill-brand': '#FF6A00',
265
+ '--bg-fill-brand-2': '#00D9ED',
266
+ '--bg-fill-brand-3': '#B35CFF',
267
+ '--bg-fill-brand-4': '#4791FF',
268
+ '--bg-fill-brand-5': '#22E65F',
269
+ '--bg-fill-info': '#3B82F6',
270
+ '--bg-fill-success': '#34D399',
271
+ '--bg-fill-warning': '#EA580C',
272
+ '--bg-fill-critical': 'oklch(57.7% 0.245 27.325)',
273
+ '--bg-fill-emphasis': '#045EDE',
274
+ '--text-default': '#F5F5F5',
275
+ '--text-secondary': '#A3A3A3',
276
+ '--text-muted': '#A3A3A3',
277
+ '--text-disabled': '#525252',
278
+ '--text-inverse': '#171717',
279
+ '--text-on-fill-primary': '#FFFFFF',
280
+ '--text-on-fill-brand': '#171717',
281
+ '--text-on-fill-secondary': '#F5F5F5',
282
+ '--text-on-surface-accent': '#F5F5F5',
283
+ '--text-info': '#60A5FA',
284
+ '--text-success': '#A7F3D0',
285
+ '--text-warning': '#FB923C',
286
+ '--text-critical': '#F87171',
287
+ '--text-emphasis': '#60A5FA',
288
+ '--text-brand': '#FFAE70',
289
+ '--text-brand-2': '#66EDFF',
290
+ '--text-brand-3': '#D49AFF',
291
+ '--text-brand-4': '#80B3FF',
292
+ '--text-brand-5': '#6BF593',
293
+ '--text-link': '#60A5FA',
294
+ '--icon-default': '#F5F5F5',
295
+ '--icon-secondary': '#A3A3A3',
296
+ '--icon-disabled': '#525252',
297
+ '--icon-inverse': '#171717',
298
+ '--icon-info': '#60A5FA',
299
+ '--icon-success': '#34D399',
300
+ '--icon-warning': '#FB923C',
301
+ '--icon-critical': '#F87171',
302
+ '--icon-emphasis': '#60A5FA',
303
+ '--icon-brand': '#FF842E',
304
+ '--icon-brand-2': '#00D9ED',
305
+ '--icon-brand-3': '#B35CFF',
306
+ '--icon-brand-4': '#4791FF',
307
+ '--icon-brand-5': '#22E65F',
308
+ '--border-default': '#262626',
309
+ '--border-secondary': '#333333',
310
+ '--border-input': '#333333',
311
+ '--border-tertiary': '#404040',
312
+ '--border-disabled': '#262626',
313
+ '--border-inverse': '#D4D4D4',
314
+ '--border-focus': '#60A5FA',
315
+ '--border-info': '#1E3A8A',
316
+ '--border-success': '#065F46',
317
+ '--border-warning': '#78350F',
318
+ '--border-critical': '#7F1D1D',
319
+ '--border-emphasis': '#1E3A8A',
320
+ '--border-brand': '#A23B00',
321
+ '--border-brand-2': '#007B8A',
322
+ '--border-brand-3': '#7222A8',
323
+ '--border-brand-4': '#174FAD',
324
+ '--border-brand-5': '#00732A',
325
+ '--chart-1': '#60A5FA',
326
+ '--chart-2': '#FF6A00',
327
+ '--chart-3': '#22E65F',
328
+ '--chart-4': '#B35CFF',
329
+ '--chart-5': '#F87171',
330
+ '--sidebar-background': '#030303',
331
+ '--sidebar-foreground': '#F5F5F5',
332
+ '--sidebar-primary': '#045EDE',
333
+ '--sidebar-primary-foreground': '#FFFFFF',
334
+ '--sidebar-accent': '#262626',
335
+ '--sidebar-accent-foreground': '#F5F5F5',
336
+ '--sidebar-border': '#262626',
337
+ '--sidebar-ring': '#60A5FA',
338
+ }
@@ -25,6 +25,84 @@
25
25
 
26
26
  /* ── Component dimensions ──────────────────────────────────────────── */
27
27
  --button-radius: var(--radius-md);
28
+ --button-radius-xs: var(--button-radius);
29
+ --button-radius-sm: var(--button-radius);
30
+ --button-height: calc(var(--spacing) * 7);
31
+ --button-height-xs: calc(var(--spacing) * 5);
32
+ --button-height-sm: calc(var(--spacing) * 6);
33
+ --button-height-lg: calc(var(--spacing) * 8);
34
+ --button-font-size: var(--text-xs);
35
+ --button-font-size-xs: var(--text-2xs);
36
+ --button-font-size-sm: var(--text-xs);
37
+ --button-gap: var(--spacing);
38
+
39
+ /* Optional button finishes. `initial` makes var() use its fallback
40
+ on the button, so semantic colours still resolve in scoped themes. */
41
+ --button-primary-border: transparent;
42
+ --button-primary-hover-border: initial;
43
+ --button-primary-background-image: none;
44
+ --button-primary-hover-background-image: none;
45
+ --button-primary-shadow: none;
46
+ --button-primary-hover-shadow: initial;
47
+ --button-destructive-bg: initial;
48
+ --button-destructive-text: initial;
49
+ --button-destructive-border: initial;
50
+ --button-destructive-hover-border: initial;
51
+ --button-destructive-background-image: none;
52
+ --button-destructive-hover-background-image: none;
53
+ --button-destructive-shadow: none;
54
+ --button-destructive-hover-shadow: initial;
55
+ --button-secondary-border: transparent;
56
+ --button-secondary-hover-bg: initial;
57
+ --button-secondary-shadow: none;
58
+ --button-secondary-hover-shadow: initial;
59
+ --button-outline-shadow: none;
60
+ --button-outline-hover-shadow: initial;
61
+ --button-quiet-hover-bg: initial;
62
+
63
+ /* Brand buttons can opt into the same filled finishes per colour. */
64
+ --button-brand-font-weight: 500;
65
+ --button-brand-text-shadow: none;
66
+ --button-brand-bg: initial;
67
+ --button-brand-text: initial;
68
+ --button-brand-border: initial;
69
+ --button-brand-hover-border: initial;
70
+ --button-brand-background-image: none;
71
+ --button-brand-hover-background-image: none;
72
+ --button-brand-shadow: none;
73
+ --button-brand-hover-shadow: initial;
74
+ --button-brand-2-bg: initial;
75
+ --button-brand-2-text: initial;
76
+ --button-brand-2-border: initial;
77
+ --button-brand-2-hover-border: initial;
78
+ --button-brand-2-background-image: none;
79
+ --button-brand-2-hover-background-image: none;
80
+ --button-brand-2-shadow: none;
81
+ --button-brand-2-hover-shadow: initial;
82
+ --button-brand-3-bg: initial;
83
+ --button-brand-3-text: initial;
84
+ --button-brand-3-border: initial;
85
+ --button-brand-3-hover-border: initial;
86
+ --button-brand-3-background-image: none;
87
+ --button-brand-3-hover-background-image: none;
88
+ --button-brand-3-shadow: none;
89
+ --button-brand-3-hover-shadow: initial;
90
+ --button-brand-4-bg: initial;
91
+ --button-brand-4-text: initial;
92
+ --button-brand-4-border: initial;
93
+ --button-brand-4-hover-border: initial;
94
+ --button-brand-4-background-image: none;
95
+ --button-brand-4-hover-background-image: none;
96
+ --button-brand-4-shadow: none;
97
+ --button-brand-4-hover-shadow: initial;
98
+ --button-brand-5-bg: initial;
99
+ --button-brand-5-text: initial;
100
+ --button-brand-5-border: initial;
101
+ --button-brand-5-hover-border: initial;
102
+ --button-brand-5-background-image: none;
103
+ --button-brand-5-hover-background-image: none;
104
+ --button-brand-5-shadow: none;
105
+ --button-brand-5-hover-shadow: initial;
28
106
  --card-radius: var(--radius-lg);
29
107
  --card-padding: calc(var(--spacing) * 4);
30
108
  --input-radius: var(--radius-md);