|
1 |
| -@tailwind base; |
2 |
| -@tailwind components; |
3 |
| -@tailwind utilities; |
| 1 | +@import 'tailwindcss'; |
4 | 2 |
|
5 |
| -body { |
6 |
| - font-family: Arial, Helvetica, sans-serif; |
| 3 | +@plugin 'tailwindcss-animate'; |
| 4 | + |
| 5 | +@custom-variant dark (&:is(.dark *)); |
| 6 | + |
| 7 | +@theme { |
| 8 | + --color-background: hsl(var(--background)); |
| 9 | + --color-foreground: hsl(var(--foreground)); |
| 10 | + |
| 11 | + --color-card: hsl(var(--card)); |
| 12 | + --color-card-foreground: hsl(var(--card-foreground)); |
| 13 | + |
| 14 | + --color-popover: hsl(var(--popover)); |
| 15 | + --color-popover-foreground: hsl(var(--popover-foreground)); |
| 16 | + |
| 17 | + --color-primary: hsl(var(--primary)); |
| 18 | + --color-primary-foreground: hsl(var(--primary-foreground)); |
| 19 | + |
| 20 | + --color-secondary: hsl(var(--secondary)); |
| 21 | + --color-secondary-foreground: hsl(var(--secondary-foreground)); |
| 22 | + |
| 23 | + --color-muted: hsl(var(--muted)); |
| 24 | + --color-muted-foreground: hsl(var(--muted-foreground)); |
| 25 | + |
| 26 | + --color-accent: hsl(var(--accent)); |
| 27 | + --color-accent-foreground: hsl(var(--accent-foreground)); |
| 28 | + |
| 29 | + --color-destructive: hsl(var(--destructive)); |
| 30 | + --color-destructive-foreground: hsl(var(--destructive-foreground)); |
| 31 | + |
| 32 | + --color-border: hsl(var(--border)); |
| 33 | + --color-input: hsl(var(--input)); |
| 34 | + --color-ring: hsl(var(--ring)); |
| 35 | + |
| 36 | + --color-chart-1: hsl(var(--chart-1)); |
| 37 | + --color-chart-2: hsl(var(--chart-2)); |
| 38 | + --color-chart-3: hsl(var(--chart-3)); |
| 39 | + --color-chart-4: hsl(var(--chart-4)); |
| 40 | + --color-chart-5: hsl(var(--chart-5)); |
| 41 | + |
| 42 | + --color-sidebar: hsl(var(--sidebar-background)); |
| 43 | + --color-sidebar-foreground: hsl(var(--sidebar-foreground)); |
| 44 | + --color-sidebar-primary: hsl(var(--sidebar-primary)); |
| 45 | + --color-sidebar-primary-foreground: hsl(var(--sidebar-primary-foreground)); |
| 46 | + --color-sidebar-accent: hsl(var(--sidebar-accent)); |
| 47 | + --color-sidebar-accent-foreground: hsl(var(--sidebar-accent-foreground)); |
| 48 | + --color-sidebar-border: hsl(var(--sidebar-border)); |
| 49 | + --color-sidebar-ring: hsl(var(--sidebar-ring)); |
| 50 | + |
| 51 | + --radius-lg: var(--radius); |
| 52 | + --radius-md: calc(var(--radius) - 2px); |
| 53 | + --radius-sm: calc(var(--radius) - 4px); |
7 | 54 | }
|
8 | 55 |
|
9 |
| -code { |
10 |
| - color: rgb(0, 255, 0); |
| 56 | +/* |
| 57 | + The default border color has changed to `currentColor` in Tailwind CSS v4, |
| 58 | + so we've added these compatibility styles to make sure everything still |
| 59 | + looks the same as it did with Tailwind CSS v3. |
| 60 | +
|
| 61 | + If we ever want to remove these styles, we need to add an explicit border |
| 62 | + color utility to any element that depends on these defaults. |
| 63 | +*/ |
| 64 | +@layer base { |
| 65 | + *, |
| 66 | + ::after, |
| 67 | + ::before, |
| 68 | + ::backdrop, |
| 69 | + ::file-selector-button { |
| 70 | + border-color: var(--color-gray-200, currentColor); |
| 71 | + } |
| 72 | +} |
| 73 | + |
| 74 | +@layer utilities { |
| 75 | + body { |
| 76 | + font-family: Arial, Helvetica, sans-serif; |
| 77 | + } |
| 78 | + |
| 79 | + code { |
| 80 | + color: rgb(0, 255, 0); |
| 81 | + } |
11 | 82 | }
|
12 | 83 |
|
13 | 84 | @layer base {
|
|
0 commit comments