refactor(theme): update color classes

This commit is contained in:
CaIon
2026-06-19 14:53:44 +08:00
parent 490395b2f8
commit 0c806db996
12 changed files with 50 additions and 118 deletions
+11 -11
View File
@@ -145,20 +145,20 @@ For commercial licensing, please contact support@quantumnous.com
}
.dark {
/* OpenAI-like dark mode: nearly black chrome, readable raised surfaces. */
--background: oklch(0.185 0 0);
/* OpenAI-like dark mode with a softer charcoal canvas. */
--background: oklch(0.225 0 0);
--foreground: oklch(0.965 0 0);
--card: oklch(0.235 0 0);
--card: oklch(0.275 0 0);
--card-foreground: oklch(0.965 0 0);
--popover: oklch(0.255 0 0);
--popover: oklch(0.295 0 0);
--popover-foreground: oklch(0.965 0 0);
--primary: oklch(0.965 0 0);
--primary-foreground: oklch(0.145 0 0);
--secondary: oklch(0.285 0 0);
--secondary: oklch(0.325 0 0);
--secondary-foreground: oklch(0.965 0 0);
--muted: oklch(0.255 0 0);
--muted: oklch(0.295 0 0);
--muted-foreground: oklch(0.76 0 0);
--accent: oklch(0.325 0 0);
--accent: oklch(0.365 0 0);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--destructive-foreground: oklch(0.985 0 0);
@@ -178,14 +178,14 @@ For commercial licensing, please contact support@quantumnous.com
--chart-3: oklch(0.769 0.188 70.08);
--chart-4: oklch(0.627 0.265 303.9);
--chart-5: oklch(0.645 0.246 16.439);
--sidebar: oklch(0.115 0 0);
--sidebar: oklch(0.195 0 0);
--sidebar-foreground: oklch(0.95 0 0);
--sidebar-primary: oklch(0.965 0 0);
--sidebar-primary-foreground: oklch(0.145 0 0);
--sidebar-accent: oklch(0.31 0 0);
--sidebar-accent: oklch(0.35 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.68 0 0);
--skeleton-base: oklch(0.285 0 0);
--skeleton-highlight: oklch(0.39 0 0);
--skeleton-base: oklch(0.325 0 0);
--skeleton-highlight: oklch(0.43 0 0);
}