style: 调整灰色主题亮度 (0.75 → 0.82)

This commit is contained in:
zhanggangyong
2026-01-15 17:01:49 +00:00
parent c16cfcf322
commit 563e492056
+22 -22
View File
@@ -4,24 +4,24 @@
@custom-variant dark (&:is(.dark *)); @custom-variant dark (&:is(.dark *));
:root { :root {
--background: oklch(0.75 0 0); --background: oklch(0.82 0 0);
--foreground: oklch(0.15 0 0); --foreground: oklch(0.15 0 0);
--card: oklch(0.80 0 0); --card: oklch(0.86 0 0);
--card-foreground: oklch(0.15 0 0); --card-foreground: oklch(0.15 0 0);
--popover: oklch(0.82 0 0); --popover: oklch(0.88 0 0);
--popover-foreground: oklch(0.15 0 0); --popover-foreground: oklch(0.15 0 0);
--primary: oklch(0.38 0.13 200); --primary: oklch(0.38 0.13 200);
--primary-foreground: oklch(1 0 0); --primary-foreground: oklch(1 0 0);
--secondary: oklch(0.72 0 0); --secondary: oklch(0.79 0 0);
--secondary-foreground: oklch(0.15 0 0); --secondary-foreground: oklch(0.15 0 0);
--muted: oklch(0.73 0 0); --muted: oklch(0.80 0 0);
--muted-foreground: oklch(0.35 0 0); --muted-foreground: oklch(0.38 0 0);
--accent: oklch(0.42 0.11 200); --accent: oklch(0.42 0.11 200);
--accent-foreground: oklch(1 0 0); --accent-foreground: oklch(1 0 0);
--destructive: oklch(0.55 0.22 25); --destructive: oklch(0.55 0.22 25);
--destructive-foreground: oklch(1 0 0); --destructive-foreground: oklch(1 0 0);
--border: oklch(0.68 0 0); --border: oklch(0.75 0 0);
--input: oklch(0.68 0 0); --input: oklch(0.75 0 0);
--ring: oklch(0.38 0.13 200); --ring: oklch(0.38 0.13 200);
--chart-1: oklch(0.48 0.13 200); --chart-1: oklch(0.48 0.13 200);
--chart-2: oklch(0.52 0.11 180); --chart-2: oklch(0.52 0.11 180);
@@ -29,13 +29,13 @@
--chart-4: oklch(0.62 0.11 160); --chart-4: oklch(0.62 0.11 160);
--chart-5: oklch(0.55 0.11 40); --chart-5: oklch(0.55 0.11 40);
--radius: 0.5rem; --radius: 0.5rem;
--sidebar: oklch(0.78 0 0); --sidebar: oklch(0.84 0 0);
--sidebar-foreground: oklch(0.15 0 0); --sidebar-foreground: oklch(0.15 0 0);
--sidebar-primary: oklch(0.38 0.13 200); --sidebar-primary: oklch(0.38 0.13 200);
--sidebar-primary-foreground: oklch(1 0 0); --sidebar-primary-foreground: oklch(1 0 0);
--sidebar-accent: oklch(0.73 0 0); --sidebar-accent: oklch(0.80 0 0);
--sidebar-accent-foreground: oklch(0.15 0 0); --sidebar-accent-foreground: oklch(0.15 0 0);
--sidebar-border: oklch(0.68 0 0); --sidebar-border: oklch(0.75 0 0);
--sidebar-ring: oklch(0.38 0.13 200); --sidebar-ring: oklch(0.38 0.13 200);
} }
@@ -115,37 +115,37 @@ html.black {
/* 灰色主题 */ /* 灰色主题 */
.light, .light,
html.light { html.light {
--background: oklch(0.75 0 0); --background: oklch(0.82 0 0);
--foreground: oklch(0.15 0 0); --foreground: oklch(0.15 0 0);
--card: oklch(0.80 0 0); --card: oklch(0.86 0 0);
--card-foreground: oklch(0.15 0 0); --card-foreground: oklch(0.15 0 0);
--popover: oklch(0.82 0 0); --popover: oklch(0.88 0 0);
--popover-foreground: oklch(0.15 0 0); --popover-foreground: oklch(0.15 0 0);
--primary: oklch(0.38 0.13 200); --primary: oklch(0.38 0.13 200);
--primary-foreground: oklch(1 0 0); --primary-foreground: oklch(1 0 0);
--secondary: oklch(0.72 0 0); --secondary: oklch(0.79 0 0);
--secondary-foreground: oklch(0.15 0 0); --secondary-foreground: oklch(0.15 0 0);
--muted: oklch(0.73 0 0); --muted: oklch(0.80 0 0);
--muted-foreground: oklch(0.35 0 0); --muted-foreground: oklch(0.38 0 0);
--accent: oklch(0.42 0.11 200); --accent: oklch(0.42 0.11 200);
--accent-foreground: oklch(1 0 0); --accent-foreground: oklch(1 0 0);
--destructive: oklch(0.55 0.22 25); --destructive: oklch(0.55 0.22 25);
--destructive-foreground: oklch(1 0 0); --destructive-foreground: oklch(1 0 0);
--border: oklch(0.68 0 0); --border: oklch(0.75 0 0);
--input: oklch(0.68 0 0); --input: oklch(0.75 0 0);
--ring: oklch(0.38 0.13 200); --ring: oklch(0.38 0.13 200);
--chart-1: oklch(0.48 0.13 200); --chart-1: oklch(0.48 0.13 200);
--chart-2: oklch(0.52 0.11 180); --chart-2: oklch(0.52 0.11 180);
--chart-3: oklch(0.58 0.13 220); --chart-3: oklch(0.58 0.13 220);
--chart-4: oklch(0.62 0.11 160); --chart-4: oklch(0.62 0.11 160);
--chart-5: oklch(0.55 0.11 40); --chart-5: oklch(0.55 0.11 40);
--sidebar: oklch(0.78 0 0); --sidebar: oklch(0.84 0 0);
--sidebar-foreground: oklch(0.15 0 0); --sidebar-foreground: oklch(0.15 0 0);
--sidebar-primary: oklch(0.38 0.13 200); --sidebar-primary: oklch(0.38 0.13 200);
--sidebar-primary-foreground: oklch(1 0 0); --sidebar-primary-foreground: oklch(1 0 0);
--sidebar-accent: oklch(0.73 0 0); --sidebar-accent: oklch(0.80 0 0);
--sidebar-accent-foreground: oklch(0.15 0 0); --sidebar-accent-foreground: oklch(0.15 0 0);
--sidebar-border: oklch(0.68 0 0); --sidebar-border: oklch(0.75 0 0);
--sidebar-ring: oklch(0.38 0.13 200); --sidebar-ring: oklch(0.38 0.13 200);
} }