|
1 | | -@tailwind base; |
2 | | -@tailwind components; |
3 | | -@tailwind utilities; |
| 1 | +@import 'tailwindcss'; |
| 2 | + |
| 3 | +@plugin "tailwindcss-animate"; |
| 4 | + |
| 5 | +@plugin "@tailwindcss/typography"; |
| 6 | +@config "./tailwind.config.js"; |
| 7 | + |
| 8 | +@custom-variant dark (&:is(.dark *)); |
| 9 | + |
| 10 | +@theme { |
| 11 | + --font-sans: var(--font-geist-sans); |
| 12 | + --font-mono: var(--font-geist-mono); |
| 13 | +} |
| 14 | + |
| 15 | +:root { |
| 16 | + --background: oklch(1 0 0); |
| 17 | + --foreground: oklch(0.141 0.005 285.823); |
| 18 | + --card: oklch(1 0 0); |
| 19 | + --card-foreground: oklch(0.141 0.005 285.823); |
| 20 | + --popover: oklch(1 0 0); |
| 21 | + --popover-foreground: oklch(0.141 0.005 285.823); |
| 22 | + --primary: oklch(0.21 0.006 285.885); |
| 23 | + --primary-foreground: oklch(0.985 0 0); |
| 24 | + --secondary: oklch(0.967 0.001 286.375); |
| 25 | + --secondary-foreground: oklch(0.21 0.006 285.885); |
| 26 | + --muted: oklch(0.967 0.001 286.375); |
| 27 | + --muted-foreground: oklch(0.552 0.016 285.938); |
| 28 | + --accent: oklch(0.967 0.001 286.375); |
| 29 | + --accent-foreground: oklch(0.21 0.006 285.885); |
| 30 | + --destructive: oklch(0.577 0.245 27.325); |
| 31 | + --destructive-foreground: oklch(0.577 0.245 27.325); |
| 32 | + --border: oklch(0.92 0.004 286.32); |
| 33 | + --input: oklch(0.92 0.004 286.32); |
| 34 | + --ring: oklch(0.705 0.015 286.067); |
| 35 | + --chart-1: oklch(0.646 0.222 41.116); |
| 36 | + --chart-2: oklch(0.6 0.118 184.704); |
| 37 | + --chart-3: oklch(0.398 0.07 227.392); |
| 38 | + --chart-4: oklch(0.828 0.189 84.429); |
| 39 | + --chart-5: oklch(0.769 0.188 70.08); |
| 40 | + --radius: 0.625rem; |
| 41 | + --sidebar: oklch(0.985 0 0); |
| 42 | + --sidebar-foreground: oklch(0.141 0.005 285.823); |
| 43 | + --sidebar-primary: oklch(0.21 0.006 285.885); |
| 44 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 45 | + --sidebar-accent: oklch(0.967 0.001 286.375); |
| 46 | + --sidebar-accent-foreground: oklch(0.21 0.006 285.885); |
| 47 | + --sidebar-border: oklch(0.92 0.004 286.32); |
| 48 | + --sidebar-ring: oklch(0.705 0.015 286.067); |
| 49 | +} |
| 50 | + |
| 51 | +.dark { |
| 52 | + --background: oklch(0.141 0.005 285.823); |
| 53 | + --foreground: oklch(0.985 0 0); |
| 54 | + --card: oklch(0.141 0.005 285.823); |
| 55 | + --card-foreground: oklch(0.985 0 0); |
| 56 | + --popover: oklch(0.141 0.005 285.823); |
| 57 | + --popover-foreground: oklch(0.985 0 0); |
| 58 | + --primary: oklch(0.985 0 0); |
| 59 | + --primary-foreground: oklch(0.21 0.006 285.885); |
| 60 | + --secondary: oklch(0.274 0.006 286.033); |
| 61 | + --secondary-foreground: oklch(0.985 0 0); |
| 62 | + --muted: oklch(0.274 0.006 286.033); |
| 63 | + --muted-foreground: oklch(0.705 0.015 286.067); |
| 64 | + --accent: oklch(0.274 0.006 286.033); |
| 65 | + --accent-foreground: oklch(0.985 0 0); |
| 66 | + --destructive: oklch(0.396 0.141 25.723); |
| 67 | + --destructive-foreground: oklch(0.637 0.237 25.331); |
| 68 | + --border: oklch(0.274 0.006 286.033); |
| 69 | + --input: oklch(0.274 0.006 286.033); |
| 70 | + --ring: oklch(0.442 0.017 285.786); |
| 71 | + --chart-1: oklch(0.488 0.243 264.376); |
| 72 | + --chart-2: oklch(0.696 0.17 162.48); |
| 73 | + --chart-3: oklch(0.769 0.188 70.08); |
| 74 | + --chart-4: oklch(0.627 0.265 303.9); |
| 75 | + --chart-5: oklch(0.645 0.246 16.439); |
| 76 | + --sidebar: oklch(0.21 0.006 285.885); |
| 77 | + --sidebar-foreground: oklch(0.985 0 0); |
| 78 | + --sidebar-primary: oklch(0.488 0.243 264.376); |
| 79 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 80 | + --sidebar-accent: oklch(0.274 0.006 286.033); |
| 81 | + --sidebar-accent-foreground: oklch(0.985 0 0); |
| 82 | + --sidebar-border: oklch(0.274 0.006 286.033); |
| 83 | + --sidebar-ring: oklch(0.442 0.017 285.786); |
| 84 | +} |
| 85 | + |
| 86 | +@theme inline { |
| 87 | + --color-background: var(--background); |
| 88 | + --color-foreground: var(--foreground); |
| 89 | + --color-card: var(--card); |
| 90 | + --color-card-foreground: var(--card-foreground); |
| 91 | + --color-popover: var(--popover); |
| 92 | + --color-popover-foreground: var(--popover-foreground); |
| 93 | + --color-primary: var(--primary); |
| 94 | + --color-primary-foreground: var(--primary-foreground); |
| 95 | + --color-secondary: var(--secondary); |
| 96 | + --color-secondary-foreground: var(--secondary-foreground); |
| 97 | + --color-muted: var(--muted); |
| 98 | + --color-muted-foreground: var(--muted-foreground); |
| 99 | + --color-accent: var(--accent); |
| 100 | + --color-accent-foreground: var(--accent-foreground); |
| 101 | + --color-destructive: var(--destructive); |
| 102 | + --color-destructive-foreground: var(--destructive-foreground); |
| 103 | + --color-border: var(--border); |
| 104 | + --color-input: var(--input); |
| 105 | + --color-ring: var(--ring); |
| 106 | + --color-chart-1: var(--chart-1); |
| 107 | + --color-chart-2: var(--chart-2); |
| 108 | + --color-chart-3: var(--chart-3); |
| 109 | + --color-chart-4: var(--chart-4); |
| 110 | + --color-chart-5: var(--chart-5); |
| 111 | + --radius-sm: calc(var(--radius) - 4px); |
| 112 | + --radius-md: calc(var(--radius) - 2px); |
| 113 | + --radius-lg: var(--radius); |
| 114 | + --radius-xl: calc(var(--radius) + 4px); |
| 115 | + --color-sidebar: var(--sidebar); |
| 116 | + --color-sidebar-foreground: var(--sidebar-foreground); |
| 117 | + --color-sidebar-primary: var(--sidebar-primary); |
| 118 | + --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); |
| 119 | + --color-sidebar-accent: var(--sidebar-accent); |
| 120 | + --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); |
| 121 | + --color-sidebar-border: var(--sidebar-border); |
| 122 | + --color-sidebar-ring: var(--sidebar-ring); |
| 123 | +} |
4 | 124 |
|
5 | 125 | @layer base { |
6 | 126 | * { |
7 | | - @apply border-border; |
| 127 | + @apply border-border outline-ring/50; |
8 | 128 | } |
9 | 129 | body { |
10 | 130 | @apply bg-background text-foreground; |
11 | 131 | } |
12 | 132 | } |
13 | 133 |
|
14 | | -@layer base { |
15 | | - :root { |
16 | | - --background: 0 0% 100%; |
17 | | - --foreground: 240 10% 3.9%; |
18 | | - --card: 0 0% 100%; |
19 | | - --card-foreground: 240 10% 3.9%; |
20 | | - --popover: 0 0% 100%; |
21 | | - --popover-foreground: 240 10% 3.9%; |
22 | | - --primary: 240 5.9% 10%; |
23 | | - --primary-foreground: 0 0% 98%; |
24 | | - --secondary: 240 4.8% 95.9%; |
25 | | - --secondary-foreground: 240 5.9% 10%; |
26 | | - --muted: 240 4.8% 95.9%; |
27 | | - --muted-foreground: 240 3.8% 46.1%; |
28 | | - --accent: 240 4.8% 95.9%; |
29 | | - --accent-foreground: 240 5.9% 10%; |
30 | | - --destructive: 0 84.2% 60.2%; |
31 | | - --destructive-foreground: 0 0% 98%; |
32 | | - --border: 240 5.9% 90%; |
33 | | - --input: 240 5.9% 90%; |
34 | | - --ring: 240 10% 3.9%; |
35 | | - --chart-1: 12 76% 61%; |
36 | | - --chart-2: 173 58% 39%; |
37 | | - --chart-3: 197 37% 24%; |
38 | | - --chart-4: 43 74% 66%; |
39 | | - --chart-5: 27 87% 67%; |
40 | | - --radius: 0.5rem; |
41 | | - } |
42 | | - .dark { |
43 | | - --background: 240 10% 3.9%; |
44 | | - --foreground: 0 0% 98%; |
45 | | - --card: 240 10% 3.9%; |
46 | | - --card-foreground: 0 0% 98%; |
47 | | - --popover: 240 10% 3.9%; |
48 | | - --popover-foreground: 0 0% 98%; |
49 | | - --primary: 0 0% 98%; |
50 | | - --primary-foreground: 240 5.9% 10%; |
51 | | - --secondary: 240 3.7% 15.9%; |
52 | | - --secondary-foreground: 0 0% 98%; |
53 | | - --muted: 240 3.7% 15.9%; |
54 | | - --muted-foreground: 240 5% 64.9%; |
55 | | - --accent: 240 3.7% 15.9%; |
56 | | - --accent-foreground: 0 0% 98%; |
57 | | - --destructive: 0 62.8% 30.6%; |
58 | | - --destructive-foreground: 0 0% 98%; |
59 | | - --border: 240 3.7% 15.9%; |
60 | | - --input: 240 3.7% 15.9%; |
61 | | - --ring: 240 4.9% 83.9%; |
62 | | - --chart-1: 220 70% 50%; |
63 | | - --chart-2: 160 60% 45%; |
64 | | - --chart-3: 30 80% 55%; |
65 | | - --chart-4: 280 65% 60%; |
66 | | - --chart-5: 340 75% 55%; |
67 | | - } |
68 | | -} |
69 | | - |
70 | 134 | * { |
71 | 135 | scrollbar-width: thin; |
72 | 136 | scrollbar-color: hsl(var(--border)) transparent; |
|
0 commit comments