style(ui): use neutral black theme

This commit is contained in:
2026-08-10 13:39:22 +07:00 Unverified
parent 6f1fd826d7
commit a75a453852
3 changed files with 57 additions and 56 deletions
+55 -54
View File
@@ -51,71 +51,72 @@
:root { :root {
--background: oklch(1 0 0); --background: oklch(1 0 0);
--foreground: oklch(0.148 0.004 228.8); --foreground: oklch(0.141 0.005 285.823);
--card: oklch(1 0 0); --card: oklch(1 0 0);
--card-foreground: oklch(0.148 0.004 228.8); --card-foreground: oklch(0.141 0.005 285.823);
--popover: oklch(1 0 0); --popover: oklch(1 0 0);
--popover-foreground: oklch(0.148 0.004 228.8); --popover-foreground: oklch(0.141 0.005 285.823);
--primary: oklch(0.546 0.245 262.881); --primary: oklch(0.21 0.006 285.885);
--primary-foreground: oklch(0.97 0.014 254.604); --primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.963 0.002 197.1); --secondary: oklch(0.967 0.001 286.375);
--secondary-foreground: oklch(0.218 0.008 223.9); --secondary-foreground: oklch(0.21 0.006 285.885);
--muted: oklch(0.963 0.002 197.1); --muted: oklch(0.967 0.001 286.375);
--muted-foreground: oklch(0.56 0.021 213.5); --muted-foreground: oklch(0.552 0.016 285.938);
--accent: oklch(0.963 0.002 197.1); --accent: oklch(0.967 0.001 286.375);
--accent-foreground: oklch(0.218 0.008 223.9); --accent-foreground: oklch(0.21 0.006 285.885);
--destructive: oklch(0.577 0.245 27.325); --destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.925 0.005 214.3); --border: oklch(0.92 0.004 286.32);
--input: oklch(0.925 0.005 214.3); --input: oklch(0.92 0.004 286.32);
--ring: oklch(0.623 0.214 259.815); --ring: oklch(0.552 0.016 285.938);
--chart-1: oklch(0.809 0.105 251.813); --chart-1: oklch(0.21 0.006 285.885);
--chart-2: oklch(0.623 0.214 259.815); --chart-2: oklch(0.37 0.013 285.805);
--chart-3: oklch(0.546 0.245 262.881); --chart-3: oklch(0.552 0.016 285.938);
--chart-4: oklch(0.488 0.243 264.376); --chart-4: oklch(0.705 0.015 286.067);
--chart-5: oklch(0.424 0.199 265.638); --chart-5: oklch(0.871 0.006 286.286);
--radius: 0; --radius: 0;
--sidebar: oklch(0.987 0.002 197.1); --sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.148 0.004 228.8); --sidebar-foreground: oklch(0.141 0.005 285.823);
--sidebar-primary: oklch(0.546 0.245 262.881); --sidebar-primary: oklch(0.21 0.006 285.885);
--sidebar-primary-foreground: oklch(0.97 0.014 254.604); --sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.963 0.002 197.1); --sidebar-accent: oklch(0.967 0.001 286.375);
--sidebar-accent-foreground: oklch(0.218 0.008 223.9); --sidebar-accent-foreground: oklch(0.21 0.006 285.885);
--sidebar-border: oklch(0.925 0.005 214.3); --sidebar-border: oklch(0.92 0.004 286.32);
--sidebar-ring: oklch(0.623 0.214 259.815); --sidebar-ring: oklch(0.552 0.016 285.938);
} }
.dark { .dark {
--background: oklch(0.148 0.004 228.8); --background: oklch(0.141 0.005 285.823);
--foreground: oklch(0.987 0.002 197.1); --foreground: oklch(0.985 0 0);
--card: oklch(0.218 0.008 223.9); --card: oklch(0.21 0.006 285.885);
--card-foreground: oklch(0.987 0.002 197.1); --card-foreground: oklch(0.985 0 0);
--popover: oklch(0.218 0.008 223.9); --popover: oklch(0.21 0.006 285.885);
--popover-foreground: oklch(0.987 0.002 197.1); --popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.707 0.165 254.624); --primary: oklch(0.922 0 0);
--primary-foreground: oklch(0.97 0.014 254.604); --primary-foreground: oklch(0.21 0.006 285.885);
--secondary: oklch(0.275 0.011 216.9); --secondary: oklch(0.274 0.006 286.033);
--secondary-foreground: oklch(0.987 0.002 197.1); --secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.275 0.011 216.9); --muted: oklch(0.274 0.006 286.033);
--muted-foreground: oklch(0.723 0.014 214.4); --muted-foreground: oklch(0.705 0.015 286.067);
--accent: oklch(0.275 0.011 216.9); --accent: oklch(0.274 0.006 286.033);
--accent-foreground: oklch(0.987 0.002 197.1); --accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216); --destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%); --border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%); --input: oklch(1 0 0 / 15%);
--ring: oklch(0.623 0.214 259.815); --ring: oklch(0.705 0.015 286.067);
--chart-1: oklch(0.809 0.105 251.813); --chart-1: oklch(0.922 0 0);
--chart-2: oklch(0.623 0.214 259.815); --chart-2: oklch(0.705 0.015 286.067);
--chart-3: oklch(0.546 0.245 262.881); --chart-3: oklch(0.552 0.016 285.938);
--chart-4: oklch(0.488 0.243 264.376); --chart-4: oklch(0.442 0.017 285.786);
--chart-5: oklch(0.424 0.199 265.638); --chart-5: oklch(0.37 0.013 285.805);
--sidebar: oklch(0.218 0.008 223.9); --sidebar: oklch(0.21 0.006 285.885);
--sidebar-foreground: oklch(0.987 0.002 197.1); --sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.707 0.165 254.624); --sidebar-primary: oklch(0.922 0 0);
--sidebar-primary-foreground: oklch(0.97 0.014 254.604); --sidebar-primary-foreground: oklch(0.21 0.006 285.885);
--sidebar-accent: oklch(0.275 0.011 216.9); --sidebar-accent: oklch(0.274 0.006 286.033);
--sidebar-accent-foreground: oklch(0.987 0.002 197.1); --sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%); --sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.623 0.214 259.815); --sidebar-ring: oklch(0.705 0.015 286.067);
color-scheme: dark;
} }
@layer base { @layer base {
+1 -1
View File
@@ -94,7 +94,7 @@ export default function RootLayout({
<PageProgress /> <PageProgress />
<ThemeProvider <ThemeProvider
attribute="class" attribute="class"
defaultTheme="system" defaultTheme="dark"
enableSystem enableSystem
disableTransitionOnChange disableTransitionOnChange
> >
+1 -1
View File
@@ -6,7 +6,7 @@
"tailwind": { "tailwind": {
"config": "", "config": "",
"css": "app/globals.css", "css": "app/globals.css",
"baseColor": "mist", "baseColor": "neutral",
"cssVariables": true, "cssVariables": true,
"prefix": "" "prefix": ""
}, },