Open History to see the last commit
1@import 'tailwindcss';
2@source "../node_modules/@tanstack/cta-ui-base";
3
4@layer theme, base, components, utilities;
5
6@plugin "tailwindcss-animate";
7
8@source inline("bg-green-500");
9
10@custom-variant dark (&:where(.dark, .dark *));
11
12body {
13 @apply m-0;
14 font-family:
15 'Inter',
16 ui-sans-serif,
17 system-ui,
18 sans-serif,
19 'Apple Color Emoji',
20 'Segoe UI Emoji',
21 Segoe UI Symbol,
22 'Noto Color Emoji';
23 -webkit-font-smoothing: antialiased;
24 -moz-osx-font-smoothing: grayscale;
25}
26
27code,
28.cm-theme,
29.cm-merge-theme {
30 font-size: 16px;
31 font-family:
32 'JetBrains Mono',
33 Menlo,
34 Monaco,
35 Consolas,
36 monospace,
37 Courier New;
38 white-space: pre;
39 -webkit-overflow-scrolling: touch;
40}
41
42:root {
43 --background: oklch(1 0 0);
44 --foreground: oklch(0.141 0.005 285.823);
45 --card: oklch(1 0 0);
46 --card-foreground: oklch(0.141 0.005 285.823);
47 --popover: oklch(1 0 0);
48 --popover-foreground: oklch(0.141 0.005 285.823);
49 --primary: oklch(0.21 0.006 285.885);
50 --primary-foreground: oklch(0.985 0 0);
51 --secondary: oklch(0.967 0.001 286.375);
52 --secondary-foreground: oklch(0.21 0.006 285.885);
53 --muted: oklch(0.967 0.001 286.375);
54 --muted-foreground: oklch(0.552 0.016 285.938);
55 --accent: oklch(0.967 0.001 286.375);
56 --accent-foreground: oklch(0.21 0.006 285.885);
57 --destructive: oklch(0.577 0.245 27.325);
58 --destructive-foreground: oklch(0.577 0.245 27.325);
59 --border: oklch(0.92 0.004 286.32);
60 --input: oklch(0.92 0.004 286.32);
61 --ring: oklch(0.871 0.006 286.286);
62 --chart-1: oklch(0.646 0.222 41.116);
63 --chart-2: oklch(0.6 0.118 184.704);
64 --chart-3: oklch(0.398 0.07 227.392);
65 --chart-4: oklch(0.828 0.189 84.429);
66 --chart-5: oklch(0.769 0.188 70.08);
67 --radius: 0.625rem;
68 --sidebar: oklch(0.985 0 0);
69 --sidebar-foreground: oklch(0.141 0.005 285.823);
70 --sidebar-primary: oklch(0.21 0.006 285.885);
71 --sidebar-primary-foreground: oklch(0.985 0 0);
72 --sidebar-accent: oklch(0.967 0.001 286.375);
73 --sidebar-accent-foreground: oklch(0.21 0.006 285.885);
74 --sidebar-border: oklch(0.92 0.004 286.32);
75 --sidebar-ring: oklch(0.871 0.006 286.286);
76}
77
78.dark {
79 --background: rgb(3, 7, 18);
80 --foreground: oklch(0.985 0 0);
81 --card: oklch(0.141 0.005 285.823);
82 --card-foreground: oklch(0.985 0 0);
83 --popover: oklch(0.141 0.005 285.823);
84 --popover-foreground: oklch(0.985 0 0);
85 --primary: oklch(0.985 0 0);
86 --primary-foreground: oklch(0.21 0.006 285.885);
87 --secondary: oklch(0.274 0.006 286.033);
88 --secondary-foreground: oklch(0.985 0 0);
89 --muted: oklch(0.274 0.006 286.033);
90 --muted-foreground: oklch(0.705 0.015 286.067);
91 --accent: oklch(0.274 0.006 286.033);
92 --accent-foreground: oklch(0.985 0 0);
93 --destructive: oklch(0.396 0.141 25.723);
94 --destructive-foreground: oklch(0.637 0.237 25.331);
95 --border: oklch(0.274 0.006 286.033);
96 --input: oklch(0.274 0.006 286.033);
97 --ring: oklch(0.442 0.017 285.786);
98 --chart-1: oklch(0.488 0.243 264.376);
99 --chart-2: oklch(0.696 0.17 162.48);
100 --chart-3: oklch(0.769 0.188 70.08);
101 --chart-4: oklch(0.627 0.265 303.9);
102 --chart-5: oklch(0.645 0.246 16.439);
103 --sidebar: oklch(0.21 0.006 285.885);
104 --sidebar-foreground: oklch(0.985 0 0);
105 --sidebar-primary: oklch(0.488 0.243 264.376);
106 --sidebar-primary-foreground: oklch(0.985 0 0);
107 --sidebar-accent: oklch(0.274 0.006 286.033);
108 --sidebar-accent-foreground: oklch(0.985 0 0);
109 --sidebar-border: oklch(0.274 0.006 286.033);
110 --sidebar-ring: oklch(0.442 0.017 285.786);
111}
112
113@theme inline {
114 --color-background: var(--background);
115 --color-foreground: var(--foreground);
116 --color-card: var(--card);
117 --color-card-foreground: var(--card-foreground);
118 --color-popover: var(--popover);
119 --color-popover-foreground: var(--popover-foreground);
120 --color-primary: var(--primary);
121 --color-primary-foreground: var(--primary-foreground);
122 --color-secondary: var(--secondary);
123 --color-secondary-foreground: var(--secondary-foreground);
124 --color-muted: var(--muted);
125 --color-muted-foreground: var(--muted-foreground);
126 --color-accent: var(--accent);
127 --color-accent-foreground: var(--accent-foreground);
128 --color-destructive: var(--destructive);
129 --color-destructive-foreground: var(--destructive-foreground);
130 --color-border: var(--border);
131 --color-input: var(--input);
132 --color-ring: var(--ring);
133 --color-chart-1: var(--chart-1);
134 --color-chart-2: var(--chart-2);
135 --color-chart-3: var(--chart-3);
136 --color-chart-4: var(--chart-4);
137 --color-chart-5: var(--chart-5);
138 --radius-sm: calc(var(--radius) - 4px);
139 --radius-md: calc(var(--radius) - 2px);
140 --radius-lg: var(--radius);
141 --radius-xl: calc(var(--radius) + 4px);
142 --color-sidebar: var(--sidebar);
143 --color-sidebar-foreground: var(--sidebar-foreground);
144 --color-sidebar-primary: var(--sidebar-primary);
145 --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
146 --color-sidebar-accent: var(--sidebar-accent);
147 --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
148 --color-sidebar-border: var(--sidebar-border);
149 --color-sidebar-ring: var(--sidebar-ring);
150 --container-8xl: 96rem;
151 --container-9xl: 120rem;
152 --container-10xl: 144rem;
153}
154
155@layer base {
156 :root {
157 --sidebar-background: 0 0% 98%;
158 --sidebar-foreground: 240 5.3% 26.1%;
159 --sidebar-primary: 240 5.9% 10%;
160 --sidebar-primary-foreground: 0 0% 98%;
161 --sidebar-accent: 240 4.8% 95.9%;
162 --sidebar-accent-foreground: 240 5.9% 10%;
163 --sidebar-border: 220 13% 91%;
164 --sidebar-ring: 217.2 91.2% 59.8%;
165 }
166
167 .dark {
168 --sidebar-background: 240 5.9% 10%;
169 --sidebar-foreground: 240 4.8% 95.9%;
170 --sidebar-primary: 224.3 76.3% 48%;
171 --sidebar-primary-foreground: 0 0% 100%;
172 --sidebar-accent: 240 3.7% 15.9%;
173 --sidebar-accent-foreground: 240 4.8% 95.9%;
174 --sidebar-border: 240 3.7% 15.9%;
175 --sidebar-ring: 217.2 91.2% 59.8%;
176 }
177}
178
179@layer base {
180 html,
181 body {
182 @apply text-gray-900 bg-gray-50 dark:bg-black dark:text-gray-200;
183 background: rgb(3, 7, 18);
184 }
185
186 .using-mouse * {
187 outline: none !important;
188 }
189
190 * {
191 scrollbar-color: theme(colors.gray.400) theme(colors.gray.100);
192 }
193
194 *::-webkit-scrollbar,
195 * scrollbar {
196 width: 1rem;
197 height: 1rem;
198 }
199
200 *::-webkit-scrollbar-track,
201 * scrollbar-track {
202 background: theme(colors.gray.100);
203 }
204
205 *::-webkit-scrollbar-thumb,
206 * scrollbar-thumb {
207 background: theme(colors.gray.300);
208 border-radius: 0.5rem;
209 border: 3px solid theme(colors.gray.100);
210 }
211
212 html.dark {
213 &,
214 * {
215 color-scheme: dark;
216 }
217
218 &,
219 * {
220 scrollbar-color: theme(colors.gray.700) theme(colors.gray.800);
221 }
222
223 &::-webkit-scrollbar,
224 *::-webkit-scrollbar,
225 * scrollbar {
226 width: 1rem;
227 height: 1rem;
228 }
229
230 & *::-webkit-scrollbar-track,
231 *::-webkit-scrollbar-track,
232 * scrollbar-track {
233 background: theme(colors.gray.800);
234 }
235
236 &::-webkit-scrollbar-thumb,
237 *::-webkit-scrollbar-thumb,
238 * scrollbar-thumb {
239 background: theme(colors.gray.600);
240 border-radius: 0.5rem;
241 border: 3px solid theme(colors.gray.800);
242 }
243 }
244
245 [disabled] {
246 @apply opacity-50 pointer-events-none;
247 }
248}
249
250.cm-changedLine {
251 background-color: oklch(0.27 0.005 285.823) !important;
252}
253
254.file-filters {
255 background-color: oklch(0.2 0.005 285.823);
256}
257
258.font-black {
259 font-weight: 900;
260}
261
262.font-medium {
263 font-weight: 800;
264}