tailwindcss 4.0.0-alpha.2 → 4.0.0-alpha.21

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/index.css CHANGED
@@ -1,5 +1,827 @@
1
1
  @layer theme, base, components, utilities;
2
+ @layer theme {
3
+ @theme {
4
+ /* Defaults */
5
+ --default-transition-duration: 150ms;
6
+ --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
7
+ --default-font-family: var(--font-family-sans);
8
+ --default-font-feature-settings: var(
9
+ --font-family-sans--font-feature-settings
10
+ );
11
+ --default-font-variation-settings: var(
12
+ --font-family-sans--font-variation-settings
13
+ );
14
+ --default-mono-font-family: var(--font-family-mono);
15
+ --default-mono-font-feature-settings: var(
16
+ --font-family-mono--font-feature-settings
17
+ );
18
+ --default-mono-font-variation-settings: var(
19
+ --font-family-mono--font-variation-settings
20
+ );
2
21
 
3
- @import './theme.css' layer(theme);
4
- @import './preflight.css' layer(base);
5
- @import './utilities.css' layer(utilities);
22
+ /* Breakpoints */
23
+ --breakpoint-sm: 40rem;
24
+ --breakpoint-md: 48rem;
25
+ --breakpoint-lg: 64rem;
26
+ --breakpoint-xl: 80rem;
27
+ --breakpoint-2xl: 96rem;
28
+
29
+ /* Colors */
30
+ --color-black: #000;
31
+ --color-white: #fff;
32
+ --color-slate-50: #f8fafc;
33
+ --color-slate-100: #f1f5f9;
34
+ --color-slate-200: #e2e8f0;
35
+ --color-slate-300: #cbd5e1;
36
+ --color-slate-400: #94a3b8;
37
+ --color-slate-500: #64748b;
38
+ --color-slate-600: #475569;
39
+ --color-slate-700: #334155;
40
+ --color-slate-800: #1e293b;
41
+ --color-slate-900: #0f172a;
42
+ --color-slate-950: #020617;
43
+ --color-gray-50: #f9fafb;
44
+ --color-gray-100: #f3f4f6;
45
+ --color-gray-200: #e5e7eb;
46
+ --color-gray-300: #d1d5db;
47
+ --color-gray-400: #9ca3af;
48
+ --color-gray-500: #6b7280;
49
+ --color-gray-600: #4b5563;
50
+ --color-gray-700: #374151;
51
+ --color-gray-800: #1f2937;
52
+ --color-gray-900: #111827;
53
+ --color-gray-950: #030712;
54
+ --color-zinc-50: #fafafa;
55
+ --color-zinc-100: #f4f4f5;
56
+ --color-zinc-200: #e4e4e7;
57
+ --color-zinc-300: #d4d4d8;
58
+ --color-zinc-400: #a1a1aa;
59
+ --color-zinc-500: #71717a;
60
+ --color-zinc-600: #52525b;
61
+ --color-zinc-700: #3f3f46;
62
+ --color-zinc-800: #27272a;
63
+ --color-zinc-900: #18181b;
64
+ --color-zinc-950: #09090b;
65
+ --color-neutral-50: #fafafa;
66
+ --color-neutral-100: #f5f5f5;
67
+ --color-neutral-200: #e5e5e5;
68
+ --color-neutral-300: #d4d4d4;
69
+ --color-neutral-400: #a3a3a3;
70
+ --color-neutral-500: #737373;
71
+ --color-neutral-600: #525252;
72
+ --color-neutral-700: #404040;
73
+ --color-neutral-800: #262626;
74
+ --color-neutral-900: #171717;
75
+ --color-neutral-950: #0a0a0a;
76
+ --color-stone-50: #fafaf9;
77
+ --color-stone-100: #f5f5f4;
78
+ --color-stone-200: #e7e5e4;
79
+ --color-stone-300: #d6d3d1;
80
+ --color-stone-400: #a8a29e;
81
+ --color-stone-500: #78716c;
82
+ --color-stone-600: #57534e;
83
+ --color-stone-700: #44403c;
84
+ --color-stone-800: #292524;
85
+ --color-stone-900: #1c1917;
86
+ --color-stone-950: #0c0a09;
87
+ --color-red-50: #fef2f2;
88
+ --color-red-100: #fee2e2;
89
+ --color-red-200: #fecaca;
90
+ --color-red-300: #fca5a5;
91
+ --color-red-400: #f87171;
92
+ --color-red-500: #ef4444;
93
+ --color-red-600: #dc2626;
94
+ --color-red-700: #b91c1c;
95
+ --color-red-800: #991b1b;
96
+ --color-red-900: #7f1d1d;
97
+ --color-red-950: #450a0a;
98
+ --color-orange-50: #fff7ed;
99
+ --color-orange-100: #ffedd5;
100
+ --color-orange-200: #fed7aa;
101
+ --color-orange-300: #fdba74;
102
+ --color-orange-400: #fb923c;
103
+ --color-orange-500: #f97316;
104
+ --color-orange-600: #ea580c;
105
+ --color-orange-700: #c2410c;
106
+ --color-orange-800: #9a3412;
107
+ --color-orange-900: #7c2d12;
108
+ --color-orange-950: #431407;
109
+ --color-amber-50: #fffbeb;
110
+ --color-amber-100: #fef3c7;
111
+ --color-amber-200: #fde68a;
112
+ --color-amber-300: #fcd34d;
113
+ --color-amber-400: #fbbf24;
114
+ --color-amber-500: #f59e0b;
115
+ --color-amber-600: #d97706;
116
+ --color-amber-700: #b45309;
117
+ --color-amber-800: #92400e;
118
+ --color-amber-900: #78350f;
119
+ --color-amber-950: #451a03;
120
+ --color-yellow-50: #fefce8;
121
+ --color-yellow-100: #fef9c3;
122
+ --color-yellow-200: #fef08a;
123
+ --color-yellow-300: #fde047;
124
+ --color-yellow-400: #facc15;
125
+ --color-yellow-500: #eab308;
126
+ --color-yellow-600: #ca8a04;
127
+ --color-yellow-700: #a16207;
128
+ --color-yellow-800: #854d0e;
129
+ --color-yellow-900: #713f12;
130
+ --color-yellow-950: #422006;
131
+ --color-lime-50: #f7fee7;
132
+ --color-lime-100: #ecfccb;
133
+ --color-lime-200: #d9f99d;
134
+ --color-lime-300: #bef264;
135
+ --color-lime-400: #a3e635;
136
+ --color-lime-500: #84cc16;
137
+ --color-lime-600: #65a30d;
138
+ --color-lime-700: #4d7c0f;
139
+ --color-lime-800: #3f6212;
140
+ --color-lime-900: #365314;
141
+ --color-lime-950: #1a2e05;
142
+ --color-green-50: #f0fdf4;
143
+ --color-green-100: #dcfce7;
144
+ --color-green-200: #bbf7d0;
145
+ --color-green-300: #86efac;
146
+ --color-green-400: #4ade80;
147
+ --color-green-500: #22c55e;
148
+ --color-green-600: #16a34a;
149
+ --color-green-700: #15803d;
150
+ --color-green-800: #166534;
151
+ --color-green-900: #14532d;
152
+ --color-green-950: #052e16;
153
+ --color-emerald-50: #ecfdf5;
154
+ --color-emerald-100: #d1fae5;
155
+ --color-emerald-200: #a7f3d0;
156
+ --color-emerald-300: #6ee7b7;
157
+ --color-emerald-400: #34d399;
158
+ --color-emerald-500: #10b981;
159
+ --color-emerald-600: #059669;
160
+ --color-emerald-700: #047857;
161
+ --color-emerald-800: #065f46;
162
+ --color-emerald-900: #064e3b;
163
+ --color-emerald-950: #022c22;
164
+ --color-teal-50: #f0fdfa;
165
+ --color-teal-100: #ccfbf1;
166
+ --color-teal-200: #99f6e4;
167
+ --color-teal-300: #5eead4;
168
+ --color-teal-400: #2dd4bf;
169
+ --color-teal-500: #14b8a6;
170
+ --color-teal-600: #0d9488;
171
+ --color-teal-700: #0f766e;
172
+ --color-teal-800: #115e59;
173
+ --color-teal-900: #134e4a;
174
+ --color-teal-950: #042f2e;
175
+ --color-cyan-50: #ecfeff;
176
+ --color-cyan-100: #cffafe;
177
+ --color-cyan-200: #a5f3fc;
178
+ --color-cyan-300: #67e8f9;
179
+ --color-cyan-400: #22d3ee;
180
+ --color-cyan-500: #06b6d4;
181
+ --color-cyan-600: #0891b2;
182
+ --color-cyan-700: #0e7490;
183
+ --color-cyan-800: #155e75;
184
+ --color-cyan-900: #164e63;
185
+ --color-cyan-950: #083344;
186
+ --color-sky-50: #f0f9ff;
187
+ --color-sky-100: #e0f2fe;
188
+ --color-sky-200: #bae6fd;
189
+ --color-sky-300: #7dd3fc;
190
+ --color-sky-400: #38bdf8;
191
+ --color-sky-500: #0ea5e9;
192
+ --color-sky-600: #0284c7;
193
+ --color-sky-700: #0369a1;
194
+ --color-sky-800: #075985;
195
+ --color-sky-900: #0c4a6e;
196
+ --color-sky-950: #082f49;
197
+ --color-blue-50: #eff6ff;
198
+ --color-blue-100: #dbeafe;
199
+ --color-blue-200: #bfdbfe;
200
+ --color-blue-300: #93c5fd;
201
+ --color-blue-400: #60a5fa;
202
+ --color-blue-500: #3b82f6;
203
+ --color-blue-600: #2563eb;
204
+ --color-blue-700: #1d4ed8;
205
+ --color-blue-800: #1e40af;
206
+ --color-blue-900: #1e3a8a;
207
+ --color-blue-950: #172554;
208
+ --color-indigo-50: #eef2ff;
209
+ --color-indigo-100: #e0e7ff;
210
+ --color-indigo-200: #c7d2fe;
211
+ --color-indigo-300: #a5b4fc;
212
+ --color-indigo-400: #818cf8;
213
+ --color-indigo-500: #6366f1;
214
+ --color-indigo-600: #4f46e5;
215
+ --color-indigo-700: #4338ca;
216
+ --color-indigo-800: #3730a3;
217
+ --color-indigo-900: #312e81;
218
+ --color-indigo-950: #1e1b4b;
219
+ --color-violet-50: #f5f3ff;
220
+ --color-violet-100: #ede9fe;
221
+ --color-violet-200: #ddd6fe;
222
+ --color-violet-300: #c4b5fd;
223
+ --color-violet-400: #a78bfa;
224
+ --color-violet-500: #8b5cf6;
225
+ --color-violet-600: #7c3aed;
226
+ --color-violet-700: #6d28d9;
227
+ --color-violet-800: #5b21b6;
228
+ --color-violet-900: #4c1d95;
229
+ --color-violet-950: #2e1065;
230
+ --color-purple-50: #faf5ff;
231
+ --color-purple-100: #f3e8ff;
232
+ --color-purple-200: #e9d5ff;
233
+ --color-purple-300: #d8b4fe;
234
+ --color-purple-400: #c084fc;
235
+ --color-purple-500: #a855f7;
236
+ --color-purple-600: #9333ea;
237
+ --color-purple-700: #7e22ce;
238
+ --color-purple-800: #6b21a8;
239
+ --color-purple-900: #581c87;
240
+ --color-purple-950: #3b0764;
241
+ --color-fuchsia-50: #fdf4ff;
242
+ --color-fuchsia-100: #fae8ff;
243
+ --color-fuchsia-200: #f5d0fe;
244
+ --color-fuchsia-300: #f0abfc;
245
+ --color-fuchsia-400: #e879f9;
246
+ --color-fuchsia-500: #d946ef;
247
+ --color-fuchsia-600: #c026d3;
248
+ --color-fuchsia-700: #a21caf;
249
+ --color-fuchsia-800: #86198f;
250
+ --color-fuchsia-900: #701a75;
251
+ --color-fuchsia-950: #4a044e;
252
+ --color-pink-50: #fdf2f8;
253
+ --color-pink-100: #fce7f3;
254
+ --color-pink-200: #fbcfe8;
255
+ --color-pink-300: #f9a8d4;
256
+ --color-pink-400: #f472b6;
257
+ --color-pink-500: #ec4899;
258
+ --color-pink-600: #db2777;
259
+ --color-pink-700: #be185d;
260
+ --color-pink-800: #9d174d;
261
+ --color-pink-900: #831843;
262
+ --color-pink-950: #500724;
263
+ --color-rose-50: #fff1f2;
264
+ --color-rose-100: #ffe4e6;
265
+ --color-rose-200: #fecdd3;
266
+ --color-rose-300: #fda4af;
267
+ --color-rose-400: #fb7185;
268
+ --color-rose-500: #f43f5e;
269
+ --color-rose-600: #e11d48;
270
+ --color-rose-700: #be123c;
271
+ --color-rose-800: #9f1239;
272
+ --color-rose-900: #881337;
273
+ --color-rose-950: #4c0519;
274
+
275
+ /* Animations */
276
+ --animate-spin: spin 1s linear infinite;
277
+ --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
278
+ --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
279
+ --animate-bounce: bounce 1s infinite;
280
+
281
+ /* Blurs */
282
+ --blur: 8px;
283
+ --blur-sm: 4px;
284
+ --blur-md: 12px;
285
+ --blur-lg: 16px;
286
+ --blur-xl: 24px;
287
+ --blur-2xl: 40px;
288
+ --blur-3xl: 64px;
289
+
290
+ /* Radii */
291
+ --radius: 0.25rem;
292
+ --radius-sm: 0.125rem;
293
+ --radius-md: 0.375rem;
294
+ --radius-lg: 0.5rem;
295
+ --radius-xl: 0.75rem;
296
+ --radius-2xl: 1rem;
297
+ --radius-3xl: 1.5rem;
298
+ --radius-4xl: 2rem;
299
+
300
+ /* Shadows */
301
+ --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
302
+ --shadow-xs: 0 1px rgb(0 0 0 / 0.05);
303
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
304
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
305
+ 0 2px 4px -2px rgb(0 0 0 / 0.1);
306
+ --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
307
+ 0 4px 6px -4px rgb(0 0 0 / 0.1);
308
+ --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
309
+ 0 8px 10px -6px rgb(0 0 0 / 0.1);
310
+ --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
311
+ --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
312
+
313
+ /* Inset shadows */
314
+ --inset-shadow-xs: inset 0 1px rgb(0 0 0 / 0.05);
315
+ --inset-shadow-sm: inset 0 1px 1px rgb(0 0 0 / 0.05);
316
+ --inset-shadow: inset 0 2px 4px rgb(0 0 0 / 0.05);
317
+
318
+ /* Drop shadows */
319
+ --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
320
+ --drop-shadow-sm: 0 1px 1px rgb(0 0 0 / 0.05);
321
+ --drop-shadow-md: 0 4px 3px rgb(0 0 0 / 0.07), 0 2px 2px rgb(0 0 0 / 0.06);
322
+ --drop-shadow-lg: 0 10px 8px rgb(0 0 0 / 0.04), 0 4px 3px rgb(0 0 0 / 0.1);
323
+ --drop-shadow-xl: 0 20px 13px rgb(0 0 0 / 0.03), 0 8px 5px rgb(0 0 0 / 0.08);
324
+ --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
325
+ --drop-shadow-none: 0 0 #0000;
326
+
327
+ /* Spacing */
328
+ --spacing-px: 1px;
329
+ --spacing-0: 0px;
330
+ --spacing-0_5: 0.125rem;
331
+ --spacing-1: 0.25rem;
332
+ --spacing-1_5: 0.375rem;
333
+ --spacing-2: 0.5rem;
334
+ --spacing-2_5: 0.625rem;
335
+ --spacing-3: 0.75rem;
336
+ --spacing-3_5: 0.875rem;
337
+ --spacing-4: 1rem;
338
+ --spacing-5: 1.25rem;
339
+ --spacing-6: 1.5rem;
340
+ --spacing-7: 1.75rem;
341
+ --spacing-8: 2rem;
342
+ --spacing-9: 2.25rem;
343
+ --spacing-10: 2.5rem;
344
+ --spacing-11: 2.75rem;
345
+ --spacing-12: 3rem;
346
+ --spacing-14: 3.5rem;
347
+ --spacing-16: 4rem;
348
+ --spacing-20: 5rem;
349
+ --spacing-24: 6rem;
350
+ --spacing-28: 7rem;
351
+ --spacing-32: 8rem;
352
+ --spacing-36: 9rem;
353
+ --spacing-40: 10rem;
354
+ --spacing-44: 11rem;
355
+ --spacing-48: 12rem;
356
+ --spacing-52: 13rem;
357
+ --spacing-56: 14rem;
358
+ --spacing-60: 15rem;
359
+ --spacing-64: 16rem;
360
+ --spacing-72: 18rem;
361
+ --spacing-80: 20rem;
362
+ --spacing-96: 24rem;
363
+
364
+ /* Widths */
365
+ --width-3xs: 16rem;
366
+ --width-2xs: 18rem;
367
+ --width-xs: 20rem;
368
+ --width-sm: 24rem;
369
+ --width-md: 28rem;
370
+ --width-lg: 32rem;
371
+ --width-xl: 36rem;
372
+ --width-2xl: 42rem;
373
+ --width-3xl: 48rem;
374
+ --width-4xl: 56rem;
375
+ --width-5xl: 64rem;
376
+ --width-6xl: 72rem;
377
+ --width-7xl: 80rem;
378
+ --width-prose: 65ch;
379
+
380
+ /* Fonts */
381
+ --font-family-sans: ui-sans-serif, system-ui, sans-serif,
382
+ "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
383
+ "Noto Color Emoji";
384
+ --font-family-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times,
385
+ serif;
386
+ --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
387
+ "Liberation Mono", "Courier New", monospace;
388
+
389
+ /* Type scale */
390
+ --font-size-xs: 0.75rem;
391
+ --font-size-xs--line-height: 1rem;
392
+ --font-size-sm: 0.875rem;
393
+ --font-size-sm--line-height: 1.25rem;
394
+ --font-size-base: 1rem;
395
+ --font-size-base--line-height: 1.5rem;
396
+ --font-size-lg: 1.125rem;
397
+ --font-size-lg--line-height: 1.75rem;
398
+ --font-size-xl: 1.25rem;
399
+ --font-size-xl--line-height: 1.75rem;
400
+ --font-size-2xl: 1.5rem;
401
+ --font-size-2xl--line-height: 2rem;
402
+ --font-size-3xl: 1.875rem;
403
+ --font-size-3xl--line-height: 2.25rem;
404
+ --font-size-4xl: 2.25rem;
405
+ --font-size-4xl--line-height: 2.5rem;
406
+ --font-size-5xl: 3rem;
407
+ --font-size-5xl--line-height: 1;
408
+ --font-size-6xl: 3.75rem;
409
+ --font-size-6xl--line-height: 1;
410
+ --font-size-7xl: 4.5rem;
411
+ --font-size-7xl--line-height: 1;
412
+ --font-size-8xl: 6rem;
413
+ --font-size-8xl--line-height: 1;
414
+ --font-size-9xl: 8rem;
415
+ --font-size-9xl--line-height: 1;
416
+
417
+ /* Letter spacing */
418
+ --letter-spacing-tighter: -0.05em;
419
+ --letter-spacing-tight: -0.025em;
420
+ --letter-spacing-normal: 0em;
421
+ --letter-spacing-wide: 0.025em;
422
+ --letter-spacing-wider: 0.05em;
423
+ --letter-spacing-widest: 0.1em;
424
+
425
+ /* Line-height */
426
+ --line-height-none: 1;
427
+ --line-height-tight: 1.25;
428
+ --line-height-snug: 1.375;
429
+ --line-height-normal: 1.5;
430
+ --line-height-relaxed: 1.625;
431
+ --line-height-loose: 2;
432
+ --line-height-3: 0.75rem;
433
+ --line-height-4: 1rem;
434
+ --line-height-5: 1.25rem;
435
+ --line-height-6: 1.5rem;
436
+ --line-height-7: 1.75rem;
437
+ --line-height-8: 2rem;
438
+ --line-height-9: 2.25rem;
439
+ --line-height-10: 2.5rem;
440
+
441
+ /* 3D perspectives */
442
+ --perspective-dramatic: 100px;
443
+ --perspective-near: 300px;
444
+ --perspective-normal: 500px;
445
+ --perspective-midrange: 800px;
446
+ --perspective-distant: 1200px;
447
+
448
+ /* Transition timing functions */
449
+ --transition-timing-function-linear: linear;
450
+ --transition-timing-function-in: cubic-bezier(0.4, 0, 1, 1);
451
+ --transition-timing-function-out: cubic-bezier(0, 0, 0.2, 1);
452
+ --transition-timing-function-in-out: cubic-bezier(0.4, 0, 0.2, 1);
453
+
454
+ @keyframes spin {
455
+ to {
456
+ transform: rotate(360deg);
457
+ }
458
+ }
459
+
460
+ @keyframes ping {
461
+ 75%,
462
+ 100% {
463
+ transform: scale(2);
464
+ opacity: 0;
465
+ }
466
+ }
467
+
468
+ @keyframes pulse {
469
+ 50% {
470
+ opacity: 0.5;
471
+ }
472
+ }
473
+
474
+ @keyframes bounce {
475
+ 0%,
476
+ 100% {
477
+ transform: translateY(-25%);
478
+ animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
479
+ }
480
+
481
+ 50% {
482
+ transform: none;
483
+ animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
484
+ }
485
+ }
486
+ }
487
+ }
488
+ @layer base {
489
+ /*
490
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
491
+ 2. Remove default margins and padding
492
+ 3. Reset all borders.
493
+ */
494
+
495
+ *,
496
+ ::after,
497
+ ::before,
498
+ ::backdrop,
499
+ ::file-selector-button {
500
+ box-sizing: border-box; /* 1 */
501
+ margin: 0; /* 2 */
502
+ padding: 0; /* 2 */
503
+ border: 0 solid; /* 3 */
504
+ }
505
+
506
+ /*
507
+ 1. Use a consistent sensible line-height in all browsers.
508
+ 2. Prevent adjustments of font size after orientation changes in iOS.
509
+ 3. Use a more readable tab size.
510
+ 4. Use the user's configured `sans` font-family by default.
511
+ 5. Use the user's configured `sans` font-feature-settings by default.
512
+ 6. Use the user's configured `sans` font-variation-settings by default.
513
+ 7. Disable tap highlights on iOS.
514
+ */
515
+
516
+ html,
517
+ :host {
518
+ line-height: 1.5; /* 1 */
519
+ -webkit-text-size-adjust: 100%; /* 2 */
520
+ tab-size: 4; /* 3 */
521
+ font-family: var(
522
+ --default-font-family,
523
+ ui-sans-serif,
524
+ system-ui,
525
+ sans-serif,
526
+ "Apple Color Emoji",
527
+ "Segoe UI Emoji",
528
+ "Segoe UI Symbol",
529
+ "Noto Color Emoji"
530
+ ); /* 4 */
531
+ font-feature-settings: var(--default-font-feature-settings, normal); /* 5 */
532
+ font-variation-settings: var(
533
+ --default-font-variation-settings,
534
+ normal
535
+ ); /* 6 */
536
+ -webkit-tap-highlight-color: transparent; /* 7 */
537
+ }
538
+
539
+ /*
540
+ Inherit line-height from `html` so users can set them as a class directly on the `html` element.
541
+ */
542
+
543
+ body {
544
+ line-height: inherit;
545
+ }
546
+
547
+ /*
548
+ 1. Add the correct height in Firefox.
549
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
550
+ 3. Reset the default border style to a 1px solid border.
551
+ */
552
+
553
+ hr {
554
+ height: 0; /* 1 */
555
+ color: inherit; /* 2 */
556
+ border-top-width: 1px; /* 3 */
557
+ }
558
+
559
+ /*
560
+ Add the correct text decoration in Chrome, Edge, and Safari.
561
+ */
562
+
563
+ abbr:where([title]) {
564
+ -webkit-text-decoration: underline dotted;
565
+ text-decoration: underline dotted;
566
+ }
567
+
568
+ /*
569
+ Remove the default font size and weight for headings.
570
+ */
571
+
572
+ h1,
573
+ h2,
574
+ h3,
575
+ h4,
576
+ h5,
577
+ h6 {
578
+ font-size: inherit;
579
+ font-weight: inherit;
580
+ }
581
+
582
+ /*
583
+ Reset links to optimize for opt-in styling instead of opt-out.
584
+ */
585
+
586
+ a {
587
+ color: inherit;
588
+ -webkit-text-decoration: inherit;
589
+ text-decoration: inherit;
590
+ }
591
+
592
+ /*
593
+ Add the correct font weight in Edge and Safari.
594
+ */
595
+
596
+ b,
597
+ strong {
598
+ font-weight: bolder;
599
+ }
600
+
601
+ /*
602
+ 1. Use the user's configured `mono` font-family by default.
603
+ 2. Use the user's configured `mono` font-feature-settings by default.
604
+ 3. Use the user's configured `mono` font-variation-settings by default.
605
+ 4. Correct the odd `em` font sizing in all browsers.
606
+ */
607
+
608
+ code,
609
+ kbd,
610
+ samp,
611
+ pre {
612
+ font-family: var(
613
+ --default-mono-font-family,
614
+ ui-monospace,
615
+ SFMono-Regular,
616
+ Menlo,
617
+ Monaco,
618
+ Consolas,
619
+ "Liberation Mono",
620
+ "Courier New",
621
+ monospace
622
+ ); /* 4 */
623
+ font-feature-settings: var(
624
+ --default-mono-font-feature-settings,
625
+ normal
626
+ ); /* 5 */
627
+ font-variation-settings: var(
628
+ --default-mono-font-variation-settings,
629
+ normal
630
+ ); /* 6 */
631
+ font-size: 1em; /* 4 */
632
+ }
633
+
634
+ /*
635
+ Add the correct font size in all browsers.
636
+ */
637
+
638
+ small {
639
+ font-size: 80%;
640
+ }
641
+
642
+ /*
643
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
644
+ */
645
+
646
+ sub,
647
+ sup {
648
+ font-size: 75%;
649
+ line-height: 0;
650
+ position: relative;
651
+ vertical-align: baseline;
652
+ }
653
+
654
+ sub {
655
+ bottom: -0.25em;
656
+ }
657
+
658
+ sup {
659
+ top: -0.5em;
660
+ }
661
+
662
+ /*
663
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
664
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
665
+ 3. Remove gaps between table borders by default.
666
+ */
667
+
668
+ table {
669
+ text-indent: 0; /* 1 */
670
+ border-color: inherit; /* 2 */
671
+ border-collapse: collapse; /* 3 */
672
+ }
673
+
674
+ /*
675
+ 1. Inherit the font styles in all browsers.
676
+ 2. Remove the default background color.
677
+ */
678
+
679
+ button,
680
+ input,
681
+ optgroup,
682
+ select,
683
+ textarea,
684
+ ::file-selector-button {
685
+ font: inherit; /* 1 */
686
+ font-feature-settings: inherit; /* 1 */
687
+ font-variation-settings: inherit; /* 1 */
688
+ letter-spacing: inherit; /* 1 */
689
+ color: inherit; /* 1 */
690
+ background: transparent; /* 2 */
691
+ }
692
+
693
+ /*
694
+ Reset the default inset border style for form controls to solid.
695
+ */
696
+
697
+ input:where(:not([type="button"], [type="reset"], [type="submit"])),
698
+ select,
699
+ textarea {
700
+ border: 1px solid;
701
+ }
702
+
703
+ /*
704
+ Correct the inability to style the border radius in iOS Safari.
705
+ */
706
+ button,
707
+ input:where([type="button"], [type="reset"], [type="submit"]),
708
+ ::file-selector-button {
709
+ appearance: button;
710
+ }
711
+
712
+ /*
713
+ Use the modern Firefox focus style for all focusable elements.
714
+ */
715
+
716
+ :-moz-focusring {
717
+ outline: auto;
718
+ }
719
+
720
+ /*
721
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
722
+ */
723
+
724
+ :-moz-ui-invalid {
725
+ box-shadow: none;
726
+ }
727
+
728
+ /*
729
+ Add the correct vertical alignment in Chrome and Firefox.
730
+ */
731
+
732
+ progress {
733
+ vertical-align: baseline;
734
+ }
735
+
736
+ /*
737
+ Correct the cursor style of increment and decrement buttons in Safari.
738
+ */
739
+
740
+ ::-webkit-inner-spin-button,
741
+ ::-webkit-outer-spin-button {
742
+ height: auto;
743
+ }
744
+
745
+ /*
746
+ Remove the inner padding in Chrome and Safari on macOS.
747
+ */
748
+
749
+ ::-webkit-search-decoration {
750
+ -webkit-appearance: none;
751
+ }
752
+
753
+ /*
754
+ Add the correct display in Chrome and Safari.
755
+ */
756
+
757
+ summary {
758
+ display: list-item;
759
+ }
760
+
761
+ /*
762
+ Make lists unstyled by default.
763
+ */
764
+
765
+ ol,
766
+ ul,
767
+ menu {
768
+ list-style: none;
769
+ }
770
+
771
+ /*
772
+ Prevent resizing textareas horizontally by default.
773
+ */
774
+
775
+ textarea {
776
+ resize: vertical;
777
+ }
778
+
779
+ /*
780
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
781
+ 2. Set the default placeholder color to a semi-transparent version of the current text color.
782
+ */
783
+
784
+ ::placeholder {
785
+ opacity: 1; /* 1 */
786
+ color: color-mix(in srgb, currentColor 50%, transparent); /* 2 */
787
+ }
788
+
789
+ /*
790
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
791
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
792
+ This can trigger a poorly considered lint error in some tools but is included by design.
793
+ */
794
+
795
+ img,
796
+ svg,
797
+ video,
798
+ canvas,
799
+ audio,
800
+ iframe,
801
+ embed,
802
+ object {
803
+ display: block; /* 1 */
804
+ vertical-align: middle; /* 2 */
805
+ }
806
+
807
+ /*
808
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
809
+ */
810
+
811
+ img,
812
+ video {
813
+ max-width: 100%;
814
+ height: auto;
815
+ }
816
+
817
+ /*
818
+ Make elements with the HTML hidden attribute stay hidden by default.
819
+ */
820
+
821
+ [hidden] {
822
+ display: none !important;
823
+ }
824
+ }
825
+ @layer utilities {
826
+ @tailwind utilities;
827
+ }