From 6831137ada0a2693f02ef6b247c66f1431834157 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 6 Dec 2024 00:20:58 +0000 Subject: [PATCH] Update color scheme to yellow and black Implemented a modern yellow and black color scheme across the application for a refreshed design. [skip gpt_engineer] --- src/index.css | 112 ++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 59 deletions(-) diff --git a/src/index.css b/src/index.css index 33fdf9d..5bd61be 100644 --- a/src/index.css +++ b/src/index.css @@ -4,89 +4,83 @@ @layer base { :root { - --background: 0 0% 100%; - --foreground: 222.2 84% 4.9%; + --background: 0 0% 7%; /* Dark background */ + --foreground: 45 100% 60%; /* Yellow text */ - --card: 0 0% 100%; - --card-foreground: 222.2 84% 4.9%; + --card: 0 0% 10%; /* Slightly lighter black for cards */ + --card-foreground: 45 100% 60%; /* Yellow text on cards */ - --popover: 0 0% 100%; - --popover-foreground: 222.2 84% 4.9%; + --popover: 0 0% 10%; + --popover-foreground: 45 100% 60%; - --primary: 222.2 47.4% 11.2%; - --primary-foreground: 210 40% 98%; + --primary: 45 100% 50%; /* Bright yellow */ + --primary-foreground: 0 0% 7%; /* Black text on yellow */ - --secondary: 210 40% 96.1%; - --secondary-foreground: 222.2 47.4% 11.2%; + --secondary: 45 100% 95%; /* Light yellow */ + --secondary-foreground: 0 0% 7%; - --muted: 210 40% 96.1%; - --muted-foreground: 215.4 16.3% 46.9%; + --muted: 0 0% 15%; /* Dark gray */ + --muted-foreground: 45 100% 75%; /* Soft yellow */ - --accent: 210 40% 96.1%; - --accent-foreground: 222.2 47.4% 11.2%; + --accent: 45 100% 50%; /* Yellow accent */ + --accent-foreground: 0 0% 7%; --destructive: 0 84.2% 60.2%; - --destructive-foreground: 210 40% 98%; + --destructive-foreground: 0 0% 7%; - --border: 214.3 31.8% 91.4%; - --input: 214.3 31.8% 91.4%; - --ring: 222.2 84% 4.9%; + --border: 45 100% 30%; /* Darker yellow for borders */ + --input: 45 100% 30%; + --ring: 45 100% 50%; --radius: 0.5rem; - --sidebar-background: 0 0% 98%; - - --sidebar-foreground: 240 5.3% 26.1%; - - --sidebar-primary: 240 5.9% 10%; - - --sidebar-primary-foreground: 0 0% 98%; - - --sidebar-accent: 240 4.8% 95.9%; - - --sidebar-accent-foreground: 240 5.9% 10%; - - --sidebar-border: 220 13% 91%; - - --sidebar-ring: 217.2 91.2% 59.8%; + --sidebar-background: 0 0% 5%; + --sidebar-foreground: 45 100% 60%; + --sidebar-primary: 45 100% 50%; + --sidebar-primary-foreground: 0 0% 7%; + --sidebar-accent: 45 100% 20%; + --sidebar-accent-foreground: 45 100% 60%; + --sidebar-border: 45 100% 20%; + --sidebar-ring: 45 100% 50%; } .dark { - --background: 222.2 84% 4.9%; - --foreground: 210 40% 98%; + --background: 0 0% 7%; + --foreground: 45 100% 60%; - --card: 222.2 84% 4.9%; - --card-foreground: 210 40% 98%; + --card: 0 0% 10%; + --card-foreground: 45 100% 60%; - --popover: 222.2 84% 4.9%; - --popover-foreground: 210 40% 98%; + --popover: 0 0% 10%; + --popover-foreground: 45 100% 60%; - --primary: 210 40% 98%; - --primary-foreground: 222.2 47.4% 11.2%; + --primary: 45 100% 50%; + --primary-foreground: 0 0% 7%; - --secondary: 217.2 32.6% 17.5%; - --secondary-foreground: 210 40% 98%; + --secondary: 0 0% 15%; + --secondary-foreground: 45 100% 60%; - --muted: 217.2 32.6% 17.5%; - --muted-foreground: 215 20.2% 65.1%; + --muted: 0 0% 15%; + --muted-foreground: 45 100% 75%; - --accent: 217.2 32.6% 17.5%; - --accent-foreground: 210 40% 98%; + --accent: 45 100% 50%; + --accent-foreground: 0 0% 7%; --destructive: 0 62.8% 30.6%; - --destructive-foreground: 210 40% 98%; + --destructive-foreground: 45 100% 60%; - --border: 217.2 32.6% 17.5%; - --input: 217.2 32.6% 17.5%; - --ring: 212.7 26.8% 83.9%; - --sidebar-background: 240 5.9% 10%; - --sidebar-foreground: 240 4.8% 95.9%; - --sidebar-primary: 224.3 76.3% 48%; - --sidebar-primary-foreground: 0 0% 100%; - --sidebar-accent: 240 3.7% 15.9%; - --sidebar-accent-foreground: 240 4.8% 95.9%; - --sidebar-border: 240 3.7% 15.9%; - --sidebar-ring: 217.2 91.2% 59.8%; + --border: 45 100% 30%; + --input: 45 100% 30%; + --ring: 45 100% 50%; + + --sidebar-background: 0 0% 5%; + --sidebar-foreground: 45 100% 60%; + --sidebar-primary: 45 100% 50%; + --sidebar-primary-foreground: 0 0% 7%; + --sidebar-accent: 45 100% 20%; + --sidebar-accent-foreground: 45 100% 60%; + --sidebar-border: 45 100% 20%; + --sidebar-ring: 45 100% 50%; } }