|
1 | | -@tailwind base; |
2 | | -@tailwind components; |
3 | | -@tailwind utilities; |
| 1 | +@import 'tailwindcss'; |
4 | 2 |
|
5 | | -@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); |
| 3 | +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap') |
| 4 | +layer(utilities); |
| 5 | + |
| 6 | +@theme { |
| 7 | + --color-primary-50: #f0f9ff; |
| 8 | + --color-primary-100: #e0f2fe; |
| 9 | + --color-primary-200: #bae6fd; |
| 10 | + --color-primary-300: #7dd3fc; |
| 11 | + --color-primary-400: #38bdf8; |
| 12 | + --color-primary-500: #0ea5e9; |
| 13 | + --color-primary-600: #0284c7; |
| 14 | + --color-primary-700: #0369a1; |
| 15 | + --color-primary-800: #075985; |
| 16 | + --color-primary-900: #0c4a6e; |
| 17 | + --color-primary-950: #082f49; |
| 18 | + |
| 19 | + --color-secondary-50: #fdf4ff; |
| 20 | + --color-secondary-100: #fae8ff; |
| 21 | + --color-secondary-200: #f5d0fe; |
| 22 | + --color-secondary-300: #f0abfc; |
| 23 | + --color-secondary-400: #e879f9; |
| 24 | + --color-secondary-500: #d946ef; |
| 25 | + --color-secondary-600: #c026d3; |
| 26 | + --color-secondary-700: #a21caf; |
| 27 | + --color-secondary-800: #86198f; |
| 28 | + --color-secondary-900: #701a75; |
| 29 | + --color-secondary-950: #4a044e; |
| 30 | + |
| 31 | + --color-neutral-50: #fafafa; |
| 32 | + --color-neutral-100: #f4f4f5; |
| 33 | + --color-neutral-200: #e4e4e7; |
| 34 | + --color-neutral-300: #d4d4d8; |
| 35 | + --color-neutral-400: #a1a1aa; |
| 36 | + --color-neutral-500: #71717a; |
| 37 | + --color-neutral-600: #52525b; |
| 38 | + --color-neutral-700: #3f3f46; |
| 39 | + --color-neutral-800: #27272a; |
| 40 | + --color-neutral-900: #18181b; |
| 41 | + --color-neutral-950: #09090b; |
| 42 | + |
| 43 | + --font-sans: |
| 44 | + Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, |
| 45 | + Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif; |
| 46 | + |
| 47 | + --shadow-soft: |
| 48 | + 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04); |
| 49 | +} |
| 50 | + |
| 51 | +/* |
| 52 | + The default border color has changed to `currentcolor` in Tailwind CSS v4, |
| 53 | + so we've added these compatibility styles to make sure everything still |
| 54 | + looks the same as it did with Tailwind CSS v3. |
| 55 | +
|
| 56 | + If we ever want to remove these styles, we need to add an explicit border |
| 57 | + color utility to any element that depends on these defaults. |
| 58 | +*/ |
| 59 | +@layer base { |
| 60 | + *, |
| 61 | + ::after, |
| 62 | + ::before, |
| 63 | + ::backdrop, |
| 64 | + ::file-selector-button { |
| 65 | + border-color: var(--color-gray-200, currentcolor); |
| 66 | + } |
| 67 | +} |
6 | 68 |
|
7 | 69 | body { |
8 | 70 | margin: 0; |
@@ -51,7 +113,7 @@ code { |
51 | 113 |
|
52 | 114 | .checkbox-container input[type="checkbox"] { |
53 | 115 | @apply appearance-none h-5 w-5 rounded-md border border-gray-300 checked:bg-primary-500 |
54 | | - checked:border-transparent focus:outline-none transition-colors duration-200 ease-in-out; |
| 116 | + checked:border-transparent focus:outline-hidden transition-colors duration-200 ease-in-out; |
55 | 117 | } |
56 | 118 |
|
57 | 119 | .checkbox-container .checkmark { |
|
0 commit comments