diff --git a/MapGPT/app/globals.css b/MapGPT/app/globals.css index e7f71728..487a459e 100644 --- a/MapGPT/app/globals.css +++ b/MapGPT/app/globals.css @@ -66,11 +66,37 @@ } } -@layer base { - * { - @apply border-border; + .earth { + --background: 34 35% 91%; + --foreground: 120 50% 30%; + + --card: 120 20% 80%; + --card-foreground: 120 25% 30%; + + --popover: 34 35% 91%; + --popover-foreground: 34 35% 9%; + + --primary: 120 50% 30%; + --primary-foreground: 34 60% 9%; + + --secondary: 34 35% 75%; + --secondary-foreground: 52 21% 30%; + + --muted: 34 35% 75%; + --muted-foreground: 52 21% 30%; + + --accent: 34 35% 75%; + --accent-foreground: 120 50% 30%; + + --destructive: 34 35% 9%; + --destructive-foreground: 34 60% 9%; + + --border: 34 35% 75%; + --input: 34 35% 75%; + --ring: 34 35% 75%; } + body { - @apply bg-background text-foreground; - } -} + background-color: hsl(var(--background)); + color: hsl(var(--foreground)); + } \ No newline at end of file diff --git a/MapGPT/app/layout.tsx b/MapGPT/app/layout.tsx index 24bc93b3..c84a6112 100644 --- a/MapGPT/app/layout.tsx +++ b/MapGPT/app/layout.tsx @@ -53,6 +53,7 @@ export default function RootLayout({ defaultTheme="system" enableSystem disableTransitionOnChange + themes={['light', 'dark', 'earth']} >
{children} @@ -63,4 +64,4 @@ export default function RootLayout({ ) -} +} \ No newline at end of file diff --git a/MapGPT/components/mode-toggle.tsx b/MapGPT/components/mode-toggle.tsx index de41d910..fd1ee732 100644 --- a/MapGPT/components/mode-toggle.tsx +++ b/MapGPT/components/mode-toggle.tsx @@ -31,6 +31,9 @@ export function ModeToggle() { setTheme('dark')}> Dark + setTheme('earth')}> + Earth + setTheme('system')}> System