From 5d9904d08373dca065e1c5b1150472455b63d252 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Wed, 19 Feb 2025 09:11:57 +0800 Subject: [PATCH] style(theme): update to github light/dark theme color scheme --- src/app/globals.css | 96 ++++++++++++++++++++++----------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 8e5d053..341693c 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -5,57 +5,57 @@ @layer base { :root { --background: 0 0% 100%; - --foreground: 240 10% 3.9%; - --card: 0 0% 100%; - --card-foreground: 240 10% 3.9%; - --popover: 0 0% 100%; - --popover-foreground: 240 10% 3.9%; - --primary: 240 5.9% 10%; - --primary-foreground: 0 0% 98%; - --secondary: 240 4.8% 95.9%; - --secondary-foreground: 240 5.9% 10%; - --muted: 240 4.8% 95.9%; - --muted-foreground: 240 3.8% 46.1%; - --accent: 240 4.8% 95.9%; - --accent-foreground: 240 5.9% 10%; - --destructive: 0 84.2% 60.2%; - --destructive-foreground: 0 0% 98%; - --border: 240 5.9% 90%; - --input: 240 5.9% 90%; - --ring: 240 10% 3.9%; - --chart-1: 12 76% 61%; - --chart-2: 173 58% 39%; - --chart-3: 197 37% 24%; - --chart-4: 43 74% 66%; - --chart-5: 27 87% 67%; - --radius: 0.5rem + --foreground: 213 13% 16%; + --muted: 0 12% 90%; + --muted-foreground: 0 12% 30%; + --popover: 0 0% 97%; + --popover-foreground: 213 13% 6%; + --card: 0 0% 98%; + --card-foreground: 213 13% 11%; + --border: 0 0% 95%; + --input: 0 0% 92%; + --primary: 213 13% 16%; + --primary-foreground: 213 13% 76%; + --secondary: 213 3% 75%; + --secondary-foreground: 213 3% 15%; + --accent: 0 0% 85%; + --accent-foreground: 0 0% 25%; + --destructive: 8 86% 40%; + --destructive-foreground: 0 0% 100%; + --ring: 213 13% 16%; + --chart-1: 213 13% 16%; + --chart-2: 213 3% 75%; + --chart-3: 0 0% 85%; + --chart-4: 213 3% 78%; + --chart-5: 213 16% 16%; + --radius: 0.5rem; } .dark { - --background: 240 10% 3.9%; - --foreground: 0 0% 98%; - --card: 240 10% 3.9%; - --card-foreground: 0 0% 98%; - --popover: 240 10% 3.9%; - --popover-foreground: 0 0% 98%; - --primary: 0 0% 98%; - --primary-foreground: 240 5.9% 10%; - --secondary: 240 3.7% 15.9%; - --secondary-foreground: 0 0% 98%; - --muted: 240 3.7% 15.9%; - --muted-foreground: 240 5% 64.9%; - --accent: 240 3.7% 15.9%; - --accent-foreground: 0 0% 98%; - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; - --border: 240 3.7% 15.9%; - --input: 240 3.7% 15.9%; - --ring: 240 4.9% 83.9%; - --chart-1: 220 70% 50%; - --chart-2: 160 60% 45%; - --chart-3: 30 80% 55%; - --chart-4: 280 65% 60%; - --chart-5: 340 75% 55% + --background: 216 28% 7%; + --foreground: 210 17% 82%; + --muted: 216 12% 15%; + --muted-foreground: 216 12% 65%; + --popover: 216 28% 4%; + --popover-foreground: 210 17% 92%; + --card: 216 28% 5%; + --card-foreground: 210 17% 87%; + --border: 216 18% 12%; + --input: 216 18% 15%; + --primary: 210 17% 82%; + --primary-foreground: 210 17% 22%; + --secondary: 210 7% 25%; + --secondary-foreground: 210 7% 85%; + --accent: 216 28% 22%; + --accent-foreground: 216 28% 82%; + --destructive: 1 86% 57%; + --destructive-foreground: 0 0% 100%; + --ring: 210 17% 82%; + --chart-1: 210 17% 82%; + --chart-2: 210 7% 25%; + --chart-3: 216 28% 22%; + --chart-4: 210 7% 28%; + --chart-5: 210 20% 82%; } }