diff --git a/app/globals.css b/app/globals.css index 3fca1ca..0bc92ed 100644 --- a/app/globals.css +++ b/app/globals.css @@ -78,49 +78,7 @@ --radius-4xl: calc(var(--radius) * 2.6); } -:root { - color-scheme: light; - --background: oklch(0.985 0.004 88); - --foreground: oklch(0.22 0.018 275); - --card: oklch(1 0 0); - --card-foreground: var(--foreground); - --popover: oklch(1 0 0); - --popover-foreground: var(--foreground); - --primary: oklch(0.51 0.105 78); - --primary-foreground: oklch(0.99 0.005 88); - --secondary: oklch(0.94 0.01 274); - --secondary-foreground: var(--foreground); - --muted: oklch(0.955 0.008 274); - --muted-foreground: oklch(0.48 0.02 274); - --accent: oklch(0.93 0.015 275); - --accent-foreground: var(--foreground); - --destructive: oklch(0.54 0.2 25); - --success: oklch(0.46 0.12 155); - --warning: oklch(0.51 0.105 78); - --info: oklch(0.47 0.11 235); - --tier-gold: oklch(0.51 0.105 78); - --tier-silver: oklch(0.48 0.02 260); - --tier-copper: oklch(0.49 0.1 55); - --border: oklch(0.22 0.018 275 / 15%); - --input: oklch(0.22 0.018 275 / 22%); - --ring: var(--primary); - --chart-1: oklch(0.51 0.105 78); - --chart-2: oklch(0.5 0.15 255); - --chart-3: oklch(0.46 0.12 155); - --chart-4: oklch(0.5 0.16 325); - --chart-5: oklch(0.47 0.1 210); - --chart-6: oklch(0.54 0.17 25); - --radius: 0.625rem; - --sidebar: oklch(0.965 0.008 274); - --sidebar-foreground: var(--foreground); - --sidebar-primary: var(--primary); - --sidebar-primary-foreground: var(--primary-foreground); - --sidebar-accent: var(--accent); - --sidebar-accent-foreground: var(--foreground); - --sidebar-border: var(--border); - --sidebar-ring: var(--ring); -} - +:root, .dark { color-scheme: dark; --background: oklch(0.13 0.012 275); diff --git a/app/layout.tsx b/app/layout.tsx index 4fc51b7..fce3b1a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,7 +3,6 @@ import { Anuphan, Geist_Mono } from "next/font/google"; import { DeploymentUpdateNotifier } from "@/components/deployment-update-notifier"; import { PageProgress } from "@/components/page-progress"; -import { ThemeProvider } from "@/components/theme-provider"; import { Toaster } from "@/components/ui/sonner"; import { NotificationProvider } from "@/components/notifications/notification-bell"; import { SitePushPrompt } from "@/components/notifications/site-push-prompt"; @@ -45,24 +44,21 @@ export default function RootLayout({ children }: LayoutProps<"/">) { return (
-