@wrikka/theme 0.0.0-stage → 0.1.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.
@@ -0,0 +1,247 @@
1
+ /**
2
+ * Solid UI theme color components
3
+ *
4
+ * HSL color variables for UnoCSS theme colors.
5
+ * Import this file once at application root before component styles.
6
+ */
7
+
8
+ :root {
9
+ /* Background/surface/muted */
10
+ --color-background: 210 40% 98%;
11
+ --color-foreground: 222 47% 11%;
12
+ --color-surface: 0 0% 100%;
13
+ --color-surface-elevated: 0 0% 100%;
14
+ --color-surface-foreground: 222 47% 11%;
15
+ --color-muted: 210 40% 96%;
16
+ --color-muted-foreground: 215 20% 42%;
17
+
18
+ /* Borders and focus */
19
+ --color-border: 214 32% 91%;
20
+ --color-border-hover: 215 20% 65%;
21
+ --color-input: 214 32% 91%;
22
+ --color-ring: 222 47% 11%;
23
+ --color-focus: 222 47% 11%;
24
+
25
+ /* Primary */
26
+ --color-primary: 222 47% 11%;
27
+ --color-primary-hover: 215 25% 27%;
28
+ --color-primary-active: 217 33% 17%;
29
+ --color-primary-foreground: 0 0% 100%;
30
+
31
+ /* Secondary */
32
+ --color-secondary: 210 40% 96%;
33
+ --color-secondary-hover: 214 32% 91%;
34
+ --color-secondary-active: 213 27% 84%;
35
+ --color-secondary-foreground: 222 47% 11%;
36
+
37
+ /* Accent */
38
+ --color-accent: 210 40% 96%;
39
+ --color-accent-hover: 214 32% 91%;
40
+ --color-accent-active: 213 27% 84%;
41
+ --color-accent-foreground: 222 47% 11%;
42
+
43
+ /* Semantic colors — every fill carries an ink that clears AA (measured >= 5:1);
44
+ amber needs a dark ink, so warning no longer paints white on amber (was 2.1:1) */
45
+ --color-destructive: 6 63% 46%;
46
+ --color-destructive-hover: 6 63% 40%;
47
+ --color-destructive-active: 6 63% 34%;
48
+ --color-destructive-foreground: 0 0% 100%;
49
+ --color-success: 142 72% 29%;
50
+ --color-success-foreground: 0 0% 100%;
51
+ --color-warning: 37 91% 55%;
52
+ --color-warning-foreground: 37 84% 12%;
53
+ --color-info: 245 57% 51%;
54
+ --color-info-foreground: 0 0% 100%;
55
+
56
+ /* Soft surfaces — low-emphasis fill + readable ink for each family */
57
+ --color-primary-soft: 222 40% 93%;
58
+ --color-primary-soft-foreground: 222 47% 11%;
59
+ --color-primary-ink: 222 47% 11%;
60
+ --color-primary-deep: 222 47% 10%;
61
+ --color-destructive-soft: 0 94% 89%;
62
+ --color-destructive-soft-foreground: 0 74% 31%;
63
+ --color-success-soft: 141 79% 85%;
64
+ --color-success-soft-foreground: 144 80% 10%;
65
+ --color-warning-soft: 46 97% 89%;
66
+ --color-warning-soft-foreground: 38 84% 27%;
67
+ --color-info-soft: 228 100% 94%;
68
+ --color-info-soft-foreground: 244 47% 20%;
69
+
70
+ /* Misc */
71
+ --color-overlay: 0 0% 0%;
72
+ --color-scrim: 0 0% 100%;
73
+ --color-skeleton: 214 32% 91%;
74
+ --color-skeleton-shine: 210 40% 96%;
75
+ }
76
+
77
+ html[data-theme="dark"],
78
+ .dark {
79
+ color-scheme: dark;
80
+
81
+ /* Background/surface/muted */
82
+ --color-background: 222 47% 11%;
83
+ --color-foreground: 210 40% 98%;
84
+ --color-surface: 217 33% 17%;
85
+ --color-surface-elevated: 215 25% 27%;
86
+ --color-surface-foreground: 210 40% 98%;
87
+ --color-muted: 215 25% 27%;
88
+ --color-muted-foreground: 215 20% 65%;
89
+
90
+ /* Borders and focus */
91
+ --color-border: 215 25% 27%;
92
+ --color-border-hover: 215 20% 42%;
93
+ --color-input: 215 25% 27%;
94
+ --color-ring: 200 98% 55%;
95
+ --color-focus: 200 98% 55%;
96
+
97
+ /* Primary */
98
+ --color-primary: 200 98% 55%;
99
+ --color-primary-hover: 199 95% 48%;
100
+ --color-primary-active: 199 95% 42%;
101
+ --color-primary-foreground: 222 47% 11%;
102
+
103
+ /* Secondary */
104
+ --color-secondary: 217 33% 17%;
105
+ --color-secondary-hover: 215 25% 27%;
106
+ --color-secondary-active: 215 25% 35%;
107
+ --color-secondary-foreground: 210 40% 98%;
108
+
109
+ /* Accent */
110
+ --color-accent: 217 33% 17%;
111
+ --color-accent-hover: 215 25% 27%;
112
+ --color-accent-active: 215 25% 35%;
113
+ --color-accent-foreground: 210 40% 98%;
114
+
115
+ /* Semantic colors — dark ink on the light fills; hover and active brighten so
116
+ the ink keeps its contrast instead of fading toward it */
117
+ --color-destructive: 6 68% 62%;
118
+ --color-destructive-hover: 6 68% 67%;
119
+ --color-destructive-active: 6 68% 72%;
120
+ --color-destructive-foreground: 252 16% 8%;
121
+ --color-success: 142 68% 58%;
122
+ --color-success-foreground: 252 16% 8%;
123
+ --color-warning: 37 91% 55%;
124
+ --color-warning-foreground: 252 16% 8%;
125
+ --color-info: 230 94% 82%;
126
+ --color-info-foreground: 252 16% 8%;
127
+
128
+ /* Soft surfaces — low-emphasis fill + readable ink for each family */
129
+ --color-primary-soft: 200 59% 15%;
130
+ --color-primary-soft-foreground: 200 90% 72%;
131
+ --color-primary-ink: 200 90% 72%;
132
+ --color-primary-deep: 200 98% 34%;
133
+ --color-destructive-soft: 0 75% 15%;
134
+ --color-destructive-soft-foreground: 0 94% 89%;
135
+ --color-success-soft: 141 51% 12%;
136
+ --color-success-soft-foreground: 141 79% 85%;
137
+ --color-warning-soft: 44 71% 13%;
138
+ --color-warning-soft-foreground: 46 97% 65%;
139
+ --color-info-soft: 244 47% 20%;
140
+ --color-info-soft-foreground: 228 96% 89%;
141
+
142
+ /* Misc */
143
+ --color-overlay: 0 0% 0%;
144
+ --color-scrim: 0 0% 100%;
145
+ --color-skeleton: 215 25% 27%;
146
+ --color-skeleton-shine: 217 33% 17%;
147
+ }
148
+
149
+ /*
150
+ * Warm neutral — opt-in via html[data-neutral="warm"]. Overrides only the
151
+ * neutral ramp; primary/ring stay owned by :root and the brand preflight, so a
152
+ * brand color keeps its ramp on a warm surface.
153
+ */
154
+ html[data-neutral="warm"] {
155
+ --color-background: 38 44% 96%;
156
+ --color-foreground: 252 16% 12%;
157
+ --color-surface: 0 0% 100%;
158
+ --color-surface-elevated: 0 0% 100%;
159
+ --color-surface-foreground: 252 16% 12%;
160
+ --color-muted: 38 33% 94%;
161
+ --color-muted-foreground: 266 7% 42%;
162
+ --color-border: 39 27% 90%;
163
+ --color-border-hover: 266 7% 62%;
164
+ --color-input: 39 27% 90%;
165
+ --color-secondary: 38 33% 94%;
166
+ --color-secondary-hover: 39 27% 90%;
167
+ --color-secondary-active: 38 24% 85%;
168
+ --color-secondary-foreground: 252 16% 12%;
169
+ --color-accent: 38 33% 94%;
170
+ --color-accent-hover: 39 27% 90%;
171
+ --color-accent-active: 38 24% 85%;
172
+ --color-accent-foreground: 252 16% 12%;
173
+ --color-skeleton: 38 33% 94%;
174
+ --color-skeleton-shine: 38 44% 96%;
175
+ /* Warm ink under cards, so a shadow reads as paper depth, not a grey smudge */
176
+ --su-shadow-color: 28 26 36;
177
+ }
178
+
179
+ html[data-theme="dark"][data-neutral="warm"],
180
+ .dark[data-neutral="warm"] {
181
+ --color-background: 255 10% 8%;
182
+ --color-foreground: 276 19% 95%;
183
+ --color-surface: 257 11% 12%;
184
+ --color-surface-elevated: 258 13% 16%;
185
+ --color-surface-foreground: 276 19% 95%;
186
+ --color-muted: 258 13% 16%;
187
+ --color-muted-foreground: 262 10% 61%;
188
+ --color-border: 260 12% 20%;
189
+ --color-border-hover: 262 10% 61%;
190
+ --color-input: 260 12% 20%;
191
+ --color-secondary: 258 13% 16%;
192
+ --color-secondary-hover: 260 12% 20%;
193
+ --color-secondary-active: 260 12% 26%;
194
+ --color-secondary-foreground: 276 19% 95%;
195
+ --color-accent: 258 13% 16%;
196
+ --color-accent-hover: 260 12% 20%;
197
+ --color-accent-active: 260 12% 26%;
198
+ --color-accent-foreground: 276 19% 95%;
199
+ --color-skeleton: 258 13% 16%;
200
+ --color-skeleton-shine: 257 11% 12%;
201
+ /* Dark surfaces need a true black shadow; warm ink turns muddy here */
202
+ --su-shadow-color: 0 0 0;
203
+ }
204
+
205
+ /* Interactive affordances — pointer cursor on clickable controls, not-allowed on disabled. */
206
+ button:not(:disabled),
207
+ [role="button"]:not([aria-disabled="true"]),
208
+ summary,
209
+ select:not(:disabled),
210
+ [role="tab"]:not([aria-disabled="true"]),
211
+ [role="switch"]:not([aria-disabled="true"]),
212
+ [role="option"]:not([aria-disabled="true"]),
213
+ [role="combobox"]:not([aria-disabled="true"]),
214
+ [role="menuitem"]:not([aria-disabled="true"]),
215
+ [role="checkbox"]:not([aria-disabled="true"]),
216
+ [role="radio"]:not([aria-disabled="true"]),
217
+ input[type="checkbox"]:not(:disabled),
218
+ input[type="radio"]:not(:disabled),
219
+ input[type="range"]:not(:disabled),
220
+ label[for] {
221
+ cursor: pointer;
222
+ }
223
+
224
+ button:disabled,
225
+ [aria-disabled="true"],
226
+ input:disabled,
227
+ select:disabled,
228
+ textarea:disabled {
229
+ cursor: not-allowed;
230
+ }
231
+
232
+ /* Text legibility */
233
+ ::selection {
234
+ background-color: hsl(var(--color-primary) / 0.2);
235
+ }
236
+
237
+ /* Respect users who opt out of motion */
238
+ @media (prefers-reduced-motion: reduce) {
239
+ *,
240
+ *::before,
241
+ *::after {
242
+ scroll-behavior: auto;
243
+ transition-duration: 0.01ms;
244
+ animation-duration: 0.01ms;
245
+ animation-iteration-count: 1;
246
+ }
247
+ }
@@ -0,0 +1,311 @@
1
+ /**
2
+ * Solid UI design tokens
3
+ *
4
+ * Core token layer for non-color design tokens and semantic CSS aliases.
5
+ * Color HSL components are defined in theme.css and imported below.
6
+ */
7
+
8
+ @import "./theme.css";
9
+
10
+ :root {
11
+ /* Color primitives */
12
+ --su-white: #ffffff;
13
+ --su-black: #000000;
14
+ --su-slate-50: #f8fafc;
15
+ --su-slate-100: #f1f5f9;
16
+ --su-slate-200: #e2e8f0;
17
+ --su-slate-300: #cbd5e1;
18
+ --su-slate-400: #94a3b8;
19
+ --su-slate-500: #64748b;
20
+ --su-slate-600: #475569;
21
+ --su-slate-700: #334155;
22
+ --su-slate-800: #1e293b;
23
+ --su-slate-900: #0f172a;
24
+ --su-slate-950: #020617;
25
+ --su-red-500: #ef4444;
26
+ --su-red-600: #dc2626;
27
+ --su-red-400: #f87171;
28
+ --su-green-500: #22c55e;
29
+ --su-green-600: #16a34a;
30
+ --su-green-400: #4ade80;
31
+ --su-amber-500: #f59e0b;
32
+ --su-amber-600: #d97706;
33
+ --su-amber-400: #fbbf24;
34
+ --su-blue-500: #3b82f6;
35
+ --su-blue-600: #2563eb;
36
+ --su-blue-400: #60a5fa;
37
+ --su-sky-400: #38bdf8;
38
+ --su-sky-500: #0ea5e9;
39
+ --su-sky-950: #082f49;
40
+
41
+ /* Semantic color aliases */
42
+ --su-bg: hsl(var(--color-background));
43
+ --su-background: hsl(var(--color-background));
44
+ --su-surface: hsl(var(--color-surface));
45
+ --su-surface-elevated: hsl(var(--color-surface-elevated));
46
+ --su-foreground: hsl(var(--color-foreground));
47
+ --su-text: hsl(var(--color-foreground));
48
+ --su-text-muted: hsl(var(--color-muted-foreground));
49
+ --su-muted: hsl(var(--color-muted));
50
+ --su-muted-foreground: hsl(var(--color-muted-foreground));
51
+ --su-border: hsl(var(--color-border));
52
+ --su-border-hover: hsl(var(--color-border-hover));
53
+ --su-input: hsl(var(--color-input));
54
+ --su-ring: hsl(var(--color-ring));
55
+ --su-primary: hsl(var(--color-primary));
56
+ --su-primary-text: hsl(var(--color-primary-foreground));
57
+ --su-primary-foreground: hsl(var(--color-primary-foreground));
58
+ --su-secondary: hsl(var(--color-secondary));
59
+ --su-secondary-foreground: hsl(var(--color-secondary-foreground));
60
+ --su-accent: hsl(var(--color-accent));
61
+ --su-accent-foreground: hsl(var(--color-accent-foreground));
62
+ --su-destructive: hsl(var(--color-destructive));
63
+ --su-destructive-foreground: hsl(var(--color-destructive-foreground));
64
+ --su-success: hsl(var(--color-success));
65
+ --su-success-foreground: hsl(var(--color-success-foreground));
66
+ --su-warning: hsl(var(--color-warning));
67
+ --su-warning-foreground: hsl(var(--color-warning-foreground));
68
+ --su-info: hsl(var(--color-info));
69
+ --su-info-foreground: hsl(var(--color-info-foreground));
70
+
71
+ /* Soft surfaces — the ink pair is readable on its own soft fill */
72
+ --su-primary-soft: hsl(var(--color-primary-soft));
73
+ --su-primary-soft-foreground: hsl(var(--color-primary-soft-foreground));
74
+ --su-primary-ink: hsl(var(--color-primary-ink));
75
+ --su-primary-deep: hsl(var(--color-primary-deep));
76
+ --su-destructive-soft: hsl(var(--color-destructive-soft));
77
+ --su-destructive-soft-foreground: hsl(var(--color-destructive-soft-foreground));
78
+ --su-success-soft: hsl(var(--color-success-soft));
79
+ --su-success-soft-foreground: hsl(var(--color-success-soft-foreground));
80
+ --su-warning-soft: hsl(var(--color-warning-soft));
81
+ --su-warning-soft-foreground: hsl(var(--color-warning-soft-foreground));
82
+ --su-info-soft: hsl(var(--color-info-soft));
83
+ --su-info-soft-foreground: hsl(var(--color-info-soft-foreground));
84
+
85
+ /* Brand alpha levels — `hsl(var(--color-primary) / var(--su-alpha-tint))` */
86
+ --su-alpha-tint: 0.08;
87
+ --su-alpha-tint-strong: 0.12;
88
+ --su-alpha-faint: 0.05;
89
+ --su-alpha-wash: 0.1;
90
+ --su-primary-tint: hsl(var(--color-primary) / var(--su-alpha-tint));
91
+ --su-primary-tint-strong: hsl(var(--color-primary) / var(--su-alpha-tint-strong));
92
+ --su-primary-faint: hsl(var(--color-primary) / var(--su-alpha-faint));
93
+ --su-primary-wash: hsl(var(--color-primary) / var(--su-alpha-wash));
94
+
95
+ /* Radius */
96
+ --su-radius: 0.5rem;
97
+ --su-radius-sm: 0.25rem;
98
+ --su-radius-md: 0.5rem;
99
+ --su-radius-lg: 0.75rem;
100
+ --su-radius-xl: 1rem;
101
+ --su-radius-full: 9999px;
102
+
103
+ /* Spacing */
104
+ --su-space-0: 0;
105
+ --su-space-1: 0.25rem;
106
+ --su-space-2: 0.5rem;
107
+ --su-space-3: 0.75rem;
108
+ --su-space-4: 1rem;
109
+ --su-space-5: 1.25rem;
110
+ --su-space-6: 1.5rem;
111
+ --su-space-7: 1.75rem;
112
+ --su-space-8: 2rem;
113
+ --su-space-10: 2.5rem;
114
+ --su-space-12: 3rem;
115
+ --su-space-16: 4rem;
116
+
117
+ /* Density — control metrics that follow the space scale. Override per
118
+ subtree with [data-density="compact"], [data-density="spacious"] or
119
+ [data-density="touch"]; the default values are the "normal"/"comfortable"
120
+ density. "touch" keeps every target at or above the 44px tap minimum. */
121
+ --su-control-h-sm: 1.75rem;
122
+ --su-control-h-md: 2rem;
123
+ --su-control-h-lg: 2.25rem;
124
+ --su-row-h: 2rem;
125
+ --su-gutter: 0.75rem;
126
+
127
+ /* Shadows — tinted through --su-shadow-color so a warm surface casts a
128
+ warm shadow instead of a grey outline. */
129
+ --su-shadow-color: 0 0 0;
130
+ --su-shadow-sm: 0 1px 2px 0 rgb(var(--su-shadow-color) / 0.05);
131
+ --su-shadow-md: 0 4px 6px -1px rgb(var(--su-shadow-color) / 0.1), 0 2px 4px -2px rgb(var(--su-shadow-color) / 0.1);
132
+ --su-shadow-lg: 0 10px 15px -3px rgb(var(--su-shadow-color) / 0.1), 0 4px 6px -4px rgb(var(--su-shadow-color) / 0.1);
133
+ --su-shadow-xl: 0 20px 25px -5px rgb(var(--su-shadow-color) / 0.1), 0 8px 10px -6px rgb(var(--su-shadow-color) / 0.1);
134
+ --su-shadow-glow: 0 0 0 2px var(--su-ring);
135
+
136
+ /* Typography — fluid scale: comfortable minimums on phones, growing
137
+ naturally up to a capped maximum on wide screens. */
138
+ --su-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
139
+ --su-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
140
+ --su-text-3xs: clamp(0.625rem, 0.6rem + 0.15vw, 0.6875rem);
141
+ --su-text-2xs: clamp(0.6875rem, 0.64rem + 0.18vw, 0.75rem);
142
+ --su-text-xs: clamp(0.8125rem, 0.77rem + 0.2vw, 0.875rem);
143
+ --su-text-sm: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
144
+ --su-text-base: clamp(1rem, 0.96rem + 0.22vw, 1.0625rem);
145
+ --su-text-lg: clamp(1.125rem, 1.08rem + 0.24vw, 1.1875rem);
146
+ --su-text-xl: clamp(1.25rem, 1.19rem + 0.3vw, 1.375rem);
147
+ --su-text-2xl: clamp(1.5rem, 1.4rem + 0.5vw, 1.75rem);
148
+ --su-text-3xl: clamp(1.875rem, 1.71rem + 0.83vw, 2.25rem);
149
+ --su-text-4xl: clamp(2.25rem, 2rem + 1.25vw, 3rem);
150
+ --su-text-5xl: clamp(3rem, 2.63rem + 1.85vw, 4rem);
151
+ --su-text-6xl: clamp(3.75rem, 3.2rem + 2.75vw, 5rem);
152
+ --su-text-7xl: clamp(4.5rem, 3.7rem + 4vw, 6rem);
153
+ --su-text-8xl: clamp(6rem, 4.9rem + 5.5vw, 8rem);
154
+ --su-text-9xl: clamp(8rem, 6.4rem + 8vw, 10rem);
155
+
156
+ /* Line heights */
157
+ --su-leading-none: 1;
158
+ --su-leading-tight: 1.25;
159
+ --su-leading-normal: 1.5;
160
+ --su-leading-relaxed: 1.75;
161
+
162
+ /* Z-index — every consumer layer sits above the app chrome; a dropdown
163
+ opened inside a dialog still clears the dialog's own backdrop. */
164
+ --su-z-base: 0;
165
+ --su-z-dropdown: 45;
166
+ --su-z-sticky: 20;
167
+ --su-z-fixed: 30;
168
+ --su-z-modal-backdrop: 55;
169
+ --su-z-modal: 60;
170
+ --su-z-popover: 65;
171
+ --su-z-tooltip: 70;
172
+ --su-z-toast: 75;
173
+
174
+ /* Motion */
175
+ --su-transition-fast: 100ms ease;
176
+ --su-transition-normal: 150ms ease;
177
+ --su-transition-slow: 250ms ease;
178
+
179
+ /* Motion primitives — pair one duration with one easing to build the
180
+ transition tokens above, or use them directly in the duration and ease utilities. */
181
+ --su-duration-fast: 100ms;
182
+ --su-duration-normal: 150ms;
183
+ --su-duration-slow: 250ms;
184
+ --su-duration-slower: 400ms;
185
+ --su-ease-standard: cubic-bezier(0.2, 0, 0, 1);
186
+ --su-ease-decelerate: cubic-bezier(0, 0, 0, 1);
187
+ --su-ease-accelerate: cubic-bezier(0.3, 0, 1, 1);
188
+ }
189
+
190
+ [data-density="compact"] {
191
+ --su-control-h-sm: 1.5rem;
192
+ --su-control-h-md: 1.75rem;
193
+ --su-control-h-lg: 2rem;
194
+ --su-row-h: 1.75rem;
195
+ --su-gutter: 0.5rem;
196
+ }
197
+
198
+ [data-density="spacious"] {
199
+ --su-control-h-sm: 2rem;
200
+ --su-control-h-md: 2.25rem;
201
+ --su-control-h-lg: 2.5rem;
202
+ --su-row-h: 2.25rem;
203
+ --su-gutter: 1rem;
204
+ }
205
+
206
+ [data-density="touch"] {
207
+ --su-control-h-sm: 2.75rem;
208
+ --su-control-h-md: 3rem;
209
+ --su-control-h-lg: 3.25rem;
210
+ --su-row-h: 3rem;
211
+ --su-gutter: 0.75rem;
212
+ }
213
+
214
+ @keyframes su-fade-in {
215
+ from {
216
+ opacity: 0;
217
+ }
218
+ to {
219
+ opacity: 1;
220
+ }
221
+ }
222
+
223
+ @keyframes su-zoom-in {
224
+ from {
225
+ opacity: 0;
226
+ transform: scale(0.95);
227
+ }
228
+ to {
229
+ opacity: 1;
230
+ transform: scale(1);
231
+ }
232
+ }
233
+
234
+ @keyframes su-slide-up {
235
+ from {
236
+ opacity: 0;
237
+ transform: translateY(1rem);
238
+ }
239
+ to {
240
+ opacity: 1;
241
+ transform: translateY(0);
242
+ }
243
+ }
244
+
245
+ @keyframes su-marquee {
246
+ from {
247
+ transform: translateX(0);
248
+ }
249
+ to {
250
+ transform: translateX(-50%);
251
+ }
252
+ }
253
+
254
+ html[data-theme="dark"],
255
+ .dark {
256
+ /* Shadows in dark mode are slightly stronger for depth */
257
+ --su-shadow-color: 0 0 0;
258
+ --su-shadow-sm: 0 1px 2px 0 rgb(var(--su-shadow-color) / 0.25);
259
+ --su-shadow-md: 0 4px 6px -1px rgb(var(--su-shadow-color) / 0.3), 0 2px 4px -2px rgb(var(--su-shadow-color) / 0.3);
260
+ --su-shadow-lg:
261
+ 0 10px 15px -3px rgb(var(--su-shadow-color) / 0.35), 0 4px 6px -4px rgb(var(--su-shadow-color) / 0.35);
262
+ --su-shadow-xl: 0 20px 25px -5px rgb(var(--su-shadow-color) / 0.4), 0 8px 10px -6px rgb(var(--su-shadow-color) / 0.4);
263
+
264
+ /* Brand alpha levels need a little more presence on a dark surface */
265
+ --su-alpha-tint: 0.1;
266
+ --su-alpha-tint-strong: 0.14;
267
+ --su-alpha-faint: 0.07;
268
+ --su-alpha-wash: 0.12;
269
+ }
270
+
271
+ * {
272
+ box-sizing: border-box;
273
+ }
274
+
275
+ html {
276
+ font-family: var(--su-font-sans);
277
+ color: var(--su-foreground);
278
+ background: var(--su-bg);
279
+ line-height: var(--su-leading-normal);
280
+ }
281
+
282
+ body {
283
+ margin: 0;
284
+ }
285
+
286
+ /* Default focus ring for interactive elements that don't style their own
287
+ (components using focus-visible:outline-none + ring opt out via the
288
+ :not() guard below). */
289
+ :where(
290
+ a,
291
+ button,
292
+ input,
293
+ select,
294
+ textarea,
295
+ summary,
296
+ [tabindex="0"],
297
+ [role="button"],
298
+ [role="link"],
299
+ [role="slider"],
300
+ [role="tab"],
301
+ [role="checkbox"],
302
+ [role="radio"],
303
+ [role="switch"],
304
+ [role="menuitem"],
305
+ [role="option"],
306
+ [role="treeitem"]
307
+ ):focus-visible:not([class*="outline-none"]):not([class*="outline-0"]) {
308
+ outline: 2px solid var(--su-ring);
309
+ outline-offset: 2px;
310
+ border-radius: var(--su-radius-sm);
311
+ }