The best way to control Claude Code, Codex and more from any computer or phone

main
ts 927 lines 40.9 KB
Raw
1 export const BUILT_IN_THEME_IDS = ["t3-chat", "grove", "ocean", "ember", "iris"] as const;
2
3 export const MOBILE_DEFAULT_THEME_ID = "t3-code";
4
5 export const MOBILE_THEME_IDS = [MOBILE_DEFAULT_THEME_ID, ...BUILT_IN_THEME_IDS] as const;
6
7 /** Reserve appearance keywords, built-ins, and legacy aliases so custom themes cannot capture stored preferences. */
8 export const RESERVED_THEME_IDS: ReadonlySet<string> = new Set([
9 "system",
10 "light",
11 "dark",
12 ...BUILT_IN_THEME_IDS,
13 "t3-chat-dark",
14 "t3-grove",
15 "t3-ocean",
16 "t3-ember",
17 "t3-iris",
18 ]);
19
20 /** The mobile default id is valid in saved themes but cannot be published because web/desktop cannot resolve it. */
21 export const UNPUBLISHABLE_THEME_IDS: ReadonlySet<string> = new Set([
22 ...RESERVED_THEME_IDS,
23 MOBILE_DEFAULT_THEME_ID,
24 ]);
25
26 export type BuiltInThemeId = (typeof BUILT_IN_THEME_IDS)[number];
27 export type MobileThemeId = (typeof MOBILE_THEME_IDS)[number];
28 export type ThemeAppearance = "light" | "dark";
29
30 export const THEME_COLOR_ROLES = [
31 "canvas",
32 "chrome",
33 "toolbar",
34 "toolbarForeground",
35 "toolbarBorder",
36 "toolbarControl",
37 "toolbarControlForeground",
38 "toolbarControlHover",
39 "surface",
40 "surfaceRaised",
41 "surfaceOverlay",
42 "text",
43 "textMuted",
44 "border",
45 "input",
46 "focus",
47 "accent",
48 "accentForeground",
49 "secondary",
50 "secondaryForeground",
51 "muted",
52 "mutedForeground",
53 "placeholder",
54 "secondaryLabel",
55 "iconMuted",
56 "error",
57 "errorForeground",
58 "errorSurface",
59 "warning",
60 "warningForeground",
61 "warningSurface",
62 "update",
63 "updateForeground",
64 "updateSurface",
65 "accentSurface",
66 "accentSurfaceForeground",
67 "messageSurface",
68 "messageForeground",
69 "messageAction",
70 "messageActionForeground",
71 "messageActionHover",
72 "codeBackground",
73 "codeForeground",
74 "searchMatchBackground",
75 "searchMatchForeground",
76 "searchMatchActiveBackground",
77 "searchMatchActiveForeground",
78 "sidebar",
79 "sidebarForeground",
80 "sidebarMutedForeground",
81 "sidebarControlSurface",
82 "sidebarRowHover",
83 "sidebarRowActive",
84 "sidebarRowSelected",
85 "sidebarBorder",
86 "terminalBackground",
87 "terminalForeground",
88 "terminalCursor",
89 "terminalSelection",
90 "terminalScrollbar",
91 "terminalScrollbarHover",
92 ] as const;
93
94 export type ThemeColorRole = (typeof THEME_COLOR_ROLES)[number];
95 export type ThemeColors = Readonly<Record<ThemeColorRole, string>>;
96 export type ThemeVariants = Readonly<Partial<Record<ThemeAppearance, ThemeColors>>>;
97 export type ThemeDefinition = Readonly<{
98 id: string;
99 label: string;
100 appearance: ThemeAppearance;
101 colors: ThemeColors;
102 variants?: ThemeVariants;
103 collection?: Readonly<{ id: string; label: string }>;
104 sidebarArtwork?: boolean;
105 managed?: boolean;
106 /** Custom styles for web and desktop. */
107 css?: string;
108 }>;
109
110 export const T3_CODE_LIGHT_THEME_COLORS: ThemeColors = {
111 searchMatchBackground: "#ffde8b",
112 searchMatchForeground: "#21180a",
113 searchMatchActiveBackground: "#eea52b",
114 searchMatchActiveForeground: "#21180a",
115 canvas: "#fcfcfc",
116 chrome: "#fcfcfc",
117 toolbar: "#fcfcfc",
118 toolbarForeground: "#27272a",
119 toolbarBorder: "#e4e4e7",
120 toolbarControl: "#ffffff",
121 toolbarControlForeground: "#27272a",
122 toolbarControlHover: "#f4f4f5",
123 surface: "#ffffff",
124 surfaceRaised: "#fcfcfc",
125 surfaceOverlay: "#ffffff",
126 text: "#27272a",
127 textMuted: "#71717b",
128 border: "#e4e4e7",
129 input: "#d4d4d8",
130 focus: "#1b4ed8",
131 accent: "#1b4ed8",
132 accentForeground: "#ffffff",
133 secondary: "#fafafa",
134 secondaryForeground: "#27272a",
135 muted: "#fafafa",
136 mutedForeground: "#71717b",
137 placeholder: "#71717b",
138 secondaryLabel: "#71717b",
139 iconMuted: "#71717b",
140 error: "#fb2c36",
141 errorForeground: "#c10007",
142 errorSurface: "#fcebec",
143 warning: "#fe9a00",
144 warningForeground: "#bb4d00",
145 warningSurface: "#fcf4e8",
146 update: "#1b4ed8",
147 updateForeground: "#1b4ed8",
148 updateSurface: "#e0e6f7",
149 accentSurface: "#f4f4f5",
150 accentSurfaceForeground: "#18181b",
151 messageSurface: "#f4f4f5",
152 messageForeground: "#27272a",
153 messageAction: "#1b4ed8",
154 messageActionForeground: "#ffffff",
155 messageActionHover: "#3160db",
156 codeBackground: "#ffffff",
157 codeForeground: "#27272a",
158 sidebar: "#fafafa",
159 sidebarForeground: "#27272a",
160 sidebarMutedForeground: "#71717b",
161 sidebarControlSurface: "#f4f4f5",
162 sidebarRowHover: "#fcfcfc",
163 sidebarRowActive: "#ffffff",
164 sidebarRowSelected: "#ffffff",
165 sidebarBorder: "#e4e4e7",
166 terminalBackground: "#fcfcfc",
167 terminalForeground: "#27272a",
168 terminalCursor: "#26384e",
169 terminalSelection: "#d0d6dd",
170 terminalScrollbar: "#d6d6d6",
171 terminalScrollbarHover: "#bdbdbd",
172 };
173
174 export const T3_CODE_DARK_THEME_COLORS: ThemeColors = {
175 searchMatchBackground: "#8c6c1f",
176 searchMatchForeground: "#f5f5f5",
177 searchMatchActiveBackground: "#eea52b",
178 searchMatchActiveForeground: "#21180a",
179 canvas: "#0a0a0a",
180 chrome: "#0a0a0a",
181 toolbar: "#0a0a0a",
182 toolbarForeground: "#f5f5f5",
183 toolbarBorder: "#191919",
184 toolbarControl: "#111111",
185 toolbarControlForeground: "#f5f5f5",
186 toolbarControlHover: "#141414",
187 surface: "#111111",
188 surfaceRaised: "#111111",
189 surfaceOverlay: "#111111",
190 text: "#f5f5f5",
191 textMuted: "#818181",
192 border: "#191919",
193 input: "#1e1e1e",
194 focus: "#346bf1",
195 accent: "#346bf1",
196 accentForeground: "#ffffff",
197 secondary: "#111111",
198 secondaryForeground: "#f5f5f5",
199 muted: "#111111",
200 mutedForeground: "#818181",
201 placeholder: "#818181",
202 secondaryLabel: "#818181",
203 iconMuted: "#818181",
204 error: "#fb414a",
205 errorForeground: "#ff6467",
206 errorSurface: "#301214",
207 warning: "#fe9a00",
208 warningForeground: "#ffb900",
209 warningSurface: "#312108",
210 update: "#346bf1",
211 updateForeground: "#51a2ff",
212 updateSurface: "#121b34",
213 accentSurface: "#141414",
214 accentSurfaceForeground: "#f5f5f5",
215 messageSurface: "#141414",
216 messageForeground: "#f5f5f5",
217 messageAction: "#346bf1",
218 messageActionForeground: "#ffffff",
219 messageActionHover: "#3061d9",
220 codeBackground: "#111111",
221 codeForeground: "#f5f5f5",
222 sidebar: "#000000",
223 sidebarForeground: "#f1f3f7",
224 sidebarMutedForeground: "#a3a3a3",
225 sidebarControlSurface: "#0a0a0a",
226 sidebarRowHover: "#131313",
227 sidebarRowActive: "#1a1b1b",
228 sidebarRowSelected: "#111111",
229 sidebarBorder: "#141414",
230 terminalBackground: "#0a0a0a",
231 terminalForeground: "#f5f5f5",
232 terminalCursor: "#b4cbff",
233 terminalSelection: "#343a47",
234 terminalScrollbar: "#222222",
235 terminalScrollbarHover: "#363636",
236 };
237
238 export const T3_CHAT_THEME: ThemeDefinition = {
239 id: "t3-chat",
240 label: "T3 Chat",
241 appearance: "light",
242 colors: {
243 canvas: "oklch(0.982446 0.010114 325.653)",
244 chrome: "oklch(0.982446 0.010114 325.653)",
245 toolbar: "oklch(0.982446 0.010114 325.653)",
246 toolbarForeground: "oklch(0.325698 0.116116 325.037)",
247 toolbarBorder: "oklch(0.856784 0.082879 328.911)",
248 toolbarControl: "oklch(0.939552 0.024286 321.664)",
249 toolbarControlForeground: "oklch(0.325698 0.116116 325.037)",
250 toolbarControlHover: "oklch(0.884525 0.041658 337.177)",
251 surface: "oklch(0.971835 0.012884 321.894)",
252 surfaceRaised: "oklch(0.988235 0.005049 325.615)",
253 surfaceOverlay: "oklch(1 0 0)",
254 text: "oklch(0.325698 0.116116 325.037)",
255 textMuted: "oklch(0.494754 0.190937 354.544)",
256 border: "oklch(0.923531 0.021247 328.096)",
257 input: "oklch(0.851713 0.055822 336.6)",
258 focus: "oklch(0.591646 0.217985 0.584)",
259 accent: "oklch(0.591646 0.217985 0.584)",
260 accentForeground: "oklch(1 0 0)",
261 secondary: "oklch(0.869588 0.06751 334.899)",
262 secondaryForeground: "oklch(0.444777 0.134061 324.799)",
263 muted: "oklch(0.802407 0.090963 345.892)",
264 mutedForeground: "oklch(0.428932 0.163929 354.332)",
265 placeholder: "oklch(0.549927 0.090215 323.149)",
266 secondaryLabel: "oklch(0.494754 0.190937 354.544)",
267 iconMuted: "oklch(0.494754 0.190937 354.544)",
268 error: "oklch(0.627117 0.248974 7.734)",
269 errorForeground: "oklch(0.458704 0.169677 3.815)",
270 errorSurface: "oklch(0.942787 0.032076 344.963)",
271 warning: "oklch(0.76859 0.164659 70.08)",
272 warningForeground: "oklch(0.54612 0.143036 48.949)",
273 warningSurface: "oklch(0.962901 0.015297 48.56)",
274 update: "oklch(0.591646 0.217985 0.584)",
275 updateForeground: "oklch(0.494754 0.190937 354.544)",
276 updateSurface: "oklch(0.930264 0.036194 341.45)",
277 accentSurface: "oklch(0.939552 0.024286 321.664)",
278 accentSurfaceForeground: "oklch(0.396296 0.025134 285.196)",
279 messageSurface: "oklch(0.926746 0.037898 332.6)",
280 messageForeground: "oklch(0.354591 0.093575 307.568)",
281 messageAction: "oklch(0.591646 0.217985 0.584)",
282 messageActionForeground: "oklch(1 0 0)",
283 messageActionHover: "oklch(0.539042 0.197866 0.305)",
284 codeBackground: "oklch(0.953855 0.019695 315.668)",
285 codeForeground: "oklch(0.445128 0.13005 307.026)",
286 searchMatchBackground: "oklch(0.915 0.11 85)",
287 searchMatchForeground: "oklch(0.216164 0.028283 77.423)",
288 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
289 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
290 sidebar: "oklch(0.928886 0.031178 322.592)",
291 sidebarForeground: "oklch(0.396296 0.025134 285.196)",
292 sidebarMutedForeground: "oklch(0.494754 0.190937 354.544)",
293 sidebarControlSurface: "oklch(0.978851 0.001321 106.424)",
294 sidebarRowHover: "oklch(0.978851 0.001321 106.424)",
295 sidebarRowActive: "oklch(0.978851 0.001321 106.424)",
296 sidebarRowSelected: "oklch(0.978851 0.001321 106.424)",
297 sidebarBorder: "oklch(0.938313 0.002552 48.717)",
298 terminalBackground: "oklch(0.982446 0.010114 325.653)",
299 terminalForeground: "oklch(0.325698 0.116116 325.037)",
300 terminalCursor: "oklch(0.591646 0.217985 0.584)",
301 terminalSelection: "oklch(0.869588 0.06751 334.899)",
302 terminalScrollbar: "oklch(0.851713 0.055822 336.6)",
303 terminalScrollbarHover: "oklch(0.802407 0.090963 345.892)",
304 },
305 variants: {
306 dark: {
307 canvas: "oklch(0.22813 0.020366 307.469)",
308 chrome: "oklch(0.22813 0.020366 307.469)",
309 toolbar: "oklch(0.22813 0.020366 307.469)",
310 toolbarForeground: "oklch(0.980735 0.004092 301.426)",
311 toolbarBorder: "oklch(0.266943 0.015262 302.425)",
312 toolbarControl: "oklch(0.313674 0.030572 310.061)",
313 toolbarControlForeground: "oklch(0.848252 0.038248 307.961)",
314 toolbarControlHover: "oklch(0.364912 0.050794 308.491)",
315 surface: "oklch(0.267101 0.02016 311.799)",
316 surfaceRaised: "oklch(0.279864 0.021572 309.532)",
317 surfaceOverlay: "oklch(0.154761 0.01316 338.901)",
318 text: "oklch(0.980735 0.004092 301.426)",
319 textMuted: "oklch(0.880303 0.03077 342.696)",
320 border: "oklch(0.266943 0.015262 302.425)",
321 input: "oklch(0.266817 0.02897 344.461)",
322 focus: "oklch(0.591646 0.217985 0.584)",
323 accent: "oklch(0.460685 0.185347 4.099)",
324 accentForeground: "oklch(0.901233 0.057189 343.694)",
325 secondary: "oklch(0.313674 0.030572 310.061)",
326 secondaryForeground: "oklch(0.848252 0.038248 307.961)",
327 muted: "oklch(0.360924 0.021469 316.83)",
328 mutedForeground: "oklch(0.880303 0.03077 342.696)",
329 placeholder: "oklch(0.657087 0.028226 307.985)",
330 secondaryLabel: "oklch(0.880303 0.03077 342.696)",
331 iconMuted: "oklch(0.848252 0.038248 307.961)",
332 error: "oklch(0.458704 0.169677 3.815)",
333 errorForeground: "oklch(0.901233 0.057189 343.694)",
334 errorSurface: "oklch(0.259022 0.04799 340.062)",
335 warning: "oklch(0.76859 0.164659 70.08)",
336 warningForeground: "oklch(0.836861 0.164422 84.429)",
337 warningSurface: "oklch(0.321706 0.036256 60.806)",
338 update: "oklch(0.460685 0.185347 4.099)",
339 updateForeground: "oklch(0.901233 0.057189 343.694)",
340 updateSurface: "oklch(0.256077 0.063004 342.914)",
341 accentSurface: "oklch(0.364912 0.050794 308.491)",
342 accentSurfaceForeground: "oklch(0.964695 0.009139 341.803)",
343 messageSurface: "oklch(0.273791 0.025541 309.079)",
344 messageForeground: "oklch(0.949872 0.021269 306.838)",
345 messageAction: "oklch(0.460685 0.185347 4.099)",
346 messageActionForeground: "oklch(0.901233 0.057189 343.694)",
347 messageActionHover: "oklch(0.458754 0.184639 3.857)",
348 codeBackground: "oklch(0.22813 0.020366 307.469)",
349 codeForeground: "oklch(0.848703 0.064239 306.645)",
350 searchMatchBackground: "oklch(0.55 0.1 85)",
351 searchMatchForeground: "oklch(0.970151 0 0)",
352 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
353 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
354 sidebar: "oklch(0.185778 0.019368 322.159)",
355 sidebarForeground: "oklch(0.967434 0.001326 286.375)",
356 sidebarMutedForeground: "oklch(0.880303 0.03077 342.696)",
357 sidebarControlSurface: "oklch(0.23366 0.026081 338.196)",
358 sidebarRowHover: "oklch(0.23366 0.026081 338.196)",
359 sidebarRowActive: "oklch(0.23366 0.026081 338.196)",
360 sidebarRowSelected: "oklch(0.23366 0.026081 338.196)",
361 sidebarBorder: "oklch(0.269132 0.030766 351.067)",
362 terminalBackground: "oklch(0.22813 0.020366 307.469)",
363 terminalForeground: "oklch(0.980735 0.004092 301.426)",
364 terminalCursor: "oklch(0.591646 0.217985 0.584)",
365 terminalSelection: "oklch(0.313674 0.030572 310.061)",
366 terminalScrollbar: "oklch(0.266817 0.02897 344.461)",
367 terminalScrollbarHover: "oklch(0.360924 0.021469 316.83)",
368 },
369 },
370 sidebarArtwork: true,
371 };
372
373 export const GROVE_THEME: ThemeDefinition = {
374 id: "grove",
375 label: "Grove",
376 appearance: "light",
377 colors: {
378 canvas: "oklch(0.972369 0.005497 157.15)",
379 chrome: "oklch(0.972369 0.005497 157.15)",
380 toolbar: "oklch(0.972369 0.005497 157.15)",
381 toolbarForeground: "oklch(0.222003 0.03479 328.979)",
382 toolbarBorder: "oklch(0.909438 0.021521 164.612)",
383 toolbarControl: "oklch(0.936464 0.014601 163.554)",
384 toolbarControlForeground: "oklch(0.222003 0.03479 328.979)",
385 toolbarControlHover: "oklch(0.909438 0.021521 164.612)",
386 surface: "oklch(0.972369 0.005497 157.15)",
387 surfaceRaised: "oklch(0.949276 0.004496 159.002)",
388 surfaceOverlay: "oklch(0.932695 0.003778 160.944)",
389 text: "oklch(0.222003 0.03479 328.979)",
390 textMuted: "oklch(0.540472 0.014944 326.176)",
391 border: "oklch(0.864831 0.01312 167.255)",
392 input: "oklch(0.829746 0.016084 168.234)",
393 focus: "oklch(0.523295 0.112292 158.089)",
394 accent: "oklch(0.523295 0.112292 158.089)",
395 accentForeground: "oklch(0.990339 0.008411 325.64)",
396 secondary: "oklch(0.936464 0.014601 163.554)",
397 secondaryForeground: "oklch(0.222003 0.03479 328.979)",
398 muted: "oklch(0.945455 0.012308 162.879)",
399 mutedForeground: "oklch(0.527266 0.012309 320.683)",
400 placeholder: "oklch(0.529681 0.01551 326.299)",
401 secondaryLabel: "oklch(0.540472 0.014944 326.176)",
402 iconMuted: "oklch(0.540472 0.014944 326.176)",
403 error: "oklch(0.637823 0.237287 25.436)",
404 errorForeground: "oklch(0.509494 0.208583 28.513)",
405 errorSurface: "oklch(0.936968 0.014243 26.295)",
406 warning: "oklch(0.772406 0.172798 65.367)",
407 warningForeground: "oklch(0.545036 0.155019 45.359)",
408 warningSurface: "oklch(0.953175 0.02009 93.379)",
409 update: "oklch(0.523295 0.112292 158.089)",
410 updateForeground: "oklch(0.388012 0.080082 158.768)",
411 updateSurface: "oklch(0.900411 0.02384 164.795)",
412 accentSurface: "oklch(0.909438 0.021521 164.612)",
413 accentSurfaceForeground: "oklch(0.222003 0.03479 328.979)",
414 messageSurface: "oklch(0.891377 0.026164 164.929)",
415 messageForeground: "oklch(0.222003 0.03479 328.979)",
416 messageAction: "oklch(0.535028 0.106403 77.549)",
417 messageActionForeground: "oklch(0.990339 0.008411 325.64)",
418 messageActionHover: "oklch(0.488753 0.096536 77.829)",
419 codeBackground: "oklch(0.955888 0.004783 158.391)",
420 codeForeground: "oklch(0.222003 0.03479 328.979)",
421 searchMatchBackground: "oklch(0.915 0.11 85)",
422 searchMatchForeground: "oklch(0.216164 0.028283 77.423)",
423 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
424 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
425 sidebar: "oklch(0.936464 0.014601 163.554)",
426 sidebarForeground: "oklch(0.222003 0.03479 328.979)",
427 sidebarMutedForeground: "oklch(0.515606 0.011938 318.897)",
428 sidebarControlSurface: "oklch(0.88585 0.011734 166.331)",
429 sidebarRowHover: "oklch(0.886676 0.027374 164.983)",
430 sidebarRowActive: "oklch(0.85335 0.03597 165.158)",
431 sidebarRowSelected: "oklch(0.836654 0.040284 165.149)",
432 sidebarBorder: "oklch(0.860274 0.010287 168.339)",
433 terminalBackground: "oklch(0.972369 0.005497 157.15)",
434 terminalForeground: "oklch(0.222003 0.03479 328.979)",
435 terminalCursor: "oklch(0.523295 0.112292 158.089)",
436 terminalSelection: "oklch(0.891377 0.026164 164.929)",
437 terminalScrollbar: "oklch(0.824752 0.001392 294.641)",
438 terminalScrollbarHover: "oklch(0.755495 0.004415 318.776)",
439 },
440 variants: {
441 dark: {
442 canvas: "oklch(0.260865 0.02152 162.75)",
443 chrome: "oklch(0.260865 0.02152 162.75)",
444 toolbar: "oklch(0.260865 0.02152 162.75)",
445 toolbarForeground: "oklch(0.990339 0.008411 325.64)",
446 toolbarBorder: "oklch(0.464636 0.066083 158.72)",
447 toolbarControl: "oklch(0.380487 0.048313 159.608)",
448 toolbarControlForeground: "oklch(0.990339 0.008411 325.64)",
449 toolbarControlHover: "oklch(0.437021 0.060312 158.962)",
450 surface: "oklch(0.260865 0.02152 162.75)",
451 surfaceRaised: "oklch(0.363192 0.016572 165.32)",
452 surfaceOverlay: "oklch(0.411828 0.014378 166.627)",
453 text: "oklch(0.990339 0.008411 325.64)",
454 textMuted: "oklch(0.666747 0.004239 187.292)",
455 border: "oklch(0.457475 0.044046 160.971)",
456 input: "oklch(0.519849 0.049896 160.863)",
457 focus: "oklch(0.796228 0.133058 157.319)",
458 accent: "oklch(0.796228 0.133058 157.319)",
459 accentForeground: "oklch(0.222003 0.03479 328.979)",
460 secondary: "oklch(0.380487 0.048313 159.608)",
461 secondaryForeground: "oklch(0.990339 0.008411 325.64)",
462 muted: "oklch(0.339728 0.039456 160.274)",
463 mutedForeground: "oklch(0.715427 0.010896 171.428)",
464 placeholder: "oklch(0.739243 0.002222 223.225)",
465 secondaryLabel: "oklch(0.666747 0.004239 187.292)",
466 iconMuted: "oklch(0.666747 0.004239 187.292)",
467 error: "oklch(0.655108 0.221148 23.473)",
468 errorForeground: "oklch(0.704237 0.187511 22.228)",
469 errorSurface: "oklch(0.312773 0.02923 32.121)",
470 warning: "oklch(0.772406 0.172798 65.367)",
471 warningForeground: "oklch(0.829017 0.171221 81.038)",
472 warningSurface: "oklch(0.345524 0.046882 99.736)",
473 update: "oklch(0.796228 0.133058 157.319)",
474 updateForeground: "oklch(0.86276 0.089288 159.704)",
475 updateSurface: "oklch(0.448116 0.062637 158.86)",
476 accentSurface: "oklch(0.437021 0.060312 158.962)",
477 accentSurfaceForeground: "oklch(0.990339 0.008411 325.64)",
478 messageSurface: "oklch(0.470111 0.067221 158.676)",
479 messageForeground: "oklch(0.990339 0.008411 325.64)",
480 messageAction: "oklch(0.791603 0.129713 83.299)",
481 messageActionForeground: "oklch(0.222003 0.03479 328.979)",
482 messageActionHover: "oklch(0.815227 0.117902 84.21)",
483 codeBackground: "oklch(0.312979 0.018942 164.082)",
484 codeForeground: "oklch(0.990339 0.008411 325.64)",
485 searchMatchBackground: "oklch(0.55 0.1 85)",
486 searchMatchForeground: "oklch(0.970151 0 0)",
487 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
488 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
489 sidebar: "oklch(0.309925 0.032827 160.944)",
490 sidebarForeground: "oklch(0.990339 0.008411 325.64)",
491 sidebarMutedForeground: "oklch(0.711387 0.007643 175.89)",
492 sidebarControlSurface: "oklch(0.432727 0.024549 163.654)",
493 sidebarRowHover: "oklch(0.374959 0.047124 159.686)",
494 sidebarRowActive: "oklch(0.41688 0.056069 159.165)",
495 sidebarRowSelected: "oklch(0.437466 0.060406 158.958)",
496 sidebarBorder: "oklch(0.569253 0.015933 167.062)",
497 terminalBackground: "oklch(0.260865 0.02152 162.75)",
498 terminalForeground: "oklch(0.990339 0.008411 325.64)",
499 terminalCursor: "oklch(0.796228 0.133058 157.319)",
500 terminalSelection: "oklch(0.464636 0.066083 158.72)",
501 terminalScrollbar: "oklch(0.594692 0.006862 176.022)",
502 terminalScrollbarHover: "oklch(0.687968 0.00354 193.55)",
503 },
504 },
505 sidebarArtwork: true,
506 };
507
508 export const OCEAN_THEME: ThemeDefinition = {
509 id: "ocean",
510 label: "Ocean",
511 appearance: "light",
512 colors: {
513 canvas: "oklch(0.974199 0.002856 241.597)",
514 chrome: "oklch(0.974199 0.002856 241.597)",
515 toolbar: "oklch(0.974199 0.002856 241.597)",
516 toolbarForeground: "oklch(0.222003 0.03479 328.979)",
517 toolbarBorder: "oklch(0.91295 0.018827 241.836)",
518 toolbarControl: "oklch(0.939254 0.01193 241.729)",
519 toolbarControlForeground: "oklch(0.222003 0.03479 328.979)",
520 toolbarControlHover: "oklch(0.91295 0.018827 241.836)",
521 surface: "oklch(0.974199 0.002856 241.597)",
522 surfaceRaised: "oklch(0.951058 0.002962 258.339)",
523 surfaceOverlay: "oklch(0.934442 0.003181 269.1)",
524 text: "oklch(0.222003 0.03479 328.979)",
525 textMuted: "oklch(0.541555 0.017468 323.531)",
526 border: "oklch(0.867646 0.013482 252.362)",
527 input: "oklch(0.832939 0.017389 252.598)",
528 focus: "oklch(0.536684 0.120219 247.01)",
529 accent: "oklch(0.536684 0.120219 247.01)",
530 accentForeground: "oklch(0.990339 0.008411 325.64)",
531 secondary: "oklch(0.939254 0.01193 241.729)",
532 secondaryForeground: "oklch(0.222003 0.03479 328.979)",
533 muted: "oklch(0.948004 0.009649 241.695)",
534 mutedForeground: "oklch(0.528741 0.01828 313.823)",
535 placeholder: "oklch(0.530733 0.01795 323.79)",
536 secondaryLabel: "oklch(0.541555 0.017468 323.531)",
537 iconMuted: "oklch(0.541555 0.017468 323.531)",
538 error: "oklch(0.637823 0.237287 25.436)",
539 errorForeground: "oklch(0.509494 0.208583 28.513)",
540 errorSurface: "oklch(0.938747 0.016377 7.186)",
541 warning: "oklch(0.772406 0.172798 65.367)",
542 warningForeground: "oklch(0.546927 0.155556 45.359)",
543 warningSurface: "oklch(0.954846 0.016009 81.731)",
544 update: "oklch(0.536684 0.120219 247.01)",
545 updateForeground: "oklch(0.397497 0.084999 246.523)",
546 updateSurface: "oklch(0.904165 0.021144 241.874)",
547 accentSurface: "oklch(0.91295 0.018827 241.836)",
548 accentSurfaceForeground: "oklch(0.222003 0.03479 328.979)",
549 messageSurface: "oklch(0.895373 0.023469 241.913)",
550 messageForeground: "oklch(0.222003 0.03479 328.979)",
551 messageAction: "oklch(0.493961 0.08175 201.584)",
552 messageActionForeground: "oklch(0.990339 0.008411 325.64)",
553 messageActionHover: "oklch(0.45151 0.074407 201.516)",
554 codeBackground: "oklch(0.957684 0.002906 253.68)",
555 codeForeground: "oklch(0.222003 0.03479 328.979)",
556 searchMatchBackground: "oklch(0.915 0.11 85)",
557 searchMatchForeground: "oklch(0.216164 0.028283 77.423)",
558 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
559 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
560 sidebar: "oklch(0.939254 0.01193 241.729)",
561 sidebarForeground: "oklch(0.222003 0.03479 328.979)",
562 sidebarMutedForeground: "oklch(0.517366 0.018944 311.433)",
563 sidebarControlSurface: "oklch(0.888479 0.011475 251.638)",
564 sidebarRowHover: "oklch(0.890798 0.024681 241.933)",
565 sidebarRowActive: "oklch(0.858363 0.033325 242.089)",
566 sidebarRowSelected: "oklch(0.842113 0.037689 242.174)",
567 sidebarBorder: "oklch(0.862823 0.011384 256.926)",
568 terminalBackground: "oklch(0.974199 0.002856 241.597)",
569 terminalForeground: "oklch(0.222003 0.03479 328.979)",
570 terminalCursor: "oklch(0.536684 0.120219 247.01)",
571 terminalSelection: "oklch(0.895373 0.023469 241.913)",
572 terminalScrollbar: "oklch(0.826271 0.006191 305.456)",
573 terminalScrollbarHover: "oklch(0.756866 0.008685 313.721)",
574 },
575 variants: {
576 dark: {
577 canvas: "oklch(0.242641 0.024125 250.573)",
578 chrome: "oklch(0.242641 0.024125 250.573)",
579 toolbar: "oklch(0.242641 0.024125 250.573)",
580 toolbarForeground: "oklch(0.990339 0.008411 325.64)",
581 toolbarBorder: "oklch(0.439946 0.0561 243.479)",
582 toolbarControl: "oklch(0.358725 0.043145 244.911)",
583 toolbarControlForeground: "oklch(0.990339 0.008411 325.64)",
584 toolbarControlHover: "oklch(0.413315 0.051874 243.855)",
585 surface: "oklch(0.242641 0.024125 250.573)",
586 surfaceRaised: "oklch(0.348439 0.019942 253.696)",
587 surfaceOverlay: "oklch(0.398517 0.018232 255.72)",
588 text: "oklch(0.990339 0.008411 325.64)",
589 textMuted: "oklch(0.652227 0.01149 273.31)",
590 border: "oklch(0.438653 0.039496 245.44)",
591 input: "oklch(0.500905 0.043574 244.781)",
592 focus: "oklch(0.758933 0.105833 241.548)",
593 accent: "oklch(0.758933 0.105833 241.548)",
594 accentForeground: "oklch(0.222003 0.03479 328.979)",
595 secondary: "oklch(0.358725 0.043145 244.911)",
596 secondaryForeground: "oklch(0.990339 0.008411 325.64)",
597 muted: "oklch(0.319287 0.036766 246.065)",
598 mutedForeground: "oklch(0.691936 0.016294 261.588)",
599 placeholder: "oklch(0.721641 0.010192 281.271)",
600 secondaryLabel: "oklch(0.652227 0.01149 273.31)",
601 iconMuted: "oklch(0.652227 0.01149 273.31)",
602 error: "oklch(0.655108 0.221148 23.473)",
603 errorForeground: "oklch(0.702184 0.189226 22.228)",
604 errorSurface: "oklch(0.298933 0.036443 350.094)",
605 warning: "oklch(0.772406 0.172798 65.367)",
606 warningForeground: "oklch(0.829017 0.171221 81.038)",
607 warningSurface: "oklch(0.329449 0.028712 84.495)",
608 update: "oklch(0.758933 0.105833 241.548)",
609 updateForeground: "oklch(0.840844 0.069217 240.151)",
610 updateSurface: "oklch(0.424017 0.053575 243.695)",
611 accentSurface: "oklch(0.413315 0.051874 243.855)",
612 accentSurfaceForeground: "oklch(0.990339 0.008411 325.64)",
613 messageSurface: "oklch(0.445224 0.056936 243.413)",
614 messageForeground: "oklch(0.990339 0.008411 325.64)",
615 messageAction: "oklch(0.793363 0.105022 199.893)",
616 messageActionForeground: "oklch(0.222003 0.03479 328.979)",
617 messageActionHover: "oklch(0.815308 0.096174 199.862)",
618 codeBackground: "oklch(0.29661 0.021883 251.968)",
619 codeForeground: "oklch(0.990339 0.008411 325.64)",
620 searchMatchBackground: "oklch(0.55 0.1 85)",
621 searchMatchForeground: "oklch(0.970151 0 0)",
622 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
623 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
624 sidebar: "oklch(0.290387 0.032043 247.274)",
625 sidebarForeground: "oklch(0.990339 0.008411 325.64)",
626 sidebarMutedForeground: "oklch(0.69099 0.01395 266.424)",
627 sidebarControlSurface: "oklch(0.417822 0.02535 250.162)",
628 sidebarRowHover: "oklch(0.353381 0.042285 245.043)",
629 sidebarRowActive: "oklch(0.393878 0.048778 244.179)",
630 sidebarRowSelected: "oklch(0.413744 0.051943 243.848)",
631 sidebarBorder: "oklch(0.55859 0.019001 256.223)",
632 terminalBackground: "oklch(0.242641 0.024125 250.573)",
633 terminalForeground: "oklch(0.990339 0.008411 325.64)",
634 terminalCursor: "oklch(0.758933 0.105833 241.548)",
635 terminalSelection: "oklch(0.439946 0.0561 243.479)",
636 terminalScrollbar: "oklch(0.58613 0.012959 267.22)",
637 terminalScrollbarHover: "oklch(0.681569 0.010909 276.465)",
638 },
639 },
640 sidebarArtwork: true,
641 };
642
643 export const EMBER_THEME: ThemeDefinition = {
644 id: "ember",
645 label: "Ember",
646 appearance: "light",
647 colors: {
648 canvas: "oklch(0.976527 0.002685 60.725)",
649 chrome: "oklch(0.976527 0.002685 60.725)",
650 toolbar: "oklch(0.976527 0.002685 60.725)",
651 toolbarForeground: "oklch(0.222003 0.03479 328.979)",
652 toolbarBorder: "oklch(0.916502 0.01832 49.597)",
653 toolbarControl: "oklch(0.942267 0.01151 50.785)",
654 toolbarControlForeground: "oklch(0.222003 0.03479 328.979)",
655 toolbarControlHover: "oklch(0.916502 0.01832 49.597)",
656 surface: "oklch(0.976527 0.002685 60.725)",
657 surfaceRaised: "oklch(0.953321 0.002701 42.266)",
658 surfaceOverlay: "oklch(0.936659 0.002879 29.96)",
659 text: "oklch(0.222003 0.03479 328.979)",
660 textMuted: "oklch(0.543023 0.017316 331.964)",
661 border: "oklch(0.870631 0.013204 39.431)",
662 input: "oklch(0.836213 0.017153 38.661)",
663 focus: "oklch(0.552831 0.129438 44.656)",
664 accent: "oklch(0.552831 0.129438 44.656)",
665 accentForeground: "oklch(0.990339 0.008411 325.64)",
666 secondary: "oklch(0.942267 0.01151 50.785)",
667 secondaryForeground: "oklch(0.222003 0.03479 328.979)",
668 muted: "oklch(0.950842 0.009273 51.528)",
669 mutedForeground: "oklch(0.530413 0.018453 341.181)",
670 placeholder: "oklch(0.532339 0.017796 331.748)",
671 secondaryLabel: "oklch(0.543023 0.017316 331.964)",
672 iconMuted: "oklch(0.543023 0.017316 331.964)",
673 error: "oklch(0.637823 0.237287 25.436)",
674 errorForeground: "oklch(0.509494 0.208583 28.513)",
675 errorSurface: "oklch(0.941094 0.019938 19.375)",
676 warning: "oklch(0.772406 0.172798 65.367)",
677 warningForeground: "oklch(0.549154 0.156188 45.359)",
678 warningSurface: "oklch(0.957148 0.020843 76.702)",
679 update: "oklch(0.552831 0.129438 44.656)",
680 updateForeground: "oklch(0.408647 0.091207 45.037)",
681 updateSurface: "oklch(0.907902 0.020621 49.36)",
682 accentSurface: "oklch(0.916502 0.01832 49.597)",
683 accentSurfaceForeground: "oklch(0.222003 0.03479 328.979)",
684 messageSurface: "oklch(0.899296 0.022939 49.163)",
685 messageForeground: "oklch(0.222003 0.03479 328.979)",
686 messageAction: "oklch(0.516323 0.161628 24.82)",
687 messageActionForeground: "oklch(0.990339 0.008411 325.64)",
688 messageActionHover: "oklch(0.471223 0.145843 24.688)",
689 codeBackground: "oklch(0.959965 0.002668 47.512)",
690 codeForeground: "oklch(0.222003 0.03479 328.979)",
691 searchMatchBackground: "oklch(0.915 0.11 85)",
692 searchMatchForeground: "oklch(0.216164 0.028283 77.423)",
693 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
694 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
695 sidebar: "oklch(0.942267 0.01151 50.785)",
696 sidebarForeground: "oklch(0.222003 0.03479 328.979)",
697 sidebarMutedForeground: "oklch(0.519146 0.019214 343.427)",
698 sidebarControlSurface: "oklch(0.891332 0.011179 40.596)",
699 sidebarRowHover: "oklch(0.894819 0.024151 49.073)",
700 sidebarRowActive: "oklch(0.863104 0.032855 48.586)",
701 sidebarRowSelected: "oklch(0.84723 0.037292 48.403)",
702 sidebarBorder: "oklch(0.865593 0.011154 35.246)",
703 terminalBackground: "oklch(0.976527 0.002685 60.725)",
704 terminalForeground: "oklch(0.222003 0.03479 328.979)",
705 terminalCursor: "oklch(0.552831 0.129438 44.656)",
706 terminalSelection: "oklch(0.899296 0.022939 49.163)",
707 terminalScrollbar: "oklch(0.828185 0.005884 349.533)",
708 terminalScrollbarHover: "oklch(0.758584 0.008423 341.16)",
709 },
710 variants: {
711 dark: {
712 canvas: "oklch(0.245899 0.019144 42.044)",
713 chrome: "oklch(0.245899 0.019144 42.044)",
714 toolbar: "oklch(0.245899 0.019144 42.044)",
715 toolbarForeground: "oklch(0.990339 0.008411 325.64)",
716 toolbarBorder: "oklch(0.442681 0.0608 50.795)",
717 toolbarControl: "oklch(0.361499 0.044052 49.515)",
718 toolbarControlForeground: "oklch(0.990339 0.008411 325.64)",
719 toolbarControlHover: "oklch(0.416048 0.055354 50.484)",
720 surface: "oklch(0.245899 0.019144 42.044)",
721 surfaceRaised: "oklch(0.351262 0.01565 37.592)",
722 surfaceOverlay: "oklch(0.401111 0.014308 34.896)",
723 text: "oklch(0.990339 0.008411 325.64)",
724 textMuted: "oklch(0.654017 0.009505 13.287)",
725 border: "oklch(0.44099 0.040202 48.807)",
726 input: "oklch(0.503003 0.045721 49.44)",
727 focus: "oklch(0.762174 0.124117 52.082)",
728 accent: "oklch(0.762174 0.124117 52.082)",
729 accentForeground: "oklch(0.222003 0.03479 328.979)",
730 secondary: "oklch(0.361499 0.044052 49.515)",
731 secondaryForeground: "oklch(0.990339 0.008411 325.64)",
732 muted: "oklch(0.322144 0.03574 48.309)",
733 mutedForeground: "oklch(0.692479 0.015227 30.963)",
734 placeholder: "oklch(0.723533 0.008741 4.515)",
735 secondaryLabel: "oklch(0.654017 0.009505 13.287)",
736 iconMuted: "oklch(0.654017 0.009505 13.287)",
737 error: "oklch(0.655108 0.221148 23.473)",
738 errorForeground: "oklch(0.702184 0.189226 22.228)",
739 errorSurface: "oklch(0.310955 0.059624 24.334)",
740 warning: "oklch(0.772406 0.172798 65.367)",
741 warningForeground: "oklch(0.829017 0.171221 81.038)",
742 warningSurface: "oklch(0.339137 0.055638 66.911)",
743 update: "oklch(0.762174 0.124117 52.082)",
744 updateForeground: "oklch(0.841456 0.079585 53.521)",
745 updateSurface: "oklch(0.426749 0.057547 50.618)",
746 accentSurface: "oklch(0.416048 0.055354 50.484)",
747 accentSurfaceForeground: "oklch(0.990339 0.008411 325.64)",
748 messageSurface: "oklch(0.447961 0.061874 50.849)",
749 messageForeground: "oklch(0.990339 0.008411 325.64)",
750 messageAction: "oklch(0.747955 0.135578 29.432)",
751 messageActionForeground: "oklch(0.222003 0.03479 328.979)",
752 messageActionHover: "oklch(0.775116 0.117953 29.014)",
753 codeBackground: "oklch(0.299662 0.017229 39.973)",
754 codeForeground: "oklch(0.990339 0.008411 325.64)",
755 searchMatchBackground: "oklch(0.55 0.1 85)",
756 searchMatchForeground: "oklch(0.970151 0 0)",
757 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
758 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
759 sidebar: "oklch(0.293349 0.029554 46.882)",
760 sidebarForeground: "oklch(0.990339 0.008411 325.64)",
761 sidebarMutedForeground: "oklch(0.691874 0.012538 24.638)",
762 sidebarControlSurface: "oklch(0.420227 0.022893 43.226)",
763 sidebarRowHover: "oklch(0.356163 0.042933 49.385)",
764 sidebarRowActive: "oklch(0.396617 0.051353 50.201)",
765 sidebarRowSelected: "oklch(0.416477 0.055442 50.489)",
766 sidebarBorder: "oklch(0.560372 0.016998 36.179)",
767 terminalBackground: "oklch(0.245899 0.019144 42.044)",
768 terminalForeground: "oklch(0.990339 0.008411 325.64)",
769 terminalCursor: "oklch(0.762174 0.124117 52.082)",
770 terminalSelection: "oklch(0.442681 0.0608 50.795)",
771 terminalScrollbar: "oklch(0.587861 0.010463 20.444)",
772 terminalScrollbarHover: "oklch(0.682876 0.009156 9.796)",
773 },
774 },
775 sidebarArtwork: true,
776 };
777
778 export const IRIS_THEME: ThemeDefinition = {
779 id: "iris",
780 label: "Iris",
781 appearance: "light",
782 colors: {
783 canvas: "oklch(0.976531 0.003855 303.226)",
784 chrome: "oklch(0.976531 0.003855 303.226)",
785 toolbar: "oklch(0.976531 0.003855 303.226)",
786 toolbarForeground: "oklch(0.222003 0.03479 328.979)",
787 toolbarBorder: "oklch(0.914882 0.022965 299.986)",
788 toolbarControl: "oklch(0.941387 0.014687 300.474)",
789 toolbarControlForeground: "oklch(0.222003 0.03479 328.979)",
790 toolbarControlHover: "oklch(0.914882 0.022965 299.986)",
791 surface: "oklch(0.976531 0.003855 303.226)",
792 surfaceRaised: "oklch(0.953326 0.004536 307.676)",
793 surfaceOverlay: "oklch(0.936665 0.005041 310.132)",
794 text: "oklch(0.222003 0.03479 328.979)",
795 textMuted: "oklch(0.543042 0.018894 325.652)",
796 border: "oklch(0.869608 0.018226 303.859)",
797 input: "oklch(0.834773 0.023405 303.676)",
798 focus: "oklch(0.525348 0.15373 294.176)",
799 accent: "oklch(0.525348 0.15373 294.176)",
800 accentForeground: "oklch(0.990339 0.008411 325.64)",
801 secondary: "oklch(0.941387 0.014687 300.474)",
802 secondaryForeground: "oklch(0.222003 0.03479 328.979)",
803 muted: "oklch(0.950194 0.011956 300.733)",
804 mutedForeground: "oklch(0.529955 0.022319 321.556)",
805 placeholder: "oklch(0.532177 0.019333 325.784)",
806 secondaryLabel: "oklch(0.543042 0.018894 325.652)",
807 iconMuted: "oklch(0.543042 0.018894 325.652)",
808 error: "oklch(0.637823 0.237287 25.436)",
809 errorForeground: "oklch(0.509494 0.208583 28.513)",
810 errorSurface: "oklch(0.941043 0.019582 4.235)",
811 warning: "oklch(0.772406 0.172798 65.367)",
812 warningForeground: "oklch(0.549154 0.156188 45.359)",
813 warningSurface: "oklch(0.957054 0.016197 69.932)",
814 update: "oklch(0.525348 0.15373 294.176)",
815 updateForeground: "oklch(0.389926 0.10825 294.547)",
816 updateSurface: "oklch(0.90602 0.025754 299.867)",
817 accentSurface: "oklch(0.914882 0.022965 299.986)",
818 accentSurfaceForeground: "oklch(0.222003 0.03479 328.979)",
819 messageSurface: "oklch(0.897143 0.028558 299.758)",
820 messageForeground: "oklch(0.222003 0.03479 328.979)",
821 messageAction: "oklch(0.516084 0.185229 340.776)",
822 messageActionForeground: "oklch(0.990339 0.008411 325.64)",
823 messageActionHover: "oklch(0.471003 0.16748 340.687)",
824 codeBackground: "oklch(0.95997 0.004338 306.542)",
825 codeForeground: "oklch(0.222003 0.03479 328.979)",
826 searchMatchBackground: "oklch(0.915 0.11 85)",
827 searchMatchForeground: "oklch(0.216164 0.028283 77.423)",
828 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
829 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
830 sidebar: "oklch(0.941387 0.014687 300.474)",
831 sidebarForeground: "oklch(0.222003 0.03479 328.979)",
832 sidebarMutedForeground: "oklch(0.518417 0.023683 320.681)",
833 sidebarControlSurface: "oklch(0.890512 0.0155 303.803)",
834 sidebarRowHover: "oklch(0.892522 0.030022 299.704)",
835 sidebarRowActive: "oklch(0.85971 0.040501 299.36)",
836 sidebarRowSelected: "oklch(0.843236 0.045818 299.198)",
837 sidebarBorder: "oklch(0.864805 0.015938 305.371)",
838 terminalBackground: "oklch(0.976531 0.003855 303.226)",
839 terminalForeground: "oklch(0.222003 0.03479 328.979)",
840 terminalCursor: "oklch(0.525348 0.15373 294.176)",
841 terminalSelection: "oklch(0.897143 0.028558 299.758)",
842 terminalScrollbar: "oklch(0.828195 0.008526 318.858)",
843 terminalScrollbarHover: "oklch(0.758596 0.010892 321.538)",
844 },
845 variants: {
846 dark: {
847 canvas: "oklch(0.225975 0.031062 293.741)",
848 chrome: "oklch(0.225975 0.031062 293.741)",
849 toolbar: "oklch(0.225975 0.031062 293.741)",
850 toolbarForeground: "oklch(0.990339 0.008411 325.64)",
851 toolbarBorder: "oklch(0.395417 0.085554 294.182)",
852 toolbarControl: "oklch(0.325405 0.063614 294.23)",
853 toolbarControlForeground: "oklch(0.990339 0.008411 325.64)",
854 toolbarControlHover: "oklch(0.372436 0.07841 294.204)",
855 surface: "oklch(0.225975 0.031062 293.741)",
856 surfaceRaised: "oklch(0.335291 0.026008 296.394)",
857 surfaceOverlay: "oklch(0.386739 0.024023 297.509)",
858 text: "oklch(0.990339 0.008411 325.64)",
859 textMuted: "oklch(0.640465 0.016197 304.171)",
860 border: "oklch(0.40874 0.058536 295.893)",
861 input: "oklch(0.46756 0.065775 296.265)",
862 focus: "oklch(0.671712 0.169136 293.929)",
863 accent: "oklch(0.671712 0.169136 293.929)",
864 accentForeground: "oklch(0.222003 0.03479 328.979)",
865 secondary: "oklch(0.325405 0.063614 294.23)",
866 secondaryForeground: "oklch(0.990339 0.008411 325.64)",
867 muted: "oklch(0.291515 0.05276 294.209)",
868 mutedForeground: "oklch(0.663321 0.025932 301.862)",
869 placeholder: "oklch(0.706249 0.014508 306.607)",
870 secondaryLabel: "oklch(0.640465 0.016197 304.171)",
871 iconMuted: "oklch(0.640465 0.016197 304.171)",
872 error: "oklch(0.655108 0.221148 23.473)",
873 errorForeground: "oklch(0.702184 0.189226 22.228)",
874 errorSurface: "oklch(0.291658 0.054707 352.238)",
875 warning: "oklch(0.772406 0.172798 65.367)",
876 warningForeground: "oklch(0.829017 0.171221 81.038)",
877 warningSurface: "oklch(0.318952 0.033845 51.646)",
878 update: "oklch(0.671712 0.169136 293.929)",
879 updateForeground: "oklch(0.785032 0.108439 296.344)",
880 updateSurface: "oklch(0.381668 0.081286 294.195)",
881 accentSurface: "oklch(0.372436 0.07841 294.204)",
882 accentSurfaceForeground: "oklch(0.990339 0.008411 325.64)",
883 messageSurface: "oklch(0.399975 0.086965 294.177)",
884 messageForeground: "oklch(0.990339 0.008411 325.64)",
885 messageAction: "oklch(0.789904 0.130063 337.621)",
886 messageActionForeground: "oklch(0.222003 0.03479 328.979)",
887 messageActionHover: "oklch(0.813537 0.114101 337.23)",
888 codeBackground: "oklch(0.281873 0.028308 295.193)",
889 codeForeground: "oklch(0.990339 0.008411 325.64)",
890 searchMatchBackground: "oklch(0.55 0.1 85)",
891 searchMatchForeground: "oklch(0.970151 0 0)",
892 searchMatchActiveBackground: "oklch(0.774202 0.151946 74.331)",
893 searchMatchActiveForeground: "oklch(0.216164 0.028283 77.423)",
894 sidebar: "oklch(0.266743 0.044689 294.138)",
895 sidebarForeground: "oklch(0.990339 0.008411 325.64)",
896 sidebarMutedForeground: "oklch(0.668773 0.021522 302.949)",
897 sidebarControlSurface: "oklch(0.399977 0.035678 297.031)",
898 sidebarRowHover: "oklch(0.320808 0.062152 294.23)",
899 sidebarRowActive: "oklch(0.355677 0.073167 294.217)",
900 sidebarRowSelected: "oklch(0.372806 0.078525 294.203)",
901 sidebarBorder: "oklch(0.545895 0.027522 299.871)",
902 terminalBackground: "oklch(0.225975 0.031062 293.741)",
903 terminalForeground: "oklch(0.990339 0.008411 325.64)",
904 terminalCursor: "oklch(0.671712 0.169136 293.929)",
905 terminalSelection: "oklch(0.395417 0.085554 294.182)",
906 terminalScrollbar: "oklch(0.578663 0.017888 302.229)",
907 terminalScrollbarHover: "oklch(0.676012 0.015271 305.433)",
908 },
909 },
910 sidebarArtwork: true,
911 };
912
913 export const BUILT_IN_THEMES: ReadonlyArray<ThemeDefinition> = [
914 T3_CHAT_THEME,
915 GROVE_THEME,
916 OCEAN_THEME,
917 EMBER_THEME,
918 IRIS_THEME,
919 ];
920
921 export function getThemeColorsForAppearance(
922 theme: ThemeDefinition,
923 appearance: ThemeAppearance,
924 ): ThemeColors | null {
925 if (theme.appearance === appearance) return theme.colors;
926 return theme.variants?.[appearance] ?? null;
927 }