@phcdevworks/spectre-ui 0.2.2 → 0.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.
package/dist/index.css CHANGED
@@ -2,7 +2,1071 @@
2
2
  - Tokens first (defines --sp-* vars)
3
3
  - Then UI base, components, utilities
4
4
  */
5
- @import "@phcdevworks/spectre-tokens/index.css";
6
- @import "./base.css";
7
- @import "./components.css";
8
- @import "./utilities.css";
5
+ :root {
6
+ --sp-surface-page: #f8fafc;
7
+ --sp-surface-card: #ffffff;
8
+ --sp-surface-input: #ffffff;
9
+ --sp-surface-overlay: rgba(15,23,42,0.6);
10
+ --sp-text-on-page-default: #0f172a;
11
+ --sp-text-on-page-muted: #475569;
12
+ --sp-text-on-page-meta: #94a3b8;
13
+ --sp-text-on-surface-default: #0f172a;
14
+ --sp-text-on-surface-muted: #6b7280;
15
+ --sp-text-on-surface-meta: #94a3b8;
16
+ --sp-component-card-text: #0f172a;
17
+ --sp-component-card-text-muted: #6b7280;
18
+ --sp-component-input-text: #0f172a;
19
+ --sp-component-input-placeholder: #94a3b8;
20
+ --sp-button-text-default: #0f172a;
21
+ --sp-button-text-on-primary: #ffffff;
22
+ --sp-badge-neutral-bg: #f1f5f9;
23
+ --sp-badge-neutral-text: #334155;
24
+ --sp-badge-info-bg: #dbeafe;
25
+ --sp-badge-info-text: #1d4ed8;
26
+ --sp-badge-success-bg: #dcfce7;
27
+ --sp-badge-success-text: #15803d;
28
+ --sp-badge-warning-bg: #fef3c7;
29
+ --sp-badge-warning-text: #b45309;
30
+ --sp-badge-danger-bg: #fee2e2;
31
+ --sp-badge-danger-text: #b91c1c;
32
+ --sp-icon-box-bg: #ffffff;
33
+ --sp-icon-box-border: #e2e8f0;
34
+ --sp-icon-box-icon-default: #6c32e6;
35
+ --sp-icon-box-icon-success: #16a34a;
36
+ --sp-icon-box-icon-warning: #d97706;
37
+ --sp-icon-box-icon-danger: #dc2626;
38
+ --sp-color-brand-50: #f5f0ff;
39
+ --sp-color-brand-100: #ebe2ff;
40
+ --sp-color-brand-200: #d7c6ff;
41
+ --sp-color-brand-300: #bfa1ff;
42
+ --sp-color-brand-400: #a37aff;
43
+ --sp-color-brand-500: #8652ff;
44
+ --sp-color-brand-600: #6c32e6;
45
+ --sp-color-brand-700: #5626b4;
46
+ --sp-color-brand-800: #3d1b7f;
47
+ --sp-color-brand-900: #241147;
48
+ --sp-color-neutral-50: #f8fafc;
49
+ --sp-color-neutral-100: #f1f5f9;
50
+ --sp-color-neutral-200: #e2e8f0;
51
+ --sp-color-neutral-300: #cbd5f5;
52
+ --sp-color-neutral-400: #94a3b8;
53
+ --sp-color-neutral-500: #64748b;
54
+ --sp-color-neutral-600: #475569;
55
+ --sp-color-neutral-700: #334155;
56
+ --sp-color-neutral-800: #1e293b;
57
+ --sp-color-neutral-900: #0f172a;
58
+ --sp-color-accent-50: #e5fff8;
59
+ --sp-color-accent-100: #b8ffed;
60
+ --sp-color-accent-200: #89ffe1;
61
+ --sp-color-accent-300: #59ffd6;
62
+ --sp-color-accent-400: #29ffca;
63
+ --sp-color-accent-500: #03e6b3;
64
+ --sp-color-accent-600: #00b389;
65
+ --sp-color-accent-700: #008060;
66
+ --sp-color-accent-800: #004d38;
67
+ --sp-color-accent-900: #002a20;
68
+ --sp-color-success-50: #f0fdf4;
69
+ --sp-color-success-100: #dcfce7;
70
+ --sp-color-success-200: #bbf7d0;
71
+ --sp-color-success-300: #86efac;
72
+ --sp-color-success-400: #4ade80;
73
+ --sp-color-success-500: #22c55e;
74
+ --sp-color-success-600: #16a34a;
75
+ --sp-color-success-700: #15803d;
76
+ --sp-color-success-800: #166534;
77
+ --sp-color-success-900: #14532d;
78
+ --sp-color-warning-50: #fffbeb;
79
+ --sp-color-warning-100: #fef3c7;
80
+ --sp-color-warning-200: #fde68a;
81
+ --sp-color-warning-300: #fcd34d;
82
+ --sp-color-warning-400: #fbbf24;
83
+ --sp-color-warning-500: #f59e0b;
84
+ --sp-color-warning-600: #d97706;
85
+ --sp-color-warning-700: #b45309;
86
+ --sp-color-warning-800: #92400e;
87
+ --sp-color-warning-900: #78350f;
88
+ --sp-color-error-50: #fef2f2;
89
+ --sp-color-error-100: #fee2e2;
90
+ --sp-color-error-200: #fecaca;
91
+ --sp-color-error-300: #fca5a5;
92
+ --sp-color-error-400: #f87171;
93
+ --sp-color-error-500: #ef4444;
94
+ --sp-color-error-600: #dc2626;
95
+ --sp-color-error-700: #b91c1c;
96
+ --sp-color-error-800: #991b1b;
97
+ --sp-color-error-900: #7f1d1d;
98
+ --sp-color-info-50: #eff6ff;
99
+ --sp-color-info-100: #dbeafe;
100
+ --sp-color-info-200: #bfdbfe;
101
+ --sp-color-info-300: #93c5fd;
102
+ --sp-color-info-400: #60a5fa;
103
+ --sp-color-info-500: #3b82f6;
104
+ --sp-color-info-600: #2563eb;
105
+ --sp-color-info-700: #1d4ed8;
106
+ --sp-color-info-800: #1e40af;
107
+ --sp-color-info-900: #1e3a8a;
108
+ --sp-color-focus-primary: #8652ff;
109
+ --sp-color-focus-error: #ef4444;
110
+ --sp-color-focus-info: #3b82f6;
111
+ --sp-space-0: 0rem;
112
+ --sp-space-4: 0.25rem;
113
+ --sp-space-8: 0.5rem;
114
+ --sp-space-12: 0.75rem;
115
+ --sp-space-16: 1rem;
116
+ --sp-space-20: 1.25rem;
117
+ --sp-space-24: 1.5rem;
118
+ --sp-space-32: 2rem;
119
+ --sp-space-40: 2.5rem;
120
+ --sp-space-48: 3rem;
121
+ --sp-space-56: 3.5rem;
122
+ --sp-space-64: 4rem;
123
+ --sp-space-80: 5rem;
124
+ --sp-space-96: 6rem;
125
+ --sp-layout-section-padding-sm: 1.5rem;
126
+ --sp-layout-section-padding-md: 2rem;
127
+ --sp-layout-section-padding-lg: 3rem;
128
+ --sp-layout-section-gap-sm: 1rem;
129
+ --sp-layout-section-gap-md: 1.5rem;
130
+ --sp-layout-section-gap-lg: 2rem;
131
+ --sp-layout-stack-gap-sm: 0.5rem;
132
+ --sp-layout-stack-gap-md: 0.75rem;
133
+ --sp-layout-stack-gap-lg: 1rem;
134
+ --sp-layout-container-padding-inline-sm: 1rem;
135
+ --sp-layout-container-padding-inline-md: 1.5rem;
136
+ --sp-layout-container-padding-inline-lg: 2rem;
137
+ --sp-radius-none: 0;
138
+ --sp-radius-sm: 2px;
139
+ --sp-radius-md: 4px;
140
+ --sp-radius-lg: 8px;
141
+ --sp-radius-pill: 999px;
142
+ --sp-font-family-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
143
+ --sp-font-family-serif: 'Spectre Serif', 'Georgia', serif;
144
+ --sp-font-family-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
145
+ --sp-font-xs-size: 0.75rem;
146
+ --sp-font-xs-line-height: 1.25rem;
147
+ --sp-font-xs-weight: 400;
148
+ --sp-font-sm-size: 0.875rem;
149
+ --sp-font-sm-line-height: 1.5rem;
150
+ --sp-font-sm-weight: 400;
151
+ --sp-font-md-size: 1rem;
152
+ --sp-font-md-line-height: 1.75rem;
153
+ --sp-font-md-weight: 500;
154
+ --sp-font-lg-size: 1.25rem;
155
+ --sp-font-lg-line-height: 2rem;
156
+ --sp-font-lg-weight: 500;
157
+ --sp-font-xl-size: 1.5rem;
158
+ --sp-font-xl-line-height: 2.125rem;
159
+ --sp-font-xl-weight: 600;
160
+ --sp-font-2xl-size: 1.875rem;
161
+ --sp-font-2xl-line-height: 2.5rem;
162
+ --sp-font-2xl-weight: 600;
163
+ --sp-font-xs-letter-spacing: 0.02em;
164
+ --sp-text-on-page-default: #0f172a;
165
+ --sp-text-on-page-muted: #475569;
166
+ --sp-text-on-surface-default: #0f172a;
167
+ --sp-text-on-surface-muted: #6b7280;
168
+ --sp-text-on-surface-meta: #94a3b8;
169
+ --sp-badge-neutral-bg: #f1f5f9;
170
+ --sp-badge-neutral-text: #334155;
171
+ --sp-badge-info-bg: #dbeafe;
172
+ --sp-badge-info-text: #1d4ed8;
173
+ --sp-badge-success-bg: #dcfce7;
174
+ --sp-badge-success-text: #15803d;
175
+ --sp-badge-warning-bg: #fef3c7;
176
+ --sp-badge-warning-text: #b45309;
177
+ --sp-badge-danger-bg: #fee2e2;
178
+ --sp-badge-danger-text: #b91c1c;
179
+ --sp-icon-box-bg: #ffffff;
180
+ --sp-icon-box-border: #e2e8f0;
181
+ --sp-icon-box-icon-default: #6c32e6;
182
+ --sp-icon-box-icon-success: #16a34a;
183
+ --sp-icon-box-icon-warning: #d97706;
184
+ --sp-icon-box-icon-danger: #dc2626;
185
+ --sp-shadow-none: none;
186
+ --sp-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.08);
187
+ --sp-shadow-md: 0 3px 8px -1px rgba(15, 23, 42, 0.1);
188
+ --sp-shadow-lg: 0 8px 20px -4px rgba(15, 23, 42, 0.18);
189
+ --sp-breakpoint-sm: 640px;
190
+ --sp-breakpoint-md: 768px;
191
+ --sp-breakpoint-lg: 1024px;
192
+ --sp-breakpoint-xl: 1280px;
193
+ --sp-breakpoint-2xl: 1536px;
194
+ --sp-z-index-base: 0;
195
+ --sp-z-index-dropdown: 1000;
196
+ --sp-z-index-sticky: 1100;
197
+ --sp-z-index-fixed: 1200;
198
+ --sp-z-index-overlay: 1300;
199
+ --sp-z-index-modal: 1400;
200
+ --sp-z-index-popover: 1500;
201
+ --sp-z-index-tooltip: 1600;
202
+ --sp-duration-instant: 75ms;
203
+ --sp-duration-fast: 150ms;
204
+ --sp-duration-base: 200ms;
205
+ --sp-duration-moderate: 300ms;
206
+ --sp-duration-slow: 500ms;
207
+ --sp-duration-slower: 700ms;
208
+ --sp-easing-linear: linear;
209
+ --sp-easing-in: cubic-bezier(0.4, 0, 1, 1);
210
+ --sp-easing-out: cubic-bezier(0, 0, 0.2, 1);
211
+ --sp-easing-inout: cubic-bezier(0.4, 0, 0.2, 1);
212
+ --sp-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
213
+ --sp-opacity-disabled: 0.38;
214
+ --sp-opacity-hover: 0.92;
215
+ --sp-opacity-active: 0.84;
216
+ --sp-opacity-focus: 1;
217
+ --sp-opacity-overlay: 0.5;
218
+ --sp-opacity-tooltip: 0.95;
219
+ --sp-focus-ring-width: 2px;
220
+ --sp-focus-ring-offset: 2px;
221
+ --sp-focus-ring-style: solid;
222
+ --sp-min-touch-target: 44px;
223
+ --sp-min-text-size: 16px;
224
+ --sp-button-primary-bg: #8652ff;
225
+ --sp-button-primary-bghover: #6c32e6;
226
+ --sp-button-primary-bgactive: #5626b4;
227
+ --sp-button-primary-bgdisabled: #cbd5f5;
228
+ --sp-button-primary-text: #ffffff;
229
+ --sp-button-primary-textdisabled: #94a3b8;
230
+ --sp-button-secondary-bg: #ffffff;
231
+ --sp-button-secondary-bghover: #f1f5f9;
232
+ --sp-button-secondary-bgactive: #e2e8f0;
233
+ --sp-button-secondary-bgdisabled: #f8fafc;
234
+ --sp-button-secondary-text: #8652ff;
235
+ --sp-button-secondary-textdisabled: #94a3b8;
236
+ --sp-button-secondary-border: #8652ff;
237
+ --sp-button-secondary-borderdisabled: #cbd5f5;
238
+ --sp-button-ghost-bg: transparent;
239
+ --sp-button-ghost-bghover: #f5f0ff;
240
+ --sp-button-ghost-bgactive: #ebe2ff;
241
+ --sp-button-ghost-bgdisabled: transparent;
242
+ --sp-button-ghost-text: #8652ff;
243
+ --sp-button-ghost-textdisabled: #94a3b8;
244
+ --sp-button-danger-bg: #ef4444;
245
+ --sp-button-danger-bghover: #dc2626;
246
+ --sp-button-danger-bgactive: #b91c1c;
247
+ --sp-button-danger-bgdisabled: #fecaca;
248
+ --sp-button-danger-text: #ffffff;
249
+ --sp-button-danger-textdisabled: #94a3b8;
250
+ --sp-button-success-bg: #22c55e;
251
+ --sp-button-success-bghover: #16a34a;
252
+ --sp-button-success-bgactive: #15803d;
253
+ --sp-button-success-bgdisabled: #bbf7d0;
254
+ --sp-button-success-text: #ffffff;
255
+ --sp-button-success-textdisabled: #94a3b8;
256
+ --sp-form-default-bg: #ffffff;
257
+ --sp-form-default-border: #cbd5f5;
258
+ --sp-form-default-text: #0f172a;
259
+ --sp-form-default-placeholder: #94a3b8;
260
+ --sp-form-hover-border: #8652ff;
261
+ --sp-form-focus-border: #8652ff;
262
+ --sp-form-focus-ring: #8652ff;
263
+ --sp-form-valid-border: #22c55e;
264
+ --sp-form-valid-bg: #f0fdf4;
265
+ --sp-form-valid-text: #15803d;
266
+ --sp-form-invalid-border: #ef4444;
267
+ --sp-form-invalid-bg: #fef2f2;
268
+ --sp-form-invalid-text: #b91c1c;
269
+ --sp-form-disabled-bg: #f8fafc;
270
+ --sp-form-disabled-border: #e2e8f0;
271
+ --sp-form-disabled-text: #94a3b8;
272
+ --sp-animation-fadein-duration: 200ms;
273
+ --sp-animation-fadein-easing: cubic-bezier(0, 0, 0.2, 1);
274
+ --sp-animation-fadein-keyframes: fade-in;
275
+ --sp-animation-fadeout-duration: 150ms;
276
+ --sp-animation-fadeout-easing: cubic-bezier(0.4, 0, 1, 1);
277
+ --sp-animation-fadeout-keyframes: fade-out;
278
+ --sp-animation-slideup-duration: 300ms;
279
+ --sp-animation-slideup-easing: cubic-bezier(0, 0, 0.2, 1);
280
+ --sp-animation-slideup-keyframes: slide-up;
281
+ --sp-animation-slidedown-duration: 300ms;
282
+ --sp-animation-slidedown-easing: cubic-bezier(0, 0, 0.2, 1);
283
+ --sp-animation-slidedown-keyframes: slide-down;
284
+ --sp-animation-scalein-duration: 200ms;
285
+ --sp-animation-scalein-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
286
+ --sp-animation-scalein-keyframes: scale-in;
287
+ --sp-animation-bounce-duration: 500ms;
288
+ --sp-animation-bounce-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
289
+ --sp-animation-bounce-keyframes: bounce;
290
+ --sp-animation-shake-duration: 400ms;
291
+ --sp-animation-shake-easing: cubic-bezier(0.4, 0, 0.2, 1);
292
+ --sp-animation-shake-keyframes: shake;
293
+ --sp-animation-pulse-duration: 1500ms;
294
+ --sp-animation-pulse-easing: cubic-bezier(0.4, 0, 0.2, 1);
295
+ --sp-animation-pulse-keyframes: pulse;
296
+ }
297
+ :root[data-spectre-theme="dark"] {
298
+ --sp-surface-page: #0f172a;
299
+ --sp-surface-card: #1e293b;
300
+ --sp-surface-input: #334155;
301
+ --sp-surface-overlay: #1e293b;
302
+ --sp-text-on-page-default: #f8fafc;
303
+ --sp-text-on-page-muted: #cbd5f5;
304
+ --sp-text-on-page-meta: #94a3b8;
305
+ --sp-text-on-surface-default: #f1f5f9;
306
+ --sp-text-on-surface-muted: #cbd5f5;
307
+ --sp-text-on-surface-meta: #94a3b8;
308
+ --sp-component-card-text: #f1f5f9;
309
+ --sp-component-card-text-muted: #cbd5f5;
310
+ --sp-component-input-text: #f1f5f9;
311
+ --sp-component-input-placeholder: #94a3b8;
312
+ --sp-button-text-default: #f1f5f9;
313
+ --sp-button-text-on-primary: #ffffff;
314
+ --sp-badge-neutral-bg: #334155;
315
+ --sp-badge-neutral-text: #f1f5f9;
316
+ --sp-badge-info-bg: #1e40af;
317
+ --sp-badge-info-text: #dbeafe;
318
+ --sp-badge-success-bg: #166534;
319
+ --sp-badge-success-text: #dcfce7;
320
+ --sp-badge-warning-bg: #92400e;
321
+ --sp-badge-warning-text: #fef3c7;
322
+ --sp-badge-danger-bg: #991b1b;
323
+ --sp-badge-danger-text: #fee2e2;
324
+ --sp-icon-box-bg: #1e293b;
325
+ --sp-icon-box-border: #334155;
326
+ --sp-icon-box-icon-default: #a37aff;
327
+ --sp-icon-box-icon-success: #4ade80;
328
+ --sp-icon-box-icon-warning: #fbbf24;
329
+ --sp-icon-box-icon-danger: #f87171;
330
+ }
331
+ @layer base {
332
+
333
+ *,
334
+ *::before,
335
+ *::after {
336
+ box-sizing: border-box;
337
+ }
338
+
339
+ html,
340
+ body {
341
+ margin: 0;
342
+ padding: 0;
343
+ }
344
+
345
+ body {
346
+ min-height: 100vh;
347
+ font-family: var(--sp-font-family-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
348
+ font-size: var(--sp-font-md-size, 1rem);
349
+ line-height: var(--sp-font-md-line-height, 1.5);
350
+ color: var(--sp-text-on-page-default);
351
+ background-color: var(--sp-surface-page);
352
+ }
353
+
354
+ img,
355
+ picture,
356
+ video,
357
+ canvas,
358
+ svg {
359
+ display: block;
360
+ max-width: 100%;
361
+ }
362
+
363
+ input,
364
+ button,
365
+ textarea,
366
+ select {
367
+ font: inherit;
368
+ }
369
+
370
+ button {
371
+ border: none;
372
+ background: none;
373
+ padding: 0;
374
+ cursor: pointer;
375
+ }
376
+
377
+ a {
378
+ color: var(--sp-color-brand-600, inherit);
379
+ text-decoration: none;
380
+ }
381
+
382
+ a:hover {
383
+ text-decoration: underline;
384
+ }
385
+
386
+ :focus-visible {
387
+ outline: var(--sp-focus-ring-width, 2px) solid var(--sp-color-focus-primary,
388
+ var(--sp-color-brand-600, currentColor));
389
+ outline-offset: var(--sp-focus-ring-offset, 2px);
390
+ }
391
+
392
+ ::selection {
393
+ background-color: var(--sp-color-brand-100, #ebe2ff);
394
+ color: inherit;
395
+ }
396
+ }
397
+ @layer components {
398
+
399
+ :root {
400
+ /* button roles */
401
+ --sp-component-button-border-base: var(--sp-component-button-ghost-bg);
402
+ --sp-component-button-shadow: var(--sp-shadow-sm);
403
+ --sp-component-button-primary-bg: var(--sp-button-primary-bg);
404
+ --sp-component-button-primary-bg-hover: var(--sp-button-primary-bghover);
405
+ --sp-component-button-primary-bg-active: var(--sp-button-primary-bgactive);
406
+ --sp-component-button-primary-bg-disabled: var(--sp-button-primary-bgdisabled);
407
+ --sp-component-button-primary-text: var(--sp-button-primary-text);
408
+ --sp-component-button-primary-text-disabled: var(--sp-button-primary-textdisabled);
409
+ --sp-component-button-secondary-bg: var(--sp-button-secondary-bg);
410
+ --sp-component-button-secondary-bg-hover: var(--sp-button-secondary-bghover);
411
+ --sp-component-button-secondary-bg-active: var(--sp-button-secondary-bgactive);
412
+ --sp-component-button-secondary-bg-disabled: var(--sp-button-secondary-bgdisabled);
413
+ --sp-component-button-secondary-text: var(--sp-button-secondary-text);
414
+ --sp-component-button-secondary-text-disabled: var(--sp-button-secondary-textdisabled);
415
+ --sp-component-button-secondary-border: var(--sp-button-secondary-border);
416
+ --sp-component-button-secondary-border-disabled: var(--sp-button-secondary-borderdisabled);
417
+ --sp-component-button-ghost-bg: var(--sp-button-ghost-bg);
418
+ --sp-component-button-ghost-bg-hover: var(--sp-button-ghost-bghover);
419
+ --sp-component-button-ghost-bg-active: var(--sp-button-ghost-bgactive);
420
+ --sp-component-button-ghost-bg-disabled: var(--sp-button-ghost-bgdisabled);
421
+ --sp-component-button-ghost-text: var(--sp-button-ghost-text);
422
+ --sp-component-button-ghost-text-disabled: var(--sp-button-ghost-textdisabled);
423
+ --sp-component-button-danger-bg: var(--sp-button-danger-bg);
424
+ --sp-component-button-danger-bg-hover: var(--sp-button-danger-bghover);
425
+ --sp-component-button-danger-bg-active: var(--sp-button-danger-bgactive);
426
+ --sp-component-button-danger-bg-disabled: var(--sp-button-danger-bgdisabled);
427
+ --sp-component-button-danger-text: var(--sp-button-danger-text);
428
+ --sp-component-button-danger-text-disabled: var(--sp-button-danger-textdisabled);
429
+ --sp-component-button-success-bg: var(--sp-button-success-bg);
430
+ --sp-component-button-success-bg-hover: var(--sp-button-success-bghover);
431
+ --sp-component-button-success-bg-active: var(--sp-button-success-bgactive);
432
+ --sp-component-button-success-bg-disabled: var(--sp-button-success-bgdisabled);
433
+ --sp-component-button-success-text: var(--sp-button-success-text);
434
+ --sp-component-button-success-text-disabled: var(--sp-button-success-textdisabled);
435
+
436
+ /* card roles */
437
+ --sp-component-card-bg: var(--sp-surface-card);
438
+ --sp-component-card-text: var(--sp-text-on-surface-default);
439
+ --sp-component-card-text-muted: var(--sp-text-on-surface-muted);
440
+ --sp-component-card-border: var(--sp-color-neutral-200);
441
+ --sp-component-card-border-base: var(--sp-component-card-ghost-border);
442
+ --sp-component-card-shadow: var(--sp-shadow-sm);
443
+ --sp-component-card-shadow-elevated: var(--sp-shadow-lg);
444
+ --sp-component-card-shadow-flat: var(--sp-shadow-none);
445
+ --sp-component-card-shadow-outline: var(--sp-shadow-none);
446
+ --sp-component-card-shadow-ghost: var(--sp-shadow-none);
447
+ --sp-component-card-outline-bg: var(--sp-component-card-bg);
448
+ --sp-component-card-outline-border: var(--sp-component-card-border);
449
+ --sp-component-card-ghost-bg: var(--sp-component-button-ghost-bg);
450
+ --sp-component-card-ghost-border: var(--sp-component-card-ghost-bg);
451
+
452
+ /* input roles */
453
+ --sp-component-input-role-border: var(--sp-color-neutral-300);
454
+ --sp-component-input-role-bg: var(--sp-surface-input);
455
+ --sp-component-input-role-text: var(--sp-component-input-text);
456
+ --sp-component-input-role-placeholder: var(--sp-component-input-placeholder);
457
+ --sp-component-input-role-border-focus: var(--sp-color-focus-primary);
458
+ --sp-component-input-role-ring: var(--sp-color-focus-primary);
459
+ --sp-component-input-role-border-error: var(--sp-color-error-500);
460
+ --sp-component-input-role-bg-error: var(--sp-color-error-50);
461
+ --sp-component-input-role-text-error: var(--sp-color-error-700);
462
+ --sp-component-input-role-border-success: var(--sp-color-success-500);
463
+ --sp-component-input-role-bg-success: var(--sp-color-success-50);
464
+ --sp-component-input-role-text-success: var(--sp-color-success-700);
465
+ --sp-component-input-role-bg-disabled: var(--sp-surface-input);
466
+ --sp-component-input-role-text-disabled: var(--sp-text-on-surface-meta);
467
+ /* Important: border-disabled should fall back to a BORDER token, not a surface token */
468
+ --sp-component-input-role-border-disabled: var(--sp-color-neutral-200);
469
+
470
+ /* badge roles */
471
+ --sp-component-badge-font: var(--sp-font-family-sans);
472
+ --sp-component-badge-weight: var(--sp-font-sm-weight);
473
+ --sp-component-badge-gap: var(--sp-space-4);
474
+ --sp-component-badge-radius: var(--sp-radius-pill);
475
+ --sp-component-badge-primary-bg: var(--sp-button-primary-bg);
476
+ --sp-component-badge-primary-text: var(--sp-button-text-on-primary);
477
+ --sp-component-badge-success-bg: var(--sp-badge-success-bg);
478
+ --sp-component-badge-success-text: var(--sp-badge-success-text);
479
+ --sp-component-badge-warning-bg: var(--sp-badge-warning-bg);
480
+ --sp-component-badge-warning-text: var(--sp-badge-warning-text);
481
+ --sp-component-badge-danger-bg: var(--sp-badge-danger-bg);
482
+ --sp-component-badge-danger-text: var(--sp-badge-danger-text);
483
+ --sp-component-badge-padding-x-sm: var(--sp-space-8);
484
+ --sp-component-badge-padding-x-md: var(--sp-space-12);
485
+ --sp-component-badge-padding-x-lg: var(--sp-space-16);
486
+ --sp-component-badge-padding-y-sm: var(--sp-space-4);
487
+ --sp-component-badge-padding-y-md: var(--sp-space-4);
488
+ --sp-component-badge-padding-y-lg: var(--sp-space-4);
489
+
490
+ /* icon box roles */
491
+ --sp-component-iconbox-radius: var(--sp-radius-lg);
492
+ --sp-component-iconbox-size-sm: var(--sp-space-32);
493
+ --sp-component-iconbox-size-md: var(--sp-space-48);
494
+ --sp-component-iconbox-size-lg: var(--sp-space-64);
495
+ --sp-component-iconbox-primary-bg: var(--sp-color-brand-50);
496
+ --sp-component-iconbox-primary-text: var(--sp-icon-box-icon-default);
497
+ --sp-component-iconbox-success-bg: var(--sp-color-success-50);
498
+ --sp-component-iconbox-success-text: var(--sp-icon-box-icon-success);
499
+ --sp-component-iconbox-warning-bg: var(--sp-color-warning-50);
500
+ --sp-component-iconbox-warning-text: var(--sp-icon-box-icon-warning);
501
+ --sp-component-iconbox-danger-bg: var(--sp-color-error-50);
502
+ --sp-component-iconbox-danger-text: var(--sp-icon-box-icon-danger);
503
+ --sp-component-iconbox-info-bg: var(--sp-color-info-50);
504
+ --sp-component-iconbox-info-text: var(--sp-badge-info-text);
505
+ }
506
+
507
+ /* BUTTONS -------------------------------------------------------------- */
508
+ .sp-btn {
509
+ display: inline-flex;
510
+ align-items: center;
511
+ justify-content: center;
512
+ gap: var(--sp-space-4);
513
+ padding: var(--sp-space-4) var(--sp-space-16);
514
+ border-radius: var(--sp-radius-md);
515
+ border: 1px solid var(--sp-component-button-border-base);
516
+ font-family: var(--sp-font-family-sans);
517
+ font-size: var(--sp-font-md-size);
518
+ line-height: 1;
519
+ font-weight: var(--sp-font-md-weight);
520
+ text-decoration: none;
521
+ appearance: none;
522
+ transition:
523
+ background-color var(--sp-duration-fast) var(--sp-easing-out),
524
+ color var(--sp-duration-fast) var(--sp-easing-out),
525
+ box-shadow var(--sp-duration-fast) var(--sp-easing-out),
526
+ border-color var(--sp-duration-fast) var(--sp-easing-out);
527
+ cursor: pointer;
528
+ min-height: var(--sp-min-touch-target);
529
+ }
530
+
531
+ .sp-btn:disabled,
532
+ .sp-btn[aria-disabled="true"],
533
+ .sp-btn.sp-btn--disabled {
534
+ cursor: not-allowed;
535
+ opacity: var(--sp-opacity-disabled);
536
+ pointer-events: none;
537
+ }
538
+
539
+ .sp-btn--loading {
540
+ pointer-events: none;
541
+ opacity: var(--sp-opacity-active);
542
+ }
543
+
544
+ .sp-btn--full {
545
+ width: 100%;
546
+ }
547
+
548
+ .sp-btn--icon {
549
+ padding-inline: var(--sp-space-12);
550
+ padding-block: var(--sp-space-4);
551
+ }
552
+
553
+ /* sizes */
554
+ .sp-btn--sm {
555
+ padding: var(--sp-space-4) var(--sp-space-12);
556
+ font-size: var(--sp-font-sm-size);
557
+ line-height: var(--sp-font-sm-line-height);
558
+ }
559
+
560
+ .sp-btn--md {
561
+ padding: var(--sp-space-4) var(--sp-space-16);
562
+ font-size: var(--sp-font-md-size);
563
+ line-height: var(--sp-font-md-line-height);
564
+ }
565
+
566
+ .sp-btn--lg {
567
+ padding: var(--sp-space-8) var(--sp-space-24);
568
+ font-size: var(--sp-font-lg-size);
569
+ line-height: var(--sp-font-lg-line-height);
570
+ }
571
+
572
+ /* Generic forced-state helpers (safe, variant rules still set actual colors) */
573
+ .sp-btn.sp-btn--hover,
574
+ .sp-btn.is-hover {
575
+ /* no-op here; variant sections below define the actual hover colors */
576
+ }
577
+
578
+ .sp-btn.sp-btn--active,
579
+ .sp-btn.is-active {
580
+ /* no-op here; variant sections below define the actual active colors */
581
+ }
582
+
583
+ /* primary */
584
+ .sp-btn--primary {
585
+ background-color: var(--sp-component-button-primary-bg);
586
+ color: var(--sp-component-button-primary-text);
587
+ box-shadow: var(--sp-component-button-shadow);
588
+ }
589
+
590
+ .sp-btn--primary.sp-btn--hover,
591
+ .sp-btn--primary.is-hover,
592
+ .sp-btn--primary:hover {
593
+ background-color: var(--sp-component-button-primary-bg-hover);
594
+ }
595
+
596
+ .sp-btn--primary.sp-btn--active,
597
+ .sp-btn--primary.is-active,
598
+ .sp-btn--primary:active {
599
+ background-color: var(--sp-component-button-primary-bg-active);
600
+ }
601
+
602
+ .sp-btn--primary.sp-btn--disabled,
603
+ .sp-btn--primary:disabled {
604
+ background-color: var(--sp-component-button-primary-bg-disabled);
605
+ color: var(--sp-component-button-primary-text-disabled);
606
+ box-shadow: none;
607
+ }
608
+
609
+ /* secondary */
610
+ .sp-btn--secondary {
611
+ background-color: var(--sp-component-button-secondary-bg);
612
+ color: var(--sp-component-button-secondary-text);
613
+ border-color: var(--sp-component-button-secondary-border);
614
+ }
615
+
616
+ .sp-btn--secondary.sp-btn--hover,
617
+ .sp-btn--secondary.is-hover,
618
+ .sp-btn--secondary:hover {
619
+ background-color: var(--sp-component-button-secondary-bg-hover);
620
+ }
621
+
622
+ .sp-btn--secondary.sp-btn--active,
623
+ .sp-btn--secondary.is-active,
624
+ .sp-btn--secondary:active {
625
+ background-color: var(--sp-component-button-secondary-bg-active);
626
+ }
627
+
628
+ .sp-btn--secondary.sp-btn--disabled,
629
+ .sp-btn--secondary:disabled {
630
+ background-color: var(--sp-component-button-secondary-bg-disabled);
631
+ color: var(--sp-component-button-secondary-text-disabled);
632
+ border-color: var(--sp-component-button-secondary-border-disabled);
633
+ }
634
+
635
+ /* ghost */
636
+ .sp-btn--ghost {
637
+ background-color: var(--sp-component-button-ghost-bg);
638
+ color: var(--sp-component-button-ghost-text);
639
+ }
640
+
641
+ .sp-btn--ghost.sp-btn--hover,
642
+ .sp-btn--ghost.is-hover,
643
+ .sp-btn--ghost:hover {
644
+ background-color: var(--sp-component-button-ghost-bg-hover);
645
+ }
646
+
647
+ .sp-btn--ghost.sp-btn--active,
648
+ .sp-btn--ghost.is-active,
649
+ .sp-btn--ghost:active {
650
+ background-color: var(--sp-component-button-ghost-bg-active);
651
+ }
652
+
653
+ .sp-btn--ghost.sp-btn--disabled,
654
+ .sp-btn--ghost:disabled {
655
+ color: var(--sp-component-button-ghost-text-disabled);
656
+ background-color: var(--sp-component-button-ghost-bg-disabled);
657
+ }
658
+
659
+ /* danger */
660
+ .sp-btn--danger {
661
+ background-color: var(--sp-component-button-danger-bg);
662
+ color: var(--sp-component-button-danger-text);
663
+ }
664
+
665
+ .sp-btn--danger.sp-btn--hover,
666
+ .sp-btn--danger.is-hover,
667
+ .sp-btn--danger:hover {
668
+ background-color: var(--sp-component-button-danger-bg-hover);
669
+ }
670
+
671
+ .sp-btn--danger.sp-btn--active,
672
+ .sp-btn--danger.is-active,
673
+ .sp-btn--danger:active {
674
+ background-color: var(--sp-component-button-danger-bg-active);
675
+ }
676
+
677
+ .sp-btn--danger.sp-btn--disabled,
678
+ .sp-btn--danger:disabled {
679
+ background-color: var(--sp-component-button-danger-bg-disabled);
680
+ color: var(--sp-component-button-danger-text-disabled);
681
+ }
682
+
683
+ /* success */
684
+ .sp-btn--success {
685
+ background-color: var(--sp-component-button-success-bg);
686
+ color: var(--sp-component-button-success-text);
687
+ }
688
+
689
+ .sp-btn--success.sp-btn--hover,
690
+ .sp-btn--success.is-hover,
691
+ .sp-btn--success:hover {
692
+ background-color: var(--sp-component-button-success-bg-hover);
693
+ }
694
+
695
+ .sp-btn--success.sp-btn--active,
696
+ .sp-btn--success.is-active,
697
+ .sp-btn--success:active {
698
+ background-color: var(--sp-component-button-success-bg-active);
699
+ }
700
+
701
+ .sp-btn--success.sp-btn--disabled,
702
+ .sp-btn--success:disabled {
703
+ background-color: var(--sp-component-button-success-bg-disabled);
704
+ color: var(--sp-component-button-success-text-disabled);
705
+ }
706
+
707
+ /* INPUTS --------------------------------------------------------------- */
708
+
709
+ .sp-input-wrapper {
710
+ display: grid;
711
+ gap: var(--sp-space-4);
712
+ width: 100%;
713
+ }
714
+
715
+ .sp-label {
716
+ color: var(--sp-component-input-role-text);
717
+ font-size: var(--sp-font-sm-size);
718
+ font-weight: var(--sp-font-sm-weight);
719
+ line-height: var(--sp-font-sm-line-height);
720
+ }
721
+
722
+ .sp-helper-text {
723
+ color: var(--sp-text-on-surface-meta);
724
+ font-size: var(--sp-font-xs-size);
725
+ line-height: var(--sp-font-xs-line-height);
726
+ }
727
+
728
+ .sp-error-message {
729
+ color: var(--sp-component-input-role-text-error);
730
+ font-size: var(--sp-font-xs-size);
731
+ line-height: var(--sp-font-xs-line-height);
732
+ }
733
+
734
+ .sp-input {
735
+ width: 100%;
736
+ display: block;
737
+ appearance: none;
738
+ padding: var(--sp-space-4) var(--sp-space-16);
739
+ border-radius: var(--sp-radius-md);
740
+ border: 1px solid var(--sp-component-input-role-border);
741
+ background-color: var(--sp-component-input-role-bg);
742
+ color: var(--sp-component-input-role-text);
743
+ font-family: var(--sp-font-family-sans);
744
+ font-size: var(--sp-font-md-size);
745
+ line-height: var(--sp-font-md-line-height);
746
+ transition:
747
+ border-color var(--sp-duration-fast) var(--sp-easing-out),
748
+ box-shadow var(--sp-duration-fast) var(--sp-easing-out),
749
+ background-color var(--sp-duration-fast) var(--sp-easing-out);
750
+ }
751
+
752
+ .sp-input::placeholder {
753
+ color: var(--sp-component-input-role-placeholder);
754
+ }
755
+
756
+ .sp-input--sm {
757
+ padding: var(--sp-space-4) var(--sp-space-12);
758
+ font-size: var(--sp-font-sm-size);
759
+ line-height: var(--sp-font-sm-line-height);
760
+ }
761
+
762
+ .sp-input--md {
763
+ padding: var(--sp-space-4) var(--sp-space-16);
764
+ font-size: var(--sp-font-md-size);
765
+ line-height: var(--sp-font-md-line-height);
766
+ }
767
+
768
+ .sp-input--lg {
769
+ padding: var(--sp-space-8) var(--sp-space-24);
770
+ font-size: var(--sp-font-lg-size);
771
+ line-height: var(--sp-font-lg-line-height);
772
+ }
773
+
774
+ .sp-input--full {
775
+ width: 100%;
776
+ }
777
+
778
+ .sp-input:focus,
779
+ .sp-input--focus {
780
+ border-color: var(--sp-component-input-role-border-focus);
781
+ box-shadow: 0 0 0 calc(var(--sp-focus-ring-width) + 1px) var(--sp-component-input-role-ring);
782
+ outline: none;
783
+ }
784
+
785
+ /* State styling should not force typed text to be red/green by default */
786
+ .sp-input--error {
787
+ border-color: var(--sp-component-input-role-border-error);
788
+ background-color: var(--sp-component-input-role-bg-error);
789
+ color: var(--sp-component-input-role-text);
790
+ }
791
+
792
+ .sp-input--success {
793
+ border-color: var(--sp-component-input-role-border-success);
794
+ background-color: var(--sp-component-input-role-bg-success);
795
+ color: var(--sp-component-input-role-text);
796
+ }
797
+
798
+ .sp-input--disabled {
799
+ background-color: var(--sp-component-input-role-bg-disabled);
800
+ color: var(--sp-component-input-role-text-disabled);
801
+ border-color: var(--sp-component-input-role-border-disabled);
802
+ cursor: not-allowed;
803
+ }
804
+
805
+ .sp-input--disabled::placeholder {
806
+ color: var(--sp-component-input-role-text-disabled);
807
+ }
808
+
809
+ .sp-input--disabled,
810
+ .sp-input--disabled:focus {
811
+ box-shadow: none;
812
+ }
813
+
814
+ /* CARDS ---------------------------------------------------------------- */
815
+
816
+ .sp-card {
817
+ background-color: var(--sp-component-card-bg);
818
+ color: var(--sp-component-card-text);
819
+ border-radius: var(--sp-radius-lg);
820
+ padding: var(--sp-space-24);
821
+ box-shadow: var(--sp-component-card-shadow);
822
+ border: 1px solid var(--sp-component-card-border-base);
823
+ }
824
+
825
+ .sp-card p {
826
+ color: var(--sp-component-card-text-muted);
827
+ }
828
+
829
+ .sp-card h3,
830
+ .sp-card h4 {
831
+ color: var(--sp-component-card-text);
832
+ }
833
+
834
+ .sp-card--elevated {
835
+ box-shadow: var(--sp-component-card-shadow-elevated);
836
+ }
837
+
838
+ .sp-card--flat {
839
+ box-shadow: var(--sp-component-card-shadow-flat);
840
+ border-color: var(--sp-component-card-border);
841
+ }
842
+
843
+ .sp-card--outline {
844
+ background-color: var(--sp-component-card-outline-bg);
845
+ border-color: var(--sp-component-card-outline-border);
846
+ box-shadow: var(--sp-component-card-shadow-outline);
847
+ }
848
+
849
+ .sp-card--ghost {
850
+ background-color: var(--sp-component-card-ghost-bg);
851
+ border-color: var(--sp-component-card-ghost-border);
852
+ box-shadow: var(--sp-component-card-shadow-ghost);
853
+ }
854
+
855
+ .sp-card--padded {
856
+ padding: var(--sp-space-32);
857
+ }
858
+
859
+ .sp-card--full {
860
+ height: 100%;
861
+ }
862
+
863
+ .sp-card--interactive {
864
+ cursor: pointer;
865
+ transition:
866
+ transform var(--sp-duration-fast) var(--sp-easing-out),
867
+ box-shadow var(--sp-duration-fast) var(--sp-easing-out);
868
+ }
869
+
870
+ .sp-card--interactive:hover,
871
+ .sp-card--interactive:focus-visible,
872
+ .sp-card--interactive:focus-within {
873
+ transform: translateY(-1px);
874
+ box-shadow: var(--sp-component-card-shadow-elevated);
875
+ }
876
+
877
+ /* BADGES --------------------------------------------------------------- */
878
+
879
+ .sp-badge {
880
+ display: inline-flex;
881
+ align-items: center;
882
+ justify-content: center;
883
+ gap: var(--sp-component-badge-gap);
884
+ border-radius: var(--sp-component-badge-radius);
885
+ font-family: var(--sp-component-badge-font);
886
+ font-weight: var(--sp-component-badge-weight);
887
+ padding: var(--sp-component-badge-padding-y-md) var(--sp-component-badge-padding-x-md);
888
+ font-size: var(--sp-font-sm-size);
889
+ line-height: var(--sp-font-sm-line-height);
890
+ border: 1px solid transparent;
891
+ white-space: nowrap;
892
+ }
893
+
894
+ .sp-badge--sm {
895
+ padding: var(--sp-component-badge-padding-y-sm) var(--sp-component-badge-padding-x-sm);
896
+ font-size: var(--sp-font-xs-size);
897
+ line-height: var(--sp-font-xs-line-height);
898
+ }
899
+
900
+ .sp-badge--md {
901
+ padding: var(--sp-component-badge-padding-y-md) var(--sp-component-badge-padding-x-md);
902
+ font-size: var(--sp-font-sm-size);
903
+ line-height: var(--sp-font-sm-line-height);
904
+ }
905
+
906
+ .sp-badge--lg {
907
+ padding: var(--sp-component-badge-padding-y-lg) var(--sp-component-badge-padding-x-lg);
908
+ font-size: var(--sp-font-md-size);
909
+ line-height: var(--sp-font-md-line-height);
910
+ }
911
+
912
+ .sp-badge--primary {
913
+ background-color: var(--sp-component-badge-primary-bg);
914
+ color: var(--sp-component-badge-primary-text);
915
+ }
916
+
917
+ .sp-badge--success {
918
+ background-color: var(--sp-component-badge-success-bg);
919
+ color: var(--sp-component-badge-success-text);
920
+ }
921
+
922
+ .sp-badge--warning {
923
+ background-color: var(--sp-component-badge-warning-bg);
924
+ color: var(--sp-component-badge-warning-text);
925
+ }
926
+
927
+ .sp-badge--danger {
928
+ background-color: var(--sp-component-badge-danger-bg);
929
+ color: var(--sp-component-badge-danger-text);
930
+ }
931
+
932
+ /* ICON BOXES ----------------------------------------------------------- */
933
+
934
+ .sp-iconbox {
935
+ display: inline-flex;
936
+ align-items: center;
937
+ justify-content: center;
938
+ border-radius: var(--sp-component-iconbox-radius);
939
+ color: var(--sp-component-iconbox-primary-text);
940
+ background-color: var(--sp-component-iconbox-primary-bg);
941
+ font-family: var(--sp-font-family-sans);
942
+ font-weight: var(--sp-font-md-weight);
943
+ line-height: 0;
944
+ }
945
+
946
+ /* Harden icon rendering:
947
+ - center, no baseline wobble
948
+ - force currentColor for common svg shapes
949
+ - preserve stroke-only icons (fill="none")
950
+ */
951
+ .sp-iconbox,
952
+ .sp-iconbox>i {
953
+ line-height: 0;
954
+ }
955
+
956
+ .sp-iconbox>i {
957
+ display: inline-flex;
958
+ align-items: center;
959
+ justify-content: center;
960
+ width: 1em;
961
+ height: 1em;
962
+ flex-shrink: 0;
963
+ vertical-align: middle;
964
+ }
965
+
966
+ .sp-iconbox svg {
967
+ display: block;
968
+ width: 1em;
969
+ height: 1em;
970
+ flex-shrink: 0;
971
+ }
972
+
973
+ /* default to inheriting via currentColor */
974
+ .sp-iconbox svg,
975
+ .sp-iconbox svg path,
976
+ .sp-iconbox svg circle,
977
+ .sp-iconbox svg rect,
978
+ .sp-iconbox svg line,
979
+ .sp-iconbox svg polyline,
980
+ .sp-iconbox svg polygon,
981
+ .sp-iconbox svg g {
982
+ stroke: currentColor;
983
+ }
984
+
985
+ /* only force fill when the icon isn't explicitly stroke-only */
986
+ .sp-iconbox svg:not([fill="none"]),
987
+ .sp-iconbox svg:not([fill="none"]) path,
988
+ .sp-iconbox svg:not([fill="none"]) circle,
989
+ .sp-iconbox svg:not([fill="none"]) rect,
990
+ .sp-iconbox svg:not([fill="none"]) polygon {
991
+ fill: currentColor;
992
+ }
993
+
994
+ .sp-iconbox--sm {
995
+ width: var(--sp-component-iconbox-size-sm);
996
+ height: var(--sp-component-iconbox-size-sm);
997
+ font-size: var(--sp-font-sm-size);
998
+ }
999
+
1000
+ .sp-iconbox--md {
1001
+ width: var(--sp-component-iconbox-size-md);
1002
+ height: var(--sp-component-iconbox-size-md);
1003
+ font-size: var(--sp-font-md-size);
1004
+ }
1005
+
1006
+ .sp-iconbox--lg {
1007
+ width: var(--sp-component-iconbox-size-lg);
1008
+ height: var(--sp-component-iconbox-size-lg);
1009
+ font-size: var(--sp-font-lg-size);
1010
+ }
1011
+
1012
+ .sp-iconbox--primary {
1013
+ background-color: var(--sp-component-iconbox-primary-bg);
1014
+ color: var(--sp-component-iconbox-primary-text);
1015
+ }
1016
+
1017
+ .sp-iconbox--success {
1018
+ background-color: var(--sp-component-iconbox-success-bg);
1019
+ color: var(--sp-component-iconbox-success-text);
1020
+ }
1021
+
1022
+ .sp-iconbox--warning {
1023
+ background-color: var(--sp-component-iconbox-warning-bg);
1024
+ color: var(--sp-component-iconbox-warning-text);
1025
+ }
1026
+
1027
+ .sp-iconbox--danger {
1028
+ background-color: var(--sp-component-iconbox-danger-bg);
1029
+ color: var(--sp-component-iconbox-danger-text);
1030
+ }
1031
+
1032
+ .sp-iconbox--info {
1033
+ background-color: var(--sp-component-iconbox-info-bg);
1034
+ color: var(--sp-component-iconbox-info-text);
1035
+ }
1036
+ }
1037
+ @layer utilities {
1038
+ .sp-stack {
1039
+ display: flex;
1040
+ flex-direction: column;
1041
+ gap: var(--sp-layout-stack-gap-md);
1042
+ }
1043
+
1044
+ .sp-hstack {
1045
+ display: flex;
1046
+ flex-direction: row;
1047
+ align-items: center;
1048
+ gap: var(--sp-layout-stack-gap-md);
1049
+ }
1050
+
1051
+ .sp-container {
1052
+ width: 100%;
1053
+ margin-left: auto;
1054
+ margin-right: auto;
1055
+ padding-left: var(--sp-layout-container-padding-inline-md);
1056
+ padding-right: var(--sp-layout-container-padding-inline-md);
1057
+ max-width: 72rem;
1058
+ }
1059
+
1060
+ .sp-section {
1061
+ padding-top: var(--sp-layout-section-padding-md);
1062
+ padding-bottom: var(--sp-layout-section-padding-md);
1063
+ }
1064
+
1065
+ .sp-shadow-soft {
1066
+ box-shadow: var(--sp-shadow-md);
1067
+ }
1068
+
1069
+ .sp-shadow-strong {
1070
+ box-shadow: var(--sp-shadow-lg);
1071
+ }
1072
+ }