|
3 | 3 | @custom-variant dark (&:is(.dark *));
|
4 | 4 |
|
5 | 5 | @theme inline {
|
6 |
| - --color-background: var(--background); |
7 |
| - --color-foreground: var(--foreground); |
8 |
| - --font-sans: var(--font-geist-sans); |
9 |
| - --font-mono: var(--font-geist-mono); |
10 |
| - --color-sidebar-ring: var(--sidebar-ring); |
11 |
| - --color-sidebar-border: var(--sidebar-border); |
12 |
| - --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); |
13 |
| - --color-sidebar-accent: var(--sidebar-accent); |
14 |
| - --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); |
15 |
| - --color-sidebar-primary: var(--sidebar-primary); |
16 |
| - --color-sidebar-foreground: var(--sidebar-foreground); |
17 |
| - --color-sidebar: var(--sidebar); |
18 |
| - --color-chart-5: var(--chart-5); |
19 |
| - --color-chart-4: var(--chart-4); |
20 |
| - --color-chart-3: var(--chart-3); |
21 |
| - --color-chart-2: var(--chart-2); |
22 |
| - --color-chart-1: var(--chart-1); |
23 |
| - --color-ring: var(--ring); |
24 |
| - --color-input: var(--input); |
25 |
| - --color-border: var(--border); |
26 |
| - --color-destructive: var(--destructive); |
27 |
| - --color-accent-foreground: var(--accent-foreground); |
28 |
| - --color-accent: var(--accent); |
29 |
| - --color-muted-foreground: var(--muted-foreground); |
30 |
| - --color-muted: var(--muted); |
31 |
| - --color-secondary-foreground: var(--secondary-foreground); |
32 |
| - --color-secondary: var(--secondary); |
33 |
| - --color-primary-foreground: var(--primary-foreground); |
34 |
| - --color-primary: var(--primary); |
35 |
| - --color-popover-foreground: var(--popover-foreground); |
36 |
| - --color-popover: var(--popover); |
37 |
| - --color-card-foreground: var(--card-foreground); |
38 |
| - --color-card: var(--card); |
39 |
| - --color-callout-foreground: var(--callout-foreground); |
40 |
| - --color-callout: var(--callout); |
41 |
| - --color-status-green: var(--status-green); |
42 |
| - --color-status-yellow: var(--status-yellow); |
43 |
| - --color-status-orange: var(--status-orange); |
44 |
| - --color-status-red: var(--status-red); |
45 |
| - --color-matched-region: var(--matched-region); |
46 |
| - --color-matched-region-foreground: var(--matched-region-foreground); |
47 | 6 | --radius-sm: calc(var(--radius) - 4px);
|
48 | 7 | --radius-md: calc(var(--radius) - 2px);
|
49 | 8 | --radius-lg: var(--radius);
|
50 | 9 | --radius-xl: calc(var(--radius) + 4px);
|
| 10 | + --color-background: var(--background); |
| 11 | + --color-foreground: var(--foreground); |
| 12 | + --color-card: var(--card); |
| 13 | + --color-card-foreground: var(--card-foreground); |
| 14 | + --color-popover: var(--popover); |
| 15 | + --color-popover-foreground: var(--popover-foreground); |
| 16 | + --color-primary: var(--primary); |
| 17 | + --color-primary-foreground: var(--primary-foreground); |
| 18 | + --color-secondary: var(--secondary); |
| 19 | + --color-secondary-foreground: var(--secondary-foreground); |
| 20 | + --color-muted: var(--muted); |
| 21 | + --color-muted-foreground: var(--muted-foreground); |
| 22 | + --color-accent: var(--accent); |
| 23 | + --color-accent-foreground: var(--accent-foreground); |
| 24 | + --color-destructive: var(--destructive); |
| 25 | + --color-border: var(--border); |
| 26 | + --color-input: var(--input); |
| 27 | + --color-ring: var(--ring); |
| 28 | + --color-chart-1: var(--chart-1); |
| 29 | + --color-chart-2: var(--chart-2); |
| 30 | + --color-chart-3: var(--chart-3); |
| 31 | + --color-chart-4: var(--chart-4); |
| 32 | + --color-chart-5: var(--chart-5); |
| 33 | + --color-sidebar: var(--sidebar); |
| 34 | + --color-sidebar-foreground: var(--sidebar-foreground); |
| 35 | + --color-sidebar-primary: var(--sidebar-primary); |
| 36 | + --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); |
| 37 | + --color-sidebar-accent: var(--sidebar-accent); |
| 38 | + --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); |
| 39 | + --color-sidebar-border: var(--sidebar-border); |
| 40 | + --color-sidebar-ring: var(--sidebar-ring); |
51 | 41 | }
|
52 | 42 |
|
53 | 43 | :root {
|
54 |
| - --radius: 0.5rem; |
55 |
| - /* Light modern theme matching the screenshot */ |
56 |
| - --background: #ffffff; /* White background */ |
57 |
| - --foreground: #0C0D0D; /* Specified text color */ |
58 |
| - --card: #ffffff; |
59 |
| - --card-foreground: #0C0D0D; |
60 |
| - --popover: #ffffff; |
61 |
| - --popover-foreground: #0C0D0D; |
62 |
| - --primary: oklch(0.3 0 0); |
63 |
| - --primary-foreground: oklch(0.98 0 0); |
64 |
| - --secondary: oklch(0.95 0 0); |
65 |
| - --secondary-foreground: oklch(0.3 0 0); |
66 |
| - --muted: oklch(0.96 0 0); |
67 |
| - --muted-foreground: oklch(0.55 0 0); |
68 |
| - --accent: oklch(0.96 0 0); |
69 |
| - --accent-foreground: oklch(0.3 0 0); |
70 |
| - --destructive: oklch(0.7 0.15 30); |
71 |
| - --destructive-foreground: oklch(1 0 0); |
72 |
| - --border: oklch(0.9 0 0); |
73 |
| - --input: oklch(0.9 0 0); |
74 |
| - --ring: oklch(0.7 0 0); |
75 |
| - --callout: rgb(254 249 195); /* bg-yellow-50 */ |
76 |
| - --callout-foreground: oklch(0.3 0 0); |
77 |
| - --status-green: rgb(22 163 74); /* text-green-600 */ |
78 |
| - --status-yellow: rgb(202 138 4); /* text-yellow-600 */ |
79 |
| - --status-orange: rgb(234 88 12); /* text-orange-600 */ |
80 |
| - --status-red: rgb(220 38 38); /* text-red-600 */ |
81 |
| - --matched-region: rgb(240 253 244); /* bg-green-50 */ |
82 |
| - --matched-region-foreground: oklch(0.3 0 0); |
83 |
| - |
84 |
| - /* Chart colors matching the screenshot */ |
85 |
| - --chart-1: oklch(0.65 0.2 40); /* Orange/coral */ |
86 |
| - --chart-2: oklch(0.6 0.12 180); /* Teal */ |
87 |
| - --chart-3: oklch(0.4 0.07 220); /* Navy */ |
88 |
| - --chart-4: oklch(0.83 0.19 85); /* Yellow */ |
89 |
| - --chart-5: oklch(0.77 0.19 70); /* Orange */ |
90 |
| - |
91 |
| - /* Sidebar styling matching the screenshot */ |
92 |
| - --sidebar: #ffffff; |
93 |
| - --sidebar-foreground: #0C0D0D; |
94 |
| - --sidebar-primary: oklch(0.3 0 0); |
95 |
| - --sidebar-primary-foreground: oklch(0.98 0 0); |
96 |
| - --sidebar-accent: oklch(0.95 0 0); |
97 |
| - --sidebar-accent-foreground: oklch(0.3 0 0); |
98 |
| - --sidebar-border: oklch(0.92 0 0); |
99 |
| - --sidebar-ring: oklch(0.7 0 0); |
100 |
| -} |
101 |
| - |
102 |
| -@media (prefers-color-scheme: dark) { |
103 |
| - :root { |
104 |
| - --background: #000000; /* Black background */ |
105 |
| - --foreground: #ffffff; /* White text */ |
106 |
| - --card: #0C0D0D; |
107 |
| - --card-foreground: #ffffff; |
108 |
| - --popover: #0C0D0D; |
109 |
| - --popover-foreground: #ffffff; |
110 |
| - --primary: oklch(0.92 0 0); |
111 |
| - --primary-foreground: oklch(0.2 0 0); |
112 |
| - --secondary: oklch(0.27 0 0); |
113 |
| - --secondary-foreground: oklch(0.98 0 0); |
114 |
| - --muted: oklch(0.27 0 0); |
115 |
| - --muted-foreground: oklch(0.7 0 0); |
116 |
| - --accent: oklch(0.27 0 0); |
117 |
| - --accent-foreground: oklch(0.98 0 0); |
118 |
| - --destructive: oklch(0.7 0.19 22); |
119 |
| - --border: oklch(1 0 0 / 10%); |
120 |
| - --input: oklch(1 0 0 / 15%); |
121 |
| - --ring: oklch(0.55 0 0); |
122 |
| - --callout: rgb(76 29 149 / 0.2); /* dark:bg-yellow-900/20 */ |
123 |
| - --callout-foreground: #ffffff; |
124 |
| - --status-green: rgb(74 222 128); /* dark:text-green-400 */ |
125 |
| - --status-yellow: rgb(250 204 21); /* dark:text-yellow-400 */ |
126 |
| - --status-orange: rgb(251 146 60); /* dark:text-orange-400 */ |
127 |
| - --status-red: rgb(248 113 113); /* dark:text-red-400 */ |
128 |
| - --matched-region: rgb(6 78 59 / 0.2); /* dark:bg-green-950/20 */ |
129 |
| - --matched-region-foreground: #ffffff; |
130 |
| - |
131 |
| - /* Dark mode chart colors */ |
132 |
| - --chart-1: oklch(0.49 0.24 264); |
133 |
| - --chart-2: oklch(0.7 0.17 162); |
134 |
| - --chart-3: oklch(0.77 0.19 70); |
135 |
| - --chart-4: oklch(0.63 0.26 304); |
136 |
| - --chart-5: oklch(0.65 0.25 16); |
137 |
| - |
138 |
| - /* Dark mode sidebar */ |
139 |
| - --sidebar: #000000; |
140 |
| - --sidebar-foreground: #ffffff; |
141 |
| - --sidebar-primary: oklch(0.49 0.24 264); |
142 |
| - --sidebar-primary-foreground: oklch(0.98 0 0); |
143 |
| - --sidebar-accent: oklch(0.27 0 0); |
144 |
| - --sidebar-accent-foreground: oklch(0.98 0 0); |
145 |
| - --sidebar-border: oklch(1 0 0 / 10%); |
146 |
| - --sidebar-ring: oklch(0.55 0 0); |
147 |
| - } |
| 44 | + --radius: 0.625rem; |
| 45 | + --background: oklch(1 0 0); |
| 46 | + --foreground: oklch(0.145 0 0); |
| 47 | + --card: oklch(1 0 0); |
| 48 | + --card-foreground: oklch(0.145 0 0); |
| 49 | + --popover: oklch(1 0 0); |
| 50 | + --popover-foreground: oklch(0.145 0 0); |
| 51 | + --primary: oklch(0.205 0 0); |
| 52 | + --primary-foreground: oklch(0.985 0 0); |
| 53 | + --secondary: oklch(0.97 0 0); |
| 54 | + --secondary-foreground: oklch(0.205 0 0); |
| 55 | + --muted: oklch(0.97 0 0); |
| 56 | + --muted-foreground: oklch(0.556 0 0); |
| 57 | + --accent: oklch(0.97 0 0); |
| 58 | + --accent-foreground: oklch(0.205 0 0); |
| 59 | + --destructive: oklch(0.577 0.245 27.325); |
| 60 | + --border: oklch(0.922 0 0); |
| 61 | + --input: oklch(0.922 0 0); |
| 62 | + --ring: oklch(0.708 0 0); |
| 63 | + --chart-1: oklch(0.646 0.222 41.116); |
| 64 | + --chart-2: oklch(0.6 0.118 184.704); |
| 65 | + --chart-3: oklch(0.398 0.07 227.392); |
| 66 | + --chart-4: oklch(0.828 0.189 84.429); |
| 67 | + --chart-5: oklch(0.769 0.188 70.08); |
| 68 | + --sidebar: oklch(0.985 0 0); |
| 69 | + --sidebar-foreground: oklch(0.145 0 0); |
| 70 | + --sidebar-primary: oklch(0.205 0 0); |
| 71 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 72 | + --sidebar-accent: oklch(0.97 0 0); |
| 73 | + --sidebar-accent-foreground: oklch(0.205 0 0); |
| 74 | + --sidebar-border: oklch(0.922 0 0); |
| 75 | + --sidebar-ring: oklch(0.708 0 0); |
148 | 76 | }
|
149 | 77 |
|
150 | 78 | .dark {
|
151 |
| - --background: #000000; /* Black background */ |
152 |
| - --foreground: #ffffff; /* White text */ |
153 |
| - --card: #0C0D0D; |
154 |
| - --card-foreground: #ffffff; |
155 |
| - --popover: #0C0D0D; |
156 |
| - --popover-foreground: #ffffff; |
157 |
| - --primary: oklch(0.92 0 0); |
158 |
| - --primary-foreground: oklch(0.2 0 0); |
159 |
| - --secondary: oklch(0.27 0 0); |
160 |
| - --secondary-foreground: oklch(0.98 0 0); |
161 |
| - --muted: oklch(0.27 0 0); |
162 |
| - --muted-foreground: oklch(0.7 0 0); |
163 |
| - --accent: oklch(0.27 0 0); |
164 |
| - --accent-foreground: oklch(0.98 0 0); |
165 |
| - --destructive: oklch(0.7 0.19 22); |
| 79 | + --background: oklch(0.145 0 0); |
| 80 | + --foreground: oklch(0.985 0 0); |
| 81 | + --card: oklch(0.205 0 0); |
| 82 | + --card-foreground: oklch(0.985 0 0); |
| 83 | + --popover: oklch(0.205 0 0); |
| 84 | + --popover-foreground: oklch(0.985 0 0); |
| 85 | + --primary: oklch(0.922 0 0); |
| 86 | + --primary-foreground: oklch(0.205 0 0); |
| 87 | + --secondary: oklch(0.269 0 0); |
| 88 | + --secondary-foreground: oklch(0.985 0 0); |
| 89 | + --muted: oklch(0.269 0 0); |
| 90 | + --muted-foreground: oklch(0.708 0 0); |
| 91 | + --accent: oklch(0.269 0 0); |
| 92 | + --accent-foreground: oklch(0.985 0 0); |
| 93 | + --destructive: oklch(0.704 0.191 22.216); |
166 | 94 | --border: oklch(1 0 0 / 10%);
|
167 | 95 | --input: oklch(1 0 0 / 15%);
|
168 |
| - --ring: oklch(0.55 0 0); |
169 |
| - --callout: rgb(76 29 149 / 0.2); /* dark:bg-yellow-900/20 */ |
170 |
| - --callout-foreground: #ffffff; |
171 |
| - --status-green: rgb(74 222 128); /* dark:text-green-400 */ |
172 |
| - --status-yellow: rgb(250 204 21); /* dark:text-yellow-400 */ |
173 |
| - --status-orange: rgb(251 146 60); /* dark:text-orange-400 */ |
174 |
| - --status-red: rgb(248 113 113); /* dark:text-red-400 */ |
175 |
| - --matched-region: rgb(6 78 59 / 0.2); /* dark:bg-green-950/20 */ |
176 |
| - --matched-region-foreground: #ffffff; |
177 |
| - |
178 |
| - /* Dark mode chart colors */ |
179 |
| - --chart-1: oklch(0.49 0.24 264); |
180 |
| - --chart-2: oklch(0.7 0.17 162); |
181 |
| - --chart-3: oklch(0.77 0.19 70); |
182 |
| - --chart-4: oklch(0.63 0.26 304); |
183 |
| - --chart-5: oklch(0.65 0.25 16); |
184 |
| - |
185 |
| - /* Dark mode sidebar */ |
186 |
| - --sidebar: #000000; |
187 |
| - --sidebar-foreground: #ffffff; |
188 |
| - --sidebar-primary: oklch(0.49 0.24 264); |
189 |
| - --sidebar-primary-foreground: oklch(0.98 0 0); |
190 |
| - --sidebar-accent: oklch(0.27 0 0); |
191 |
| - --sidebar-accent-foreground: oklch(0.98 0 0); |
| 96 | + --ring: oklch(0.556 0 0); |
| 97 | + --chart-1: oklch(0.488 0.243 264.376); |
| 98 | + --chart-2: oklch(0.696 0.17 162.48); |
| 99 | + --chart-3: oklch(0.769 0.188 70.08); |
| 100 | + --chart-4: oklch(0.627 0.265 303.9); |
| 101 | + --chart-5: oklch(0.645 0.246 16.439); |
| 102 | + --sidebar: oklch(0.205 0 0); |
| 103 | + --sidebar-foreground: oklch(0.985 0 0); |
| 104 | + --sidebar-primary: oklch(0.488 0.243 264.376); |
| 105 | + --sidebar-primary-foreground: oklch(0.985 0 0); |
| 106 | + --sidebar-accent: oklch(0.269 0 0); |
| 107 | + --sidebar-accent-foreground: oklch(0.985 0 0); |
192 | 108 | --sidebar-border: oklch(1 0 0 / 10%);
|
193 |
| - --sidebar-ring: oklch(0.55 0 0); |
| 109 | + --sidebar-ring: oklch(0.556 0 0); |
194 | 110 | }
|
195 | 111 |
|
196 | 112 | @layer base {
|
197 | 113 | * {
|
198 |
| - @apply border-border; |
| 114 | + @apply border-border outline-ring/50; |
199 | 115 | }
|
200 | 116 | body {
|
201 | 117 | @apply bg-background text-foreground;
|
|
0 commit comments