1@import 'tailwindcss';
2@custom-variant dark (&:where(.dark, .dark *));
3
4:root {
5 --background: oklch(100% 0 0);
6 --foreground: oklch(19% 0 0);
7 --card: oklch(100% 0 0);
8 --card-foreground: oklch(19% 0 0);
9 --popover: oklch(100% 0 0);
10 --popover-foreground: oklch(19% 0 0);
11 --surface-muted: oklch(96.2% 0 0);
12 --inverse: oklch(19% 0 0);
13 --inverse-foreground: oklch(98.5% 0 0);
14 --overlay: oklch(19% 0 0 / 0.5);
15
16 --primary: oklch(52% 0.115 234);
17 --primary-foreground: oklch(99% 0.003 230);
18 --secondary: oklch(92.5% 0 0);
19 --secondary-foreground: oklch(19% 0 0);
20 --accent: oklch(94% 0 0);
21 --accent-foreground: oklch(19% 0 0);
22 --muted: oklch(91.5% 0 0);
23 --muted-foreground: oklch(46% 0 0);
24 --muted-strong: oklch(36% 0 0);
25
26 --border: oklch(88.5% 0 0);
27 --border-interactive: oklch(60% 0 0);
28 --input: oklch(82% 0 0);
29 --ring: oklch(60% 0.115 232);
30 --rule: oklch(88.5% 0 0);
31 --grid-color: oklch(19% 0 0 / 0.035);
32
33 --destructive: oklch(53% 0.16 27.3);
34 --destructive-foreground: oklch(98.5% 0.002 85);
35 --destructive-text: oklch(48% 0.15 27.3);
36 --destructive-surface: oklch(96.5% 0.016 27.3);
37 --destructive-border: oklch(87% 0.068 27.3);
38 --warning: oklch(53% 0.108 90.4);
39 --warning-foreground: oklch(98.5% 0.002 85);
40 --warning-text: oklch(48% 0.098 90.4);
41 --warning-surface: oklch(96.5% 0.028 90.4);
42 --warning-border: oklch(87% 0.07 90.4);
43 --success: oklch(53% 0.156 135.6);
44 --success-foreground: oklch(98.5% 0.002 85);
45 --success-text: oklch(48% 0.14 135.6);
46 --success-surface: oklch(96.5% 0.028 135.6);
47 --success-border: oklch(87% 0.07 135.6);
48 --info: oklch(52% 0.115 234);
49 --info-foreground: oklch(98.5% 0.002 85);
50 --info-text: oklch(45% 0.11 236);
51 --info-surface: oklch(95.5% 0.028 228);
52 --info-border: oklch(87% 0.06 228);
53
54 --code: oklch(94.5% 0 0);
55 --code-plain: oklch(19% 0 0);
56 --code-comment: oklch(50% 0 0);
57 --code-punctuation: oklch(44% 0 0);
58 --code-keyword: oklch(48% 0.15 300);
59 --code-string: oklch(48% 0.14 135.6);
60 --code-function: oklch(48% 0.15 260.8);
61 --code-number: oklch(48% 0.098 90.4);
62 --code-tag: oklch(48% 0.15 27.3);
63
64 --elevation-sm: 0 1px 3px oklch(25% 0.01 75 / 0.1);
65 --elevation-md: 0 6px 20px -6px oklch(25% 0.01 75 / 0.13);
66 --elevation-lg: 0 16px 40px -12px oklch(25% 0.01 75 / 0.16);
67
68 --radius: 1.125rem;
69}
70
71.dark {
72 --background: oklch(13% 0 0);
73 --foreground: oklch(97% 0 0);
74 --card: oklch(22.5% 0 0);
75 --card-foreground: oklch(97% 0 0);
76 --popover: oklch(25% 0 0);
77 --popover-foreground: oklch(97% 0 0);
78 --surface-muted: oklch(18.5% 0 0);
79 --inverse: oklch(97% 0 0);
80 --inverse-foreground: oklch(18% 0 0);
81 --overlay: oklch(0% 0 0 / 0.72);
82
83 --primary: oklch(82% 0.095 230);
84 --primary-foreground: oklch(22% 0.04 232);
85 --secondary: oklch(30.5% 0 0);
86 --secondary-foreground: oklch(97% 0 0);
87 --accent: oklch(30.5% 0 0);
88 --accent-foreground: oklch(97% 0 0);
89 --muted: oklch(30.5% 0 0);
90 --muted-foreground: oklch(76% 0 0);
91 --muted-strong: oklch(87% 0 0);
92
93 --border: oklch(33.5% 0 0);
94 --border-interactive: oklch(55% 0 0);
95 --input: oklch(37% 0 0);
96 --ring: oklch(82% 0.095 230);
97 --rule: oklch(33.5% 0 0);
98 --grid-color: oklch(97% 0 0 / 0.015);
99
100 --destructive: oklch(76% 0.15 22.2);
101 --destructive-foreground: oklch(14.5% 0 0);
102 --destructive-text: oklch(80% 0.13 22.2);
103 --destructive-surface: oklch(24% 0.03 20);
104 --destructive-border: oklch(34% 0.055 20);
105 --warning: oklch(83% 0.111 78.2);
106 --warning-foreground: oklch(14.5% 0 0);
107 --warning-text: oklch(85% 0.111 78.2);
108 --warning-surface: oklch(25% 0.03 80);
109 --warning-border: oklch(36% 0.05 84);
110 --success: oklch(80% 0.118 148.9);
111 --success-foreground: oklch(14.5% 0 0);
112 --success-text: oklch(83% 0.118 148.9);
113 --success-surface: oklch(25% 0.035 153);
114 --success-border: oklch(36% 0.06 151);
115 --info: oklch(82% 0.095 230);
116 --info-foreground: oklch(14.5% 0 0);
117 --info-text: oklch(84% 0.09 228);
118 --info-surface: oklch(27% 0.04 232);
119 --info-border: oklch(40% 0.06 232);
120
121 --code: oklch(16% 0 0);
122 --code-plain: oklch(92.2% 0 0);
123 --code-comment: oklch(66% 0 0);
124 --code-punctuation: oklch(76% 0 0);
125 --code-keyword: oklch(81.3% 0.069 301.1);
126 --code-string: oklch(83.1% 0.07 150);
127 --code-function: oklch(82.1% 0.042 257.5);
128 --code-number: oklch(86.1% 0.066 85.8);
129 --code-tag: oklch(79.4% 0.075 18.9);
130
131 --elevation-sm: 0 1px 3px oklch(0% 0 0 / 0.45);
132 --elevation-md: 0 8px 24px -6px oklch(0% 0 0 / 0.55);
133 --elevation-lg: 0 16px 44px -12px oklch(0% 0 0 / 0.65);
134}
135
136@theme inline {
137 --color-background: var(--background);
138 --color-foreground: var(--foreground);
139 --color-card: var(--card);
140 --color-card-foreground: var(--card-foreground);
141 --color-popover: var(--popover);
142 --color-popover-foreground: var(--popover-foreground);
143 --color-surface-muted: var(--surface-muted);
144 --color-inverse: var(--inverse);
145 --color-inverse-foreground: var(--inverse-foreground);
146 --color-overlay: var(--overlay);
147
148 --color-primary: var(--primary);
149 --color-primary-foreground: var(--primary-foreground);
150 --color-secondary: var(--secondary);
151 --color-secondary-foreground: var(--secondary-foreground);
152 --color-accent: var(--accent);
153 --color-accent-foreground: var(--accent-foreground);
154 --color-muted: var(--muted);
155 --color-muted-foreground: var(--muted-foreground);
156 --color-muted-strong: var(--muted-strong);
157
158 --color-border: var(--border);
159 --color-border-interactive: var(--border-interactive);
160 --color-input: var(--input);
161 --color-ring: var(--ring);
162 --color-rule: var(--rule);
163
164 --color-destructive: var(--destructive);
165 --color-destructive-foreground: var(--destructive-foreground);
166 --color-destructive-text: var(--destructive-text);
167 --color-destructive-surface: var(--destructive-surface);
168 --color-destructive-border: var(--destructive-border);
169 --color-warning: var(--warning);
170 --color-warning-foreground: var(--warning-foreground);
171 --color-warning-text: var(--warning-text);
172 --color-warning-surface: var(--warning-surface);
173 --color-warning-border: var(--warning-border);
174 --color-success: var(--success);
175 --color-success-foreground: var(--success-foreground);
176 --color-success-text: var(--success-text);
177 --color-success-surface: var(--success-surface);
178 --color-success-border: var(--success-border);
179 --color-info: var(--info);
180 --color-info-foreground: var(--info-foreground);
181 --color-info-text: var(--info-text);
182 --color-info-surface: var(--info-surface);
183 --color-info-border: var(--info-border);
184
185 --color-code: var(--code);
186
187 --radius-sm: calc(var(--radius) * 0.66);
188 --radius-md: var(--radius);
189 --radius-lg: calc(var(--radius) * 1.33);
190 --radius-xl: calc(var(--radius) * 1.66);
191 --radius-2xl: calc(var(--radius) * 2);
192
193 --shadow-sm: var(--elevation-sm);
194 --shadow-md: var(--elevation-md);
195 --shadow-lg: var(--elevation-lg);
196}
197
198@utility hide-scrollbar {
199 -ms-overflow-style: none;
200 scrollbar-width: none;
201
202 &::-webkit-scrollbar {
203 display: none;
204 }
205}
206
207@layer base {
208 * {
209 @apply border-border;
210 }
211
212 button:not(:disabled),
213 [role='button']:not([aria-disabled='true']) {
214 cursor: pointer;
215 }
216
217 body {
218 @apply bg-background text-foreground antialiased;
219 }
220}