feat(ui): add workspace customization and simplify navigation

This commit is contained in:
poyrazavsever
2026-07-17 12:47:54 +03:00
parent b04031a3e3
commit dafd9eb344
24 changed files with 855 additions and 224 deletions
+10
View File
@@ -0,0 +1,10 @@
export const colorModes = ["light", "dark", "system"] as const;
export type ColorMode = (typeof colorModes)[number];
export const COLOR_MODE_COOKIE = "neta-color-mode";
export const COLOR_MODE_COOKIE_MAX_AGE = 60 * 60 * 24 * 365;
export function isColorMode(value: unknown): value is ColorMode {
return typeof value === "string" && colorModes.includes(value as ColorMode);
}