@classic-homes/theme-styles 0.6.0 → 0.10.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 +283 -8
- package/dist/components.css +1967 -0
- package/dist/components.json +1163 -0
- package/dist/tailwind-v4.css +999 -0
- package/package.json +13 -5
- package/src/accessibility.css +59 -0
|
@@ -0,0 +1,999 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Classic Theme for Tailwind CSS 4
|
|
3
|
+
* Generated from @classic-homes/theme-tailwind-preset by
|
|
4
|
+
* packages/styles/scripts/tailwind-v4.mjs - do not edit.
|
|
5
|
+
*
|
|
6
|
+
* Self-contained (no @import). Use it after `@import 'tailwindcss';`, or inline
|
|
7
|
+
* it into a <style type="text/tailwindcss"> for the Tailwind 4 browser build.
|
|
8
|
+
* Load @classic-homes/theme-tokens/css alongside it for the colour variables.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
@custom-variant dark (&:where(.dark, .dark *));
|
|
12
|
+
|
|
13
|
+
/* Every value inlined: utilities read the token variables directly, so a
|
|
14
|
+
scoped `.dark` subtree works, and nothing here redefines a token. */
|
|
15
|
+
@theme inline {
|
|
16
|
+
--color-gray-50: #f9fafb;
|
|
17
|
+
--color-gray-100: #f3f4f6;
|
|
18
|
+
--color-gray-200: #e5e7eb;
|
|
19
|
+
--color-gray-300: #d1d5db;
|
|
20
|
+
--color-gray-400: #9ca3af;
|
|
21
|
+
--color-gray-500: #7a7a7a;
|
|
22
|
+
--color-gray-600: #4f4f4f;
|
|
23
|
+
--color-gray-700: #3d3d3d;
|
|
24
|
+
--color-gray-800: #2a2a2a;
|
|
25
|
+
--color-gray-900: #1a1a1a;
|
|
26
|
+
--color-gray-950: #0a0a0a;
|
|
27
|
+
--color-red-50: #fef2f2;
|
|
28
|
+
--color-red-100: #fee2e2;
|
|
29
|
+
--color-red-200: #fecaca;
|
|
30
|
+
--color-red-300: #fca5a5;
|
|
31
|
+
--color-red-400: #f87171;
|
|
32
|
+
--color-red-500: #e02726;
|
|
33
|
+
--color-red-600: #c81f1e;
|
|
34
|
+
--color-red-700: #a91c22;
|
|
35
|
+
--color-red-800: #7f1d1d;
|
|
36
|
+
--color-red-900: #5c1010;
|
|
37
|
+
--color-red-950: #3d0a0a;
|
|
38
|
+
--color-red-foreground: #ffffff;
|
|
39
|
+
--color-teal-50: #f0fafa;
|
|
40
|
+
--color-teal-100: #d9f2f3;
|
|
41
|
+
--color-teal-200: #b3e6e7;
|
|
42
|
+
--color-teal-300: #8dd9db;
|
|
43
|
+
--color-teal-400: #67cccf;
|
|
44
|
+
--color-teal-500: #3ba4a7;
|
|
45
|
+
--color-teal-600: #2f8386;
|
|
46
|
+
--color-teal-700: #236265;
|
|
47
|
+
--color-teal-800: #184144;
|
|
48
|
+
--color-teal-900: #0c2123;
|
|
49
|
+
--color-teal-950: #061012;
|
|
50
|
+
--color-teal-foreground: #ffffff;
|
|
51
|
+
--color-navy-50: #f0f4f6;
|
|
52
|
+
--color-navy-100: #d9e4ea;
|
|
53
|
+
--color-navy-200: #b3c9d5;
|
|
54
|
+
--color-navy-300: #8daebf;
|
|
55
|
+
--color-navy-400: #6793aa;
|
|
56
|
+
--color-navy-500: #417895;
|
|
57
|
+
--color-navy-600: #2d5467;
|
|
58
|
+
--color-navy-700: #002e3f;
|
|
59
|
+
--color-navy-800: #00242f;
|
|
60
|
+
--color-navy-900: #001a20;
|
|
61
|
+
--color-navy-950: #000d10;
|
|
62
|
+
--color-navy-foreground: #ffffff;
|
|
63
|
+
--color-plum-50: #f8f4f6;
|
|
64
|
+
--color-plum-100: #ede2e8;
|
|
65
|
+
--color-plum-200: #dbc5d1;
|
|
66
|
+
--color-plum-300: #c9a8ba;
|
|
67
|
+
--color-plum-400: #b78ba3;
|
|
68
|
+
--color-plum-500: #a56e8c;
|
|
69
|
+
--color-plum-600: #7f4968;
|
|
70
|
+
--color-plum-700: #5e2c41;
|
|
71
|
+
--color-plum-800: #4b2334;
|
|
72
|
+
--color-plum-900: #381a27;
|
|
73
|
+
--color-plum-950: #1c0d13;
|
|
74
|
+
--color-plum-foreground: #ffffff;
|
|
75
|
+
--color-sage-50: #f7f7f5;
|
|
76
|
+
--color-sage-100: #eaebe6;
|
|
77
|
+
--color-sage-200: #dddfd5;
|
|
78
|
+
--color-sage-300: #d0d3c5;
|
|
79
|
+
--color-sage-400: #c3c7b5;
|
|
80
|
+
--color-sage-500: #b6baa4;
|
|
81
|
+
--color-sage-600: #969a82;
|
|
82
|
+
--color-sage-700: #757968;
|
|
83
|
+
--color-sage-800: #54574e;
|
|
84
|
+
--color-sage-900: #333634;
|
|
85
|
+
--color-sage-950: #1a1b1a;
|
|
86
|
+
--color-stone-50: #f7f7f7;
|
|
87
|
+
--color-stone-100: #ebebeb;
|
|
88
|
+
--color-stone-200: #d7d8d7;
|
|
89
|
+
--color-stone-300: #c3c5c3;
|
|
90
|
+
--color-stone-400: #afb2af;
|
|
91
|
+
--color-stone-500: #9b9f9b;
|
|
92
|
+
--color-stone-600: #878c87;
|
|
93
|
+
--color-stone-700: #676d69;
|
|
94
|
+
--color-stone-800: #4d524f;
|
|
95
|
+
--color-stone-900: #333735;
|
|
96
|
+
--color-stone-950: #1a1b1b;
|
|
97
|
+
--color-stone-foreground: #ffffff;
|
|
98
|
+
--color-forest-50: #f4f7f5;
|
|
99
|
+
--color-forest-100: #e1ebe4;
|
|
100
|
+
--color-forest-200: #c3d7c9;
|
|
101
|
+
--color-forest-300: #a5c3ae;
|
|
102
|
+
--color-forest-400: #87af93;
|
|
103
|
+
--color-forest-500: #6aa275;
|
|
104
|
+
--color-forest-600: #55825d;
|
|
105
|
+
--color-forest-700: #406146;
|
|
106
|
+
--color-forest-800: #2b412e;
|
|
107
|
+
--color-forest-900: #162017;
|
|
108
|
+
--color-forest-950: #0b100c;
|
|
109
|
+
--color-forest-foreground: #ffffff;
|
|
110
|
+
--color-lavender-50: #f7f6f8;
|
|
111
|
+
--color-lavender-100: #ece9ed;
|
|
112
|
+
--color-lavender-200: #d9d3db;
|
|
113
|
+
--color-lavender-300: #c6bdc9;
|
|
114
|
+
--color-lavender-400: #b3a7b7;
|
|
115
|
+
--color-lavender-500: #a091a5;
|
|
116
|
+
--color-lavender-600: #8d7b93;
|
|
117
|
+
--color-lavender-700: #695a75;
|
|
118
|
+
--color-lavender-800: #51445a;
|
|
119
|
+
--color-lavender-900: #392e3f;
|
|
120
|
+
--color-lavender-950: #1d1720;
|
|
121
|
+
--color-lavender-foreground: #ffffff;
|
|
122
|
+
--color-sky-50: #f4f8fb;
|
|
123
|
+
--color-sky-100: #e2ecf3;
|
|
124
|
+
--color-sky-200: #c5d9e7;
|
|
125
|
+
--color-sky-300: #a8c6db;
|
|
126
|
+
--color-sky-400: #8bb3cf;
|
|
127
|
+
--color-sky-500: #6ea0c3;
|
|
128
|
+
--color-sky-600: #5f91b8;
|
|
129
|
+
--color-sky-700: #4c7493;
|
|
130
|
+
--color-sky-800: #39576e;
|
|
131
|
+
--color-sky-900: #263a49;
|
|
132
|
+
--color-sky-950: #131d25;
|
|
133
|
+
--color-sky-foreground: #ffffff;
|
|
134
|
+
--color-deepTeal-50: #f2f5f5;
|
|
135
|
+
--color-deepTeal-100: #dce5e4;
|
|
136
|
+
--color-deepTeal-200: #b9cbc9;
|
|
137
|
+
--color-deepTeal-300: #96b1ae;
|
|
138
|
+
--color-deepTeal-400: #739793;
|
|
139
|
+
--color-deepTeal-500: #507d78;
|
|
140
|
+
--color-deepTeal-600: #306966;
|
|
141
|
+
--color-deepTeal-700: #244e4b;
|
|
142
|
+
--color-deepTeal-800: #18332f;
|
|
143
|
+
--color-deepTeal-900: #0c1918;
|
|
144
|
+
--color-deepTeal-950: #060c0c;
|
|
145
|
+
--color-deepTeal-foreground: #ffffff;
|
|
146
|
+
--color-charcoal-50: #fafafa;
|
|
147
|
+
--color-charcoal-100: #e6e6e6;
|
|
148
|
+
--color-charcoal-200: #cccccc;
|
|
149
|
+
--color-charcoal-300: #b3b3b3;
|
|
150
|
+
--color-charcoal-400: #999999;
|
|
151
|
+
--color-charcoal-500: #808080;
|
|
152
|
+
--color-charcoal-600: #666666;
|
|
153
|
+
--color-charcoal-700: #4d4d4d;
|
|
154
|
+
--color-charcoal-800: #333333;
|
|
155
|
+
--color-charcoal-900: #292424;
|
|
156
|
+
--color-charcoal-950: #141212;
|
|
157
|
+
--color-charcoal-foreground: #ffffff;
|
|
158
|
+
--color-border: hsl(var(--border));
|
|
159
|
+
--color-input: hsl(var(--input));
|
|
160
|
+
--color-ring: hsl(var(--ring));
|
|
161
|
+
--color-outline: hsl(var(--outline));
|
|
162
|
+
--color-outline-hover: hsl(var(--outline-hover));
|
|
163
|
+
--color-toolbar: hsl(var(--toolbar));
|
|
164
|
+
--color-toolbar-foreground: hsl(var(--toolbar-foreground));
|
|
165
|
+
--color-toolbar-muted: hsl(var(--toolbar-muted));
|
|
166
|
+
--color-toolbar-border: hsl(var(--toolbar-border));
|
|
167
|
+
--color-background: hsl(var(--background));
|
|
168
|
+
--color-background-hover: hsl(var(--background-hover));
|
|
169
|
+
--color-foreground: hsl(var(--foreground));
|
|
170
|
+
--color-primary: hsl(var(--primary));
|
|
171
|
+
--color-primary-foreground: hsl(var(--primary-foreground));
|
|
172
|
+
--color-primary-hover: hsl(var(--primary-hover));
|
|
173
|
+
--color-secondary: hsl(var(--secondary));
|
|
174
|
+
--color-secondary-foreground: hsl(var(--secondary-foreground));
|
|
175
|
+
--color-secondary-hover: hsl(var(--secondary-hover));
|
|
176
|
+
--color-secondary-border: hsl(var(--secondary-border));
|
|
177
|
+
--color-secondary-soft: hsl(var(--secondary-soft));
|
|
178
|
+
--color-destructive: hsl(var(--destructive));
|
|
179
|
+
--color-destructive-foreground: hsl(var(--destructive-foreground));
|
|
180
|
+
--color-destructive-hover: hsl(var(--destructive-hover));
|
|
181
|
+
--color-muted: hsl(var(--muted));
|
|
182
|
+
--color-muted-foreground: hsl(var(--muted-foreground));
|
|
183
|
+
--color-muted-hover: hsl(var(--muted-hover));
|
|
184
|
+
--color-accent: hsl(var(--accent));
|
|
185
|
+
--color-accent-foreground: hsl(var(--accent-foreground));
|
|
186
|
+
--color-accent-hover: hsl(var(--accent-hover));
|
|
187
|
+
--color-popover: hsl(var(--popover));
|
|
188
|
+
--color-popover-foreground: hsl(var(--popover-foreground));
|
|
189
|
+
--color-card: hsl(var(--card));
|
|
190
|
+
--color-card-foreground: hsl(var(--card-foreground));
|
|
191
|
+
--color-success: hsl(var(--success));
|
|
192
|
+
--color-success-foreground: hsl(var(--success-foreground));
|
|
193
|
+
--color-warning: hsl(var(--warning));
|
|
194
|
+
--color-warning-foreground: hsl(var(--warning-foreground));
|
|
195
|
+
--color-info: hsl(var(--info));
|
|
196
|
+
--color-info-foreground: hsl(var(--info-foreground));
|
|
197
|
+
--color-content-bg: hsl(var(--content-bg));
|
|
198
|
+
--color-surface-border: hsl(var(--surface-border));
|
|
199
|
+
--color-sidebar: hsl(var(--sidebar-background));
|
|
200
|
+
--color-sidebar-foreground: hsl(var(--sidebar-foreground));
|
|
201
|
+
--color-sidebar-primary: hsl(var(--sidebar-primary));
|
|
202
|
+
--color-sidebar-primary-foreground: hsl(var(--sidebar-primary-foreground));
|
|
203
|
+
--color-sidebar-accent: hsl(var(--sidebar-accent));
|
|
204
|
+
--color-sidebar-accent-foreground: hsl(var(--sidebar-accent-foreground));
|
|
205
|
+
--color-sidebar-accent-hover: hsl(var(--sidebar-accent-hover));
|
|
206
|
+
--color-sidebar-border: hsl(var(--sidebar-border));
|
|
207
|
+
--color-sidebar-ring: hsl(var(--sidebar-ring));
|
|
208
|
+
--color-chart-1: hsl(var(--chart-1));
|
|
209
|
+
--color-chart-2: hsl(var(--chart-2));
|
|
210
|
+
--color-chart-3: hsl(var(--chart-3));
|
|
211
|
+
--color-chart-4: hsl(var(--chart-4));
|
|
212
|
+
--color-chart-5: hsl(var(--chart-5));
|
|
213
|
+
--color-brand-red-logo: var(--color-red-logo);
|
|
214
|
+
--color-brand-red-primary: var(--color-red-primary);
|
|
215
|
+
--color-brand-grey-1: var(--color-grey-1);
|
|
216
|
+
--color-brand-grey-2: var(--color-grey-2);
|
|
217
|
+
--color-brand-core-1: var(--color-core-1);
|
|
218
|
+
--color-brand-core-2: var(--color-core-2);
|
|
219
|
+
--color-brand-core-3: var(--color-core-3);
|
|
220
|
+
--color-brand-core-4: var(--color-core-4);
|
|
221
|
+
--color-brand-core-4-tint: var(--color-core-4-tint);
|
|
222
|
+
--color-brand-collection-1: var(--color-collection-1);
|
|
223
|
+
--color-brand-collection-2: var(--color-collection-2);
|
|
224
|
+
--color-brand-collection-3: var(--color-collection-3);
|
|
225
|
+
--color-brand-collection-4: var(--color-collection-4);
|
|
226
|
+
--color-brand-collection-5: var(--color-collection-5);
|
|
227
|
+
--color-brand-collection-6: var(--color-collection-6);
|
|
228
|
+
--spacing: 0.25rem;
|
|
229
|
+
--font-sans:
|
|
230
|
+
Figtree, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
231
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
232
|
+
--font-serif: Spectral, ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
233
|
+
--font-mono:
|
|
234
|
+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
235
|
+
monospace;
|
|
236
|
+
--text-xs: 0.75rem;
|
|
237
|
+
--text-xs--line-height: 1rem;
|
|
238
|
+
--text-sm: 0.875rem;
|
|
239
|
+
--text-sm--line-height: 1.25rem;
|
|
240
|
+
--text-base: 1rem;
|
|
241
|
+
--text-base--line-height: 1.5rem;
|
|
242
|
+
--text-lg: 1.125rem;
|
|
243
|
+
--text-lg--line-height: 1.75rem;
|
|
244
|
+
--text-xl: 1.25rem;
|
|
245
|
+
--text-xl--line-height: 1.75rem;
|
|
246
|
+
--text-2xl: 1.5rem;
|
|
247
|
+
--text-2xl--line-height: 2rem;
|
|
248
|
+
--text-3xl: 1.875rem;
|
|
249
|
+
--text-3xl--line-height: 2.25rem;
|
|
250
|
+
--text-4xl: 2.25rem;
|
|
251
|
+
--text-4xl--line-height: 2.5rem;
|
|
252
|
+
--text-5xl: 3rem;
|
|
253
|
+
--text-5xl--line-height: 1;
|
|
254
|
+
--text-6xl: 3.75rem;
|
|
255
|
+
--text-6xl--line-height: 1;
|
|
256
|
+
--text-7xl: 4.5rem;
|
|
257
|
+
--text-7xl--line-height: 1;
|
|
258
|
+
--text-8xl: 6rem;
|
|
259
|
+
--text-8xl--line-height: 1;
|
|
260
|
+
--text-9xl: 8rem;
|
|
261
|
+
--text-9xl--line-height: 1;
|
|
262
|
+
--text-h1: 2.5rem;
|
|
263
|
+
--text-h1--line-height: 2.75rem;
|
|
264
|
+
--text-h1--font-weight: 500;
|
|
265
|
+
--text-h2: 1.75rem;
|
|
266
|
+
--text-h2--line-height: 2.25rem;
|
|
267
|
+
--text-h2--font-weight: 600;
|
|
268
|
+
--text-h3: 1.5rem;
|
|
269
|
+
--text-h3--line-height: 2rem;
|
|
270
|
+
--text-h3--font-weight: 600;
|
|
271
|
+
--text-h4: 1.25rem;
|
|
272
|
+
--text-h4--line-height: 1.75rem;
|
|
273
|
+
--text-h4--font-weight: 600;
|
|
274
|
+
--text-h5: 1.125rem;
|
|
275
|
+
--text-h5--line-height: 1.5rem;
|
|
276
|
+
--text-h5--font-weight: 600;
|
|
277
|
+
--text-h6: 1rem;
|
|
278
|
+
--text-h6--line-height: 1.5rem;
|
|
279
|
+
--text-h6--font-weight: 600;
|
|
280
|
+
--font-weight-thin: 100;
|
|
281
|
+
--font-weight-extralight: 200;
|
|
282
|
+
--font-weight-light: 300;
|
|
283
|
+
--font-weight-normal: 400;
|
|
284
|
+
--font-weight-medium: 500;
|
|
285
|
+
--font-weight-semibold: 600;
|
|
286
|
+
--font-weight-bold: 700;
|
|
287
|
+
--font-weight-extrabold: 800;
|
|
288
|
+
--font-weight-black: 900;
|
|
289
|
+
--radius-none: 0;
|
|
290
|
+
--radius-sm: 0.125rem;
|
|
291
|
+
--radius: 0.5rem;
|
|
292
|
+
--radius-md: 0.5rem;
|
|
293
|
+
--radius-lg: 0.75rem;
|
|
294
|
+
--radius-xl: 1rem;
|
|
295
|
+
--radius-2xl: 1.5rem;
|
|
296
|
+
--radius-3xl: 2rem;
|
|
297
|
+
--radius-full: 9999px;
|
|
298
|
+
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
299
|
+
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
300
|
+
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
301
|
+
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
302
|
+
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
303
|
+
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
304
|
+
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
305
|
+
--shadow-none: none;
|
|
306
|
+
--aspect-square: 1 / 1;
|
|
307
|
+
--aspect-video: 16 / 9;
|
|
308
|
+
--aspect-photo: 4 / 3;
|
|
309
|
+
--aspect-portrait: 3 / 4;
|
|
310
|
+
--aspect-wide: 21 / 9;
|
|
311
|
+
--breakpoint-sm: 640px;
|
|
312
|
+
--breakpoint-md: 768px;
|
|
313
|
+
--breakpoint-lg: 1024px;
|
|
314
|
+
--breakpoint-xl: 1280px;
|
|
315
|
+
--breakpoint-2xl: 1536px;
|
|
316
|
+
--ease-ease: ease;
|
|
317
|
+
--ease-easeIn: ease-in;
|
|
318
|
+
--ease-easeOut: ease-out;
|
|
319
|
+
--ease-easeInOut: ease-in-out;
|
|
320
|
+
--ease-linear: linear;
|
|
321
|
+
@keyframes accordion-down {
|
|
322
|
+
from {
|
|
323
|
+
height: 0;
|
|
324
|
+
}
|
|
325
|
+
to {
|
|
326
|
+
height: var(--radix-accordion-content-height);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
@keyframes accordion-up {
|
|
330
|
+
from {
|
|
331
|
+
height: var(--radix-accordion-content-height);
|
|
332
|
+
}
|
|
333
|
+
to {
|
|
334
|
+
height: 0;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
@keyframes collapsible-down {
|
|
338
|
+
from {
|
|
339
|
+
height: 0;
|
|
340
|
+
}
|
|
341
|
+
to {
|
|
342
|
+
height: var(--bits-collapsible-content-height);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
@keyframes collapsible-up {
|
|
346
|
+
from {
|
|
347
|
+
height: var(--bits-collapsible-content-height);
|
|
348
|
+
}
|
|
349
|
+
to {
|
|
350
|
+
height: 0;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
@keyframes fade-in {
|
|
354
|
+
from {
|
|
355
|
+
opacity: 0;
|
|
356
|
+
}
|
|
357
|
+
to {
|
|
358
|
+
opacity: 1;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
@keyframes fade-out {
|
|
362
|
+
from {
|
|
363
|
+
opacity: 1;
|
|
364
|
+
}
|
|
365
|
+
to {
|
|
366
|
+
opacity: 0;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
@keyframes slide-up {
|
|
370
|
+
from {
|
|
371
|
+
opacity: 0;
|
|
372
|
+
transform: translateY(10px);
|
|
373
|
+
}
|
|
374
|
+
to {
|
|
375
|
+
opacity: 1;
|
|
376
|
+
transform: translateY(0);
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
@keyframes slide-down {
|
|
380
|
+
from {
|
|
381
|
+
opacity: 0;
|
|
382
|
+
transform: translateY(-10px);
|
|
383
|
+
}
|
|
384
|
+
to {
|
|
385
|
+
opacity: 1;
|
|
386
|
+
transform: translateY(0);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
@keyframes slide-left {
|
|
390
|
+
from {
|
|
391
|
+
opacity: 0;
|
|
392
|
+
transform: translateX(10px);
|
|
393
|
+
}
|
|
394
|
+
to {
|
|
395
|
+
opacity: 1;
|
|
396
|
+
transform: translateX(0);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
@keyframes slide-right {
|
|
400
|
+
from {
|
|
401
|
+
opacity: 0;
|
|
402
|
+
transform: translateX(-10px);
|
|
403
|
+
}
|
|
404
|
+
to {
|
|
405
|
+
opacity: 1;
|
|
406
|
+
transform: translateX(0);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
@keyframes scale-in {
|
|
410
|
+
from {
|
|
411
|
+
opacity: 0;
|
|
412
|
+
transform: scale(0.95);
|
|
413
|
+
}
|
|
414
|
+
to {
|
|
415
|
+
opacity: 1;
|
|
416
|
+
transform: scale(1);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
@keyframes scale-out {
|
|
420
|
+
from {
|
|
421
|
+
opacity: 1;
|
|
422
|
+
transform: scale(1);
|
|
423
|
+
}
|
|
424
|
+
to {
|
|
425
|
+
opacity: 0;
|
|
426
|
+
transform: scale(0.95);
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
@keyframes spin-slow {
|
|
430
|
+
from {
|
|
431
|
+
transform: rotate(0deg);
|
|
432
|
+
}
|
|
433
|
+
to {
|
|
434
|
+
transform: rotate(360deg);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
@keyframes pulse-subtle {
|
|
438
|
+
0%,
|
|
439
|
+
100% {
|
|
440
|
+
opacity: 1;
|
|
441
|
+
}
|
|
442
|
+
50% {
|
|
443
|
+
opacity: 0.7;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
@keyframes progress-indeterminate {
|
|
447
|
+
0% {
|
|
448
|
+
transform: translateX(-100%);
|
|
449
|
+
}
|
|
450
|
+
100% {
|
|
451
|
+
transform: translateX(400%);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
@keyframes shimmer {
|
|
455
|
+
0% {
|
|
456
|
+
background-position: -200% 0;
|
|
457
|
+
}
|
|
458
|
+
100% {
|
|
459
|
+
background-position: 200% 0;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
@keyframes trace {
|
|
463
|
+
to {
|
|
464
|
+
stroke-dashoffset: -14;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
@keyframes panel-slide-in-left {
|
|
468
|
+
from {
|
|
469
|
+
opacity: 0;
|
|
470
|
+
transform: translateX(-100%);
|
|
471
|
+
}
|
|
472
|
+
to {
|
|
473
|
+
opacity: 1;
|
|
474
|
+
transform: translateX(0);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
@keyframes panel-slide-out-left {
|
|
478
|
+
from {
|
|
479
|
+
opacity: 1;
|
|
480
|
+
transform: translateX(0);
|
|
481
|
+
}
|
|
482
|
+
to {
|
|
483
|
+
opacity: 0;
|
|
484
|
+
transform: translateX(-100%);
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
@keyframes panel-slide-in-right {
|
|
488
|
+
from {
|
|
489
|
+
opacity: 0;
|
|
490
|
+
transform: translateX(100%);
|
|
491
|
+
}
|
|
492
|
+
to {
|
|
493
|
+
opacity: 1;
|
|
494
|
+
transform: translateX(0);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
@keyframes panel-slide-out-right {
|
|
498
|
+
from {
|
|
499
|
+
opacity: 1;
|
|
500
|
+
transform: translateX(0);
|
|
501
|
+
}
|
|
502
|
+
to {
|
|
503
|
+
opacity: 0;
|
|
504
|
+
transform: translateX(100%);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
@keyframes panel-slide-in-top {
|
|
508
|
+
from {
|
|
509
|
+
opacity: 0;
|
|
510
|
+
transform: translateY(-100%);
|
|
511
|
+
}
|
|
512
|
+
to {
|
|
513
|
+
opacity: 1;
|
|
514
|
+
transform: translateY(0);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
@keyframes panel-slide-out-top {
|
|
518
|
+
from {
|
|
519
|
+
opacity: 1;
|
|
520
|
+
transform: translateY(0);
|
|
521
|
+
}
|
|
522
|
+
to {
|
|
523
|
+
opacity: 0;
|
|
524
|
+
transform: translateY(-100%);
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
@keyframes panel-slide-in-bottom {
|
|
528
|
+
from {
|
|
529
|
+
opacity: 0;
|
|
530
|
+
transform: translateY(100%);
|
|
531
|
+
}
|
|
532
|
+
to {
|
|
533
|
+
opacity: 1;
|
|
534
|
+
transform: translateY(0);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
@keyframes panel-slide-out-bottom {
|
|
538
|
+
from {
|
|
539
|
+
opacity: 1;
|
|
540
|
+
transform: translateY(0);
|
|
541
|
+
}
|
|
542
|
+
to {
|
|
543
|
+
opacity: 0;
|
|
544
|
+
transform: translateY(100%);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
@keyframes panel-detach {
|
|
548
|
+
from {
|
|
549
|
+
opacity: 0;
|
|
550
|
+
transform: scale(0.95);
|
|
551
|
+
}
|
|
552
|
+
to {
|
|
553
|
+
opacity: 1;
|
|
554
|
+
transform: scale(1);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
@keyframes panel-attach {
|
|
558
|
+
from {
|
|
559
|
+
opacity: 1;
|
|
560
|
+
transform: scale(1);
|
|
561
|
+
}
|
|
562
|
+
to {
|
|
563
|
+
opacity: 0;
|
|
564
|
+
transform: scale(0.95);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
@keyframes panel-collapse {
|
|
568
|
+
from {
|
|
569
|
+
height: var(--panel-content-height);
|
|
570
|
+
opacity: 1;
|
|
571
|
+
}
|
|
572
|
+
to {
|
|
573
|
+
height: 0;
|
|
574
|
+
opacity: 0;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
@keyframes panel-expand {
|
|
578
|
+
from {
|
|
579
|
+
height: 0;
|
|
580
|
+
opacity: 0;
|
|
581
|
+
}
|
|
582
|
+
to {
|
|
583
|
+
height: var(--panel-content-height);
|
|
584
|
+
opacity: 1;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
--animate-accordion-down: accordion-down 200ms ease-out;
|
|
588
|
+
--animate-accordion-up: accordion-up 200ms ease-out;
|
|
589
|
+
--animate-collapsible-down: collapsible-down 200ms ease-out;
|
|
590
|
+
--animate-collapsible-up: collapsible-up 200ms ease-out;
|
|
591
|
+
--animate-fade-in: fade-in 200ms ease-out;
|
|
592
|
+
--animate-fade-out: fade-out 200ms ease-out;
|
|
593
|
+
--animate-slide-up: slide-up 200ms ease-out;
|
|
594
|
+
--animate-slide-down: slide-down 200ms ease-out;
|
|
595
|
+
--animate-slide-left: slide-left 200ms ease-out;
|
|
596
|
+
--animate-slide-right: slide-right 200ms ease-out;
|
|
597
|
+
--animate-scale-in: scale-in 200ms ease-out;
|
|
598
|
+
--animate-scale-out: scale-out 200ms ease-out;
|
|
599
|
+
--animate-spin-slow: spin-slow 2s linear infinite;
|
|
600
|
+
--animate-pulse-subtle: pulse-subtle 500ms cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
601
|
+
--animate-progress-indeterminate: progress-indeterminate 1.5s ease-in-out infinite;
|
|
602
|
+
--animate-shimmer: shimmer 2s linear infinite;
|
|
603
|
+
--animate-trace: trace 500ms linear infinite;
|
|
604
|
+
--animate-panel-slide-in-left: panel-slide-in-left 200ms ease-out;
|
|
605
|
+
--animate-panel-slide-out-left: panel-slide-out-left 200ms ease-out;
|
|
606
|
+
--animate-panel-slide-in-right: panel-slide-in-right 200ms ease-out;
|
|
607
|
+
--animate-panel-slide-out-right: panel-slide-out-right 200ms ease-out;
|
|
608
|
+
--animate-panel-slide-in-top: panel-slide-in-top 200ms ease-out;
|
|
609
|
+
--animate-panel-slide-out-top: panel-slide-out-top 200ms ease-out;
|
|
610
|
+
--animate-panel-slide-in-bottom: panel-slide-in-bottom 200ms ease-out;
|
|
611
|
+
--animate-panel-slide-out-bottom: panel-slide-out-bottom 200ms ease-out;
|
|
612
|
+
--animate-panel-detach: panel-detach 200ms ease-out;
|
|
613
|
+
--animate-panel-attach: panel-attach 200ms ease-out;
|
|
614
|
+
--animate-panel-collapse: panel-collapse 200ms ease-out;
|
|
615
|
+
--animate-panel-expand: panel-expand 200ms ease-out;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
@utility container {
|
|
619
|
+
width: 100%;
|
|
620
|
+
margin-inline: auto;
|
|
621
|
+
padding-inline: 1rem;
|
|
622
|
+
@media (width >= 640px) {
|
|
623
|
+
max-width: 640px;
|
|
624
|
+
padding-inline: 2rem;
|
|
625
|
+
}
|
|
626
|
+
@media (width >= 768px) {
|
|
627
|
+
max-width: 768px;
|
|
628
|
+
}
|
|
629
|
+
@media (width >= 1024px) {
|
|
630
|
+
max-width: 1024px;
|
|
631
|
+
padding-inline: 4rem;
|
|
632
|
+
}
|
|
633
|
+
@media (width >= 1280px) {
|
|
634
|
+
max-width: 1280px;
|
|
635
|
+
padding-inline: 5rem;
|
|
636
|
+
}
|
|
637
|
+
@media (width >= 1400px) {
|
|
638
|
+
max-width: 1400px;
|
|
639
|
+
padding-inline: 6rem;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
@utility duration-fast {
|
|
644
|
+
--tw-duration: 150ms;
|
|
645
|
+
transition-duration: 150ms;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
@utility duration-base {
|
|
649
|
+
--tw-duration: 200ms;
|
|
650
|
+
transition-duration: 200ms;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
@utility duration-slow {
|
|
654
|
+
--tw-duration: 300ms;
|
|
655
|
+
transition-duration: 300ms;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
@utility duration-slower {
|
|
659
|
+
--tw-duration: 500ms;
|
|
660
|
+
transition-duration: 500ms;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
@utility tap-target {
|
|
664
|
+
&:not(.absolute):not(.fixed):not(.sticky) {
|
|
665
|
+
position: relative;
|
|
666
|
+
}
|
|
667
|
+
@media (pointer: coarse) {
|
|
668
|
+
&::after {
|
|
669
|
+
content: '';
|
|
670
|
+
position: absolute;
|
|
671
|
+
top: 50%;
|
|
672
|
+
left: 50%;
|
|
673
|
+
width: max(100%, 44px);
|
|
674
|
+
height: max(100%, 44px);
|
|
675
|
+
transform: translate(-50%, -50%);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/* Enter/exit animations: the subset of tw-animate-css (MIT) that the theme
|
|
681
|
+
components use - `animate-in`/`animate-out` composed with `fade-*`,
|
|
682
|
+
`zoom-*` and `slide-in-from-*`/`slide-out-to-*`. Tailwind 3 apps get these
|
|
683
|
+
classes from tailwindcss-animate if they install it. */
|
|
684
|
+
@property --tw-enter-opacity {
|
|
685
|
+
syntax: '*';
|
|
686
|
+
inherits: false;
|
|
687
|
+
initial-value: 1;
|
|
688
|
+
}
|
|
689
|
+
@property --tw-enter-scale {
|
|
690
|
+
syntax: '*';
|
|
691
|
+
inherits: false;
|
|
692
|
+
initial-value: 1;
|
|
693
|
+
}
|
|
694
|
+
@property --tw-enter-translate-x {
|
|
695
|
+
syntax: '*';
|
|
696
|
+
inherits: false;
|
|
697
|
+
initial-value: 0;
|
|
698
|
+
}
|
|
699
|
+
@property --tw-enter-translate-y {
|
|
700
|
+
syntax: '*';
|
|
701
|
+
inherits: false;
|
|
702
|
+
initial-value: 0;
|
|
703
|
+
}
|
|
704
|
+
@property --tw-exit-opacity {
|
|
705
|
+
syntax: '*';
|
|
706
|
+
inherits: false;
|
|
707
|
+
initial-value: 1;
|
|
708
|
+
}
|
|
709
|
+
@property --tw-exit-scale {
|
|
710
|
+
syntax: '*';
|
|
711
|
+
inherits: false;
|
|
712
|
+
initial-value: 1;
|
|
713
|
+
}
|
|
714
|
+
@property --tw-exit-translate-x {
|
|
715
|
+
syntax: '*';
|
|
716
|
+
inherits: false;
|
|
717
|
+
initial-value: 0;
|
|
718
|
+
}
|
|
719
|
+
@property --tw-exit-translate-y {
|
|
720
|
+
syntax: '*';
|
|
721
|
+
inherits: false;
|
|
722
|
+
initial-value: 0;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
@keyframes enter {
|
|
726
|
+
from {
|
|
727
|
+
opacity: var(--tw-enter-opacity, 1);
|
|
728
|
+
transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0)
|
|
729
|
+
scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1));
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
@keyframes exit {
|
|
734
|
+
to {
|
|
735
|
+
opacity: var(--tw-exit-opacity, 1);
|
|
736
|
+
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0)
|
|
737
|
+
scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1));
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
@utility animate-in {
|
|
742
|
+
animation: enter var(--tw-duration, 150ms) var(--tw-ease, ease) both;
|
|
743
|
+
}
|
|
744
|
+
@utility animate-out {
|
|
745
|
+
animation: exit var(--tw-duration, 150ms) var(--tw-ease, ease) both;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
@utility fade-in-* {
|
|
749
|
+
--tw-enter-opacity: calc(--value(number) / 100);
|
|
750
|
+
--tw-enter-opacity: --value([number]);
|
|
751
|
+
}
|
|
752
|
+
@utility fade-out-* {
|
|
753
|
+
--tw-exit-opacity: calc(--value(number) / 100);
|
|
754
|
+
--tw-exit-opacity: --value([number]);
|
|
755
|
+
}
|
|
756
|
+
@utility zoom-in-* {
|
|
757
|
+
--tw-enter-scale: calc(--value(number) / 100);
|
|
758
|
+
--tw-enter-scale: --value([number]);
|
|
759
|
+
}
|
|
760
|
+
@utility zoom-out-* {
|
|
761
|
+
--tw-exit-scale: calc(--value(number) / 100);
|
|
762
|
+
--tw-exit-scale: --value([number]);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
@utility slide-in-from-top {
|
|
766
|
+
--tw-enter-translate-y: -100%;
|
|
767
|
+
}
|
|
768
|
+
@utility slide-in-from-bottom {
|
|
769
|
+
--tw-enter-translate-y: 100%;
|
|
770
|
+
}
|
|
771
|
+
@utility slide-in-from-left {
|
|
772
|
+
--tw-enter-translate-x: -100%;
|
|
773
|
+
}
|
|
774
|
+
@utility slide-in-from-right {
|
|
775
|
+
--tw-enter-translate-x: 100%;
|
|
776
|
+
}
|
|
777
|
+
@utility slide-out-to-top {
|
|
778
|
+
--tw-exit-translate-y: -100%;
|
|
779
|
+
}
|
|
780
|
+
@utility slide-out-to-bottom {
|
|
781
|
+
--tw-exit-translate-y: 100%;
|
|
782
|
+
}
|
|
783
|
+
@utility slide-out-to-left {
|
|
784
|
+
--tw-exit-translate-x: -100%;
|
|
785
|
+
}
|
|
786
|
+
@utility slide-out-to-right {
|
|
787
|
+
--tw-exit-translate-x: 100%;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
@utility slide-in-from-top-* {
|
|
791
|
+
--tw-enter-translate-y: calc(--value(integer) * var(--spacing) * -1);
|
|
792
|
+
--tw-enter-translate-y: calc(--value([percentage], [length]) * -1);
|
|
793
|
+
}
|
|
794
|
+
@utility slide-in-from-bottom-* {
|
|
795
|
+
--tw-enter-translate-y: calc(--value(integer) * var(--spacing));
|
|
796
|
+
--tw-enter-translate-y: --value([percentage], [length]);
|
|
797
|
+
}
|
|
798
|
+
@utility slide-in-from-left-* {
|
|
799
|
+
--tw-enter-translate-x: calc(--value(integer) * var(--spacing) * -1);
|
|
800
|
+
--tw-enter-translate-x: calc(--value([percentage], [length]) * -1);
|
|
801
|
+
}
|
|
802
|
+
@utility slide-in-from-right-* {
|
|
803
|
+
--tw-enter-translate-x: calc(--value(integer) * var(--spacing));
|
|
804
|
+
--tw-enter-translate-x: --value([percentage], [length]);
|
|
805
|
+
}
|
|
806
|
+
@utility slide-out-to-top-* {
|
|
807
|
+
--tw-exit-translate-y: calc(--value(integer) * var(--spacing) * -1);
|
|
808
|
+
--tw-exit-translate-y: calc(--value([percentage], [length]) * -1);
|
|
809
|
+
}
|
|
810
|
+
@utility slide-out-to-bottom-* {
|
|
811
|
+
--tw-exit-translate-y: calc(--value(integer) * var(--spacing));
|
|
812
|
+
--tw-exit-translate-y: --value([percentage], [length]);
|
|
813
|
+
}
|
|
814
|
+
@utility slide-out-to-left-* {
|
|
815
|
+
--tw-exit-translate-x: calc(--value(integer) * var(--spacing) * -1);
|
|
816
|
+
--tw-exit-translate-x: calc(--value([percentage], [length]) * -1);
|
|
817
|
+
}
|
|
818
|
+
@utility slide-out-to-right-* {
|
|
819
|
+
--tw-exit-translate-x: calc(--value(integer) * var(--spacing));
|
|
820
|
+
--tw-exit-translate-x: --value([percentage], [length]);
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
@layer base {
|
|
824
|
+
h1 {
|
|
825
|
+
font-family: var(
|
|
826
|
+
--font-serif,
|
|
827
|
+
Spectral,
|
|
828
|
+
ui-serif,
|
|
829
|
+
Georgia,
|
|
830
|
+
Cambria,
|
|
831
|
+
'Times New Roman',
|
|
832
|
+
Times,
|
|
833
|
+
serif
|
|
834
|
+
);
|
|
835
|
+
font-style: italic;
|
|
836
|
+
font-size: 2.5rem;
|
|
837
|
+
line-height: 2.75rem;
|
|
838
|
+
font-weight: 500;
|
|
839
|
+
}
|
|
840
|
+
h2 {
|
|
841
|
+
font-family: var(
|
|
842
|
+
--font-sans,
|
|
843
|
+
Figtree,
|
|
844
|
+
ui-sans-serif,
|
|
845
|
+
system-ui,
|
|
846
|
+
-apple-system,
|
|
847
|
+
BlinkMacSystemFont,
|
|
848
|
+
'Segoe UI',
|
|
849
|
+
Roboto,
|
|
850
|
+
'Helvetica Neue',
|
|
851
|
+
Arial,
|
|
852
|
+
sans-serif
|
|
853
|
+
);
|
|
854
|
+
font-size: 1.75rem;
|
|
855
|
+
line-height: 2.25rem;
|
|
856
|
+
font-weight: 600;
|
|
857
|
+
}
|
|
858
|
+
h3 {
|
|
859
|
+
font-family: var(
|
|
860
|
+
--font-sans,
|
|
861
|
+
Figtree,
|
|
862
|
+
ui-sans-serif,
|
|
863
|
+
system-ui,
|
|
864
|
+
-apple-system,
|
|
865
|
+
BlinkMacSystemFont,
|
|
866
|
+
'Segoe UI',
|
|
867
|
+
Roboto,
|
|
868
|
+
'Helvetica Neue',
|
|
869
|
+
Arial,
|
|
870
|
+
sans-serif
|
|
871
|
+
);
|
|
872
|
+
font-size: 1.5rem;
|
|
873
|
+
line-height: 2rem;
|
|
874
|
+
font-weight: 600;
|
|
875
|
+
}
|
|
876
|
+
h4 {
|
|
877
|
+
font-family: var(
|
|
878
|
+
--font-sans,
|
|
879
|
+
Figtree,
|
|
880
|
+
ui-sans-serif,
|
|
881
|
+
system-ui,
|
|
882
|
+
-apple-system,
|
|
883
|
+
BlinkMacSystemFont,
|
|
884
|
+
'Segoe UI',
|
|
885
|
+
Roboto,
|
|
886
|
+
'Helvetica Neue',
|
|
887
|
+
Arial,
|
|
888
|
+
sans-serif
|
|
889
|
+
);
|
|
890
|
+
font-size: 1.25rem;
|
|
891
|
+
line-height: 1.75rem;
|
|
892
|
+
font-weight: 600;
|
|
893
|
+
}
|
|
894
|
+
h5 {
|
|
895
|
+
font-family: var(
|
|
896
|
+
--font-sans,
|
|
897
|
+
Figtree,
|
|
898
|
+
ui-sans-serif,
|
|
899
|
+
system-ui,
|
|
900
|
+
-apple-system,
|
|
901
|
+
BlinkMacSystemFont,
|
|
902
|
+
'Segoe UI',
|
|
903
|
+
Roboto,
|
|
904
|
+
'Helvetica Neue',
|
|
905
|
+
Arial,
|
|
906
|
+
sans-serif
|
|
907
|
+
);
|
|
908
|
+
font-size: 1.125rem;
|
|
909
|
+
line-height: 1.5rem;
|
|
910
|
+
font-weight: 600;
|
|
911
|
+
}
|
|
912
|
+
h6 {
|
|
913
|
+
font-family: var(
|
|
914
|
+
--font-sans,
|
|
915
|
+
Figtree,
|
|
916
|
+
ui-sans-serif,
|
|
917
|
+
system-ui,
|
|
918
|
+
-apple-system,
|
|
919
|
+
BlinkMacSystemFont,
|
|
920
|
+
'Segoe UI',
|
|
921
|
+
Roboto,
|
|
922
|
+
'Helvetica Neue',
|
|
923
|
+
Arial,
|
|
924
|
+
sans-serif
|
|
925
|
+
);
|
|
926
|
+
font-size: 1rem;
|
|
927
|
+
line-height: 1.5rem;
|
|
928
|
+
font-weight: 600;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
fieldset {
|
|
932
|
+
min-width: 0;
|
|
933
|
+
}
|
|
934
|
+
@media (pointer: coarse) {
|
|
935
|
+
summary {
|
|
936
|
+
padding-top: 0.5rem;
|
|
937
|
+
padding-bottom: 0.5rem;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/* What theme-styles base.css gives a Tailwind 3 app that Tailwind 4 alone
|
|
942
|
+
does not: page colours, and the Tailwind 3 preflight defaults our
|
|
943
|
+
components were drawn against. */
|
|
944
|
+
html {
|
|
945
|
+
-webkit-font-smoothing: antialiased;
|
|
946
|
+
-moz-osx-font-smoothing: grayscale;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
body {
|
|
950
|
+
color: hsl(var(--foreground));
|
|
951
|
+
background-color: hsl(var(--background));
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/* Tailwind 3 borders default to gray-200; Tailwind 4 uses currentColor. */
|
|
955
|
+
*,
|
|
956
|
+
::after,
|
|
957
|
+
::before,
|
|
958
|
+
::backdrop,
|
|
959
|
+
::file-selector-button {
|
|
960
|
+
border-color: --theme(--color-gray-200, currentColor);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/* Tailwind 3 placeholders are gray-400; Tailwind 4 uses 50% currentColor. */
|
|
964
|
+
input::placeholder,
|
|
965
|
+
textarea::placeholder {
|
|
966
|
+
color: --theme(--color-gray-400, currentColor);
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/* Tailwind 3 shows a pointer on buttons; Tailwind 4 keeps the default cursor. */
|
|
970
|
+
button:not(:disabled),
|
|
971
|
+
[role='button']:not(:disabled) {
|
|
972
|
+
cursor: pointer;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/* Tailwind 3 dialogs have no margin reset; Tailwind 4 preflight resets it. */
|
|
976
|
+
dialog {
|
|
977
|
+
margin: auto;
|
|
978
|
+
}
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
@layer components {
|
|
982
|
+
.skip-link {
|
|
983
|
+
position: absolute;
|
|
984
|
+
top: -100%;
|
|
985
|
+
left: 0;
|
|
986
|
+
background-color: hsl(var(--primary));
|
|
987
|
+
color: hsl(var(--primary-foreground));
|
|
988
|
+
padding: 0.75rem 1rem;
|
|
989
|
+
z-index: 9999;
|
|
990
|
+
font-weight: 600;
|
|
991
|
+
text-decoration: none;
|
|
992
|
+
border-radius: 0 0 var(--radius) 0;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.skip-link:focus {
|
|
996
|
+
top: 0;
|
|
997
|
+
outline: none;
|
|
998
|
+
}
|
|
999
|
+
}
|