|
1 | | -@import "tailwindcss"; |
2 | | -@plugin "tailwindcss-animate"; |
| 1 | +@tailwind base; |
| 2 | +@tailwind components; |
| 3 | +@tailwind utilities; |
3 | 4 |
|
4 | | -@custom-variant dark (&:is(.dark *)); |
5 | | -:root { |
6 | | - --background: hsl(220 23.077% 94.902%); |
7 | | - --foreground: hsl(233.793 16.022% 35.49%); |
8 | | - --muted: hsl(222.857 15.909% 82.745%); |
9 | | - --muted-foreground: hsl(233.333 12.796% 41.373%); |
10 | | - --popover: hsl(220 23.077% 94.902%); |
11 | | - --popover-foreground: hsl(233.793 16.022% 35.49%); |
12 | | - --card: hsl(220 23.077% 94.902%); |
13 | | - --card-foreground: hsl(233.793 16.022% 35.49%); |
14 | | - --border: hsl(225 13.559% 76.863%); |
15 | | - --input: hsl(225 13.559% 76.863%); |
16 | | - --primary: hsl(266.044 85.047% 58.039%); |
17 | | - --primary-foreground: hsl(220 23.077% 94.902%); |
18 | | - --secondary: hsl(222.857 15.909% 82.745%); |
19 | | - --secondary-foreground: hsl(233.793 16.022% 35.49%); |
20 | | - --accent: hsl(222.857 15.909% 82.745%); |
21 | | - --accent-foreground: hsl(233.793 16.022% 35.49%); |
22 | | - --destructive: hsl(347.077 86.667% 44.118%); |
23 | | - --destructive-foreground: hsl(220 21.951% 91.961%); |
24 | | - --ring: hsl(233.793 16.022% 35.49%); |
25 | | - |
26 | | - --radius: 1.5rem; |
27 | | -} |
28 | | - |
29 | | -.dark { |
30 | | - --background: hsl(240 21.053% 14.902%); |
31 | | - --foreground: hsl(226.154 63.934% 88.039%); |
32 | | - --muted: hsl(236.842 16.239% 22.941%); |
33 | | - --muted-foreground: hsl(226.667 35.294% 80%); |
34 | | - --popover: hsl(240 21.053% 14.902%); |
35 | | - --popover-foreground: hsl(226.154 63.934% 88.039%); |
36 | | - --card: hsl(240 21.053% 14.902%); |
37 | | - --card-foreground: hsl(226.154 63.934% 88.039%); |
38 | | - --border: hsl(234.286 13.208% 31.176%); |
39 | | - --input: hsl(234.286 13.208% 31.176%); |
40 | | - --primary: hsl(267.407 83.505% 80.98%); |
41 | | - --primary-foreground: hsl(240 21.053% 14.902%); |
42 | | - --secondary: hsl(236.842 16.239% 22.941%); |
43 | | - --secondary-foreground: hsl(226.154 63.934% 88.039%); |
44 | | - --accent: hsl(236.842 16.239% 22.941%); |
45 | | - --accent-foreground: hsl(226.154 63.934% 88.039%); |
46 | | - --destructive: hsl(343.269 81.25% 74.902%); |
47 | | - --destructive-foreground: hsl(240 21.311% 11.961%); |
48 | | - --ring: hsl(226.154 63.934% 88.039%); |
49 | | -} |
50 | | - |
51 | | -.zinc { |
52 | | - --background: hsl(240 10% 3.9%); |
53 | | - --foreground: hsl(0 0% 98%); |
54 | | - --card: hsl(240 10% 3.9%); |
55 | | - --card-foreground: hsl(0 0% 98%); |
56 | | - --popover: hsl(240 10% 3.9%); |
57 | | - --popover-foreground: hsl(0 0% 98%); |
58 | | - --primary: hsl(0 0% 98%); |
59 | | - --primary-foreground: hsl(240 5.9% 10%); |
60 | | - --secondary: hsl(240 3.7% 15.9%); |
61 | | - --secondary-foreground: hsl(0 0% 98%); |
62 | | - --muted: hsl(240 3.7% 15.9%); |
63 | | - --muted-foreground: hsl(240 5% 64.9%); |
64 | | - --accent: hsl(240 3.7% 15.9%); |
65 | | - --accent-foreground: hsl(0 0% 98%); |
66 | | - --destructive: hsl(0 62.8% 30.6%); |
67 | | - --destructive-foreground: hsl(0 0% 98%); |
68 | | - --border: hsl(240 3.7% 15.9%); |
69 | | - --input: hsl(240 3.7% 15.9%); |
70 | | - --ring: hsl(240 4.9% 83.9%); |
71 | | -} |
72 | | -@theme inline { |
73 | | - --color-border: var(--border); |
74 | | - --color-input: var(--input); |
75 | | - --color-ring: var(--ring); |
76 | | - --color-background: var(--background); |
77 | | - --color-foreground: var(--foreground); |
78 | | - |
79 | | - --color-primary: var(--primary); |
80 | | - --color-primary-foreground: var(--primary-foreground); |
81 | | - |
82 | | - --color-secondary: var(--secondary); |
83 | | - --color-secondary-foreground: var(--secondary-foreground); |
84 | | - |
85 | | - --color-destructive: var(--destructive); |
86 | | - --color-destructive-foreground: var(--destructive-foreground); |
87 | | - |
88 | | - --color-muted: var(--muted); |
89 | | - --color-muted-foreground: var(--muted-foreground); |
90 | | - |
91 | | - --color-accent: var(--accent); |
92 | | - --color-accent-foreground: var(--accent-foreground); |
93 | | - |
94 | | - --color-popover: var(--popover); |
95 | | - --color-popover-foreground: var(--popover-foreground); |
96 | | - |
97 | | - --color-card: var(--card); |
98 | | - --color-card-foreground: var(--card-foreground); |
99 | | - |
100 | | - --color-chart-1: var(--chart-1); |
101 | | - --color-chart-2: var(--chart-2); |
102 | | - --color-chart-3: var(--chart-3); |
103 | | - --color-chart-4: var(--chart-4); |
104 | | - --color-chart-5: var(--chart-5); |
105 | | - |
106 | | - --radius-lg: var(--radius); |
107 | | - --radius-md: calc(var(--radius) - 2px); |
108 | | - --radius-sm: calc(var(--radius) - 4px); |
109 | | - |
110 | | - --animate-accordion-down: accordion-down 0.2s ease-out; |
111 | | - --animate-accordion-up: accordion-up 0.2s ease-out; |
112 | | - --animate-caret-blink: caret-blink 1.25s ease-out infinite; |
113 | | - |
114 | | - /* --font-mono: var(--mono); |
115 | | - --font-sans: var(--sans); */ |
116 | | - |
117 | | - @keyframes accordion-down { |
118 | | - from { |
119 | | - height: 0; |
120 | | - } |
121 | | - to { |
122 | | - height: var(--radix-accordion-content-height); |
123 | | - } |
124 | | - } |
125 | | - @keyframes accordion-up { |
126 | | - from { |
127 | | - height: var(--radix-accordion-content-height); |
128 | | - } |
129 | | - to { |
130 | | - height: 0; |
131 | | - } |
132 | | - } |
133 | | - @keyframes caret-blink { |
134 | | - 0%, |
135 | | - 70%, |
136 | | - 100% { |
137 | | - opacity: 1; |
138 | | - } |
139 | | - 20%, |
140 | | - 50% { |
141 | | - opacity: 0; |
142 | | - } |
| 5 | +@layer base { |
| 6 | + :root { |
| 7 | + --background: 220 23.077% 94.902%; |
| 8 | + --foreground: 233.793 16.022% 35.49%; |
| 9 | + --muted: 222.857 15.909% 82.745%; |
| 10 | + --muted-foreground: 233.333 12.796% 41.373%; |
| 11 | + --popover: 220 23.077% 94.902%; |
| 12 | + --popover-foreground: 233.793 16.022% 35.49%; |
| 13 | + --card: 220 23.077% 94.902%; |
| 14 | + --card-foreground: 233.793 16.022% 35.49%; |
| 15 | + --border: 225 13.559% 76.863%; |
| 16 | + --input: 225 13.559% 76.863%; |
| 17 | + --primary: 266.044 85.047% 58.039%; |
| 18 | + --primary-foreground: 220 23.077% 94.902%; |
| 19 | + --secondary: 222.857 15.909% 82.745%; |
| 20 | + --secondary-foreground: 233.793 16.022% 35.49%; |
| 21 | + --accent: 222.857 15.909% 82.745%; |
| 22 | + --accent-foreground: 233.793 16.022% 35.49%; |
| 23 | + --destructive: 347.077 86.667% 44.118%; |
| 24 | + --destructive-foreground: 220 21.951% 91.961%; |
| 25 | + --ring: 233.793 16.022% 35.49%; |
| 26 | + |
| 27 | + --radius: 1.5rem; |
143 | 28 | } |
144 | | -} |
145 | 29 |
|
146 | | -@utility container { |
147 | | - margin-inline: auto; |
148 | | - padding-inline: 2rem; |
149 | | - @media (width >= --theme(--breakpoint-sm)) { |
150 | | - max-width: none; |
| 30 | + .dark { |
| 31 | + --background: 240 21.053% 14.902%; |
| 32 | + --foreground: 226.154 63.934% 88.039%; |
| 33 | + --muted: 236.842 16.239% 22.941%; |
| 34 | + --muted-foreground: 226.667 35.294% 80%; |
| 35 | + --popover: 240 21.053% 14.902%; |
| 36 | + --popover-foreground: 226.154 63.934% 88.039%; |
| 37 | + --card: 240 21.053% 14.902%; |
| 38 | + --card-foreground: 226.154 63.934% 88.039%; |
| 39 | + --border: 234.286 13.208% 31.176%; |
| 40 | + --input: 234.286 13.208% 31.176%; |
| 41 | + --primary: 267.407 83.505% 80.98%; |
| 42 | + --primary-foreground: 240 21.053% 14.902%; |
| 43 | + --secondary: 236.842 16.239% 22.941%; |
| 44 | + --secondary-foreground: 226.154 63.934% 88.039%; |
| 45 | + --accent: 236.842 16.239% 22.941%; |
| 46 | + --accent-foreground: 226.154 63.934% 88.039%; |
| 47 | + --destructive: 343.269 81.25% 74.902%; |
| 48 | + --destructive-foreground: 240 21.311% 11.961%; |
| 49 | + --ring: 226.154 63.934% 88.039%; |
151 | 50 | } |
152 | | - @media (width >= 1400px) { |
153 | | - max-width: 1400px; |
| 51 | + |
| 52 | + .zinc { |
| 53 | + --background: 240 10% 3.9%; |
| 54 | + --foreground: 0 0% 98%; |
| 55 | + --card: 240 10% 3.9%; |
| 56 | + --card-foreground: 0 0% 98%; |
| 57 | + --popover: 240 10% 3.9%; |
| 58 | + --popover-foreground: 0 0% 98%; |
| 59 | + --primary: 0 0% 98%; |
| 60 | + --primary-foreground: 240 5.9% 10%; |
| 61 | + --secondary: 240 3.7% 15.9%; |
| 62 | + --secondary-foreground: 0 0% 98%; |
| 63 | + --muted: 240 3.7% 15.9%; |
| 64 | + --muted-foreground: 240 5% 64.9%; |
| 65 | + --accent: 240 3.7% 15.9%; |
| 66 | + --accent-foreground: 0 0% 98%; |
| 67 | + --destructive: 0 62.8% 30.6%; |
| 68 | + --destructive-foreground: 0 0% 98%; |
| 69 | + --border: 240 3.7% 15.9%; |
| 70 | + --input: 240 3.7% 15.9%; |
| 71 | + --ring: 240 4.9% 83.9%; |
154 | 72 | } |
155 | 73 | } |
156 | 74 |
|
|
0 commit comments