|
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/typography'; |
| 4 | +@plugin 'tailwindcss-animate'; |
| 5 | + |
| 6 | +@custom-variant dark (&:is(.dark *)); |
| 7 | + |
| 8 | +@theme { |
| 9 | + --font-raleway: var(--font-r-sans); |
| 10 | + --font-raleway-italic: var(--font-r-sans-italic); |
| 11 | + |
| 12 | + --color-background: hsl(var(--background)); |
| 13 | + --color-foreground: hsl(var(--foreground)); |
| 14 | + |
| 15 | + --color-card: hsl(var(--card)); |
| 16 | + --color-card-foreground: hsl(var(--card-foreground)); |
| 17 | + |
| 18 | + --color-popover: hsl(var(--popover)); |
| 19 | + --color-popover-foreground: hsl(var(--popover-foreground)); |
| 20 | + |
| 21 | + --color-primary: hsl(var(--primary)); |
| 22 | + --color-primary-foreground: hsl(var(--primary-foreground)); |
| 23 | + |
| 24 | + --color-secondary: hsl(var(--secondary)); |
| 25 | + --color-secondary-foreground: hsl(var(--secondary-foreground)); |
| 26 | + |
| 27 | + --color-muted: hsl(var(--muted)); |
| 28 | + --color-muted-foreground: hsl(var(--muted-foreground)); |
| 29 | + |
| 30 | + --color-accent: hsl(var(--accent)); |
| 31 | + --color-accent-foreground: hsl(var(--accent-foreground)); |
| 32 | + |
| 33 | + --color-destructive: hsl(var(--destructive)); |
| 34 | + --color-destructive-foreground: hsl(var(--destructive-foreground)); |
| 35 | + |
| 36 | + --color-border: hsl(var(--border)); |
| 37 | + --color-input: hsl(var(--input)); |
| 38 | + --color-ring: hsl(var(--ring)); |
| 39 | + |
| 40 | + --color-chart-1: hsl(var(--chart-1)); |
| 41 | + --color-chart-2: hsl(var(--chart-2)); |
| 42 | + --color-chart-3: hsl(var(--chart-3)); |
| 43 | + --color-chart-4: hsl(var(--chart-4)); |
| 44 | + --color-chart-5: hsl(var(--chart-5)); |
| 45 | + |
| 46 | + --radius-lg: var(--radius); |
| 47 | + --radius-md: calc(var(--radius) - 2px); |
| 48 | + --radius-sm: calc(var(--radius) - 4px); |
| 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 | +} |
| 68 | + |
| 69 | +@layer utilities { |
| 70 | + body { |
| 71 | + font-family: Arial, Helvetica, sans-serif; |
| 72 | + } |
7 | 73 | } |
8 | 74 |
|
9 | 75 | @layer base { |
|
0 commit comments