From a9c7f926874c9f4e461e7641761cbfdf681b22f4 Mon Sep 17 00:00:00 2001 From: AI Christianson Date: Thu, 13 Mar 2025 16:48:29 -0400 Subject: [PATCH] style --- frontend/common/src/styles/global.css | 55 +++++++++++++-------------- frontend/web/src/index.tsx | 28 +++++++------- 2 files changed, 41 insertions(+), 42 deletions(-) diff --git a/frontend/common/src/styles/global.css b/frontend/common/src/styles/global.css index ce58adb..4475bff 100644 --- a/frontend/common/src/styles/global.css +++ b/frontend/common/src/styles/global.css @@ -37,34 +37,33 @@ } .dark { - --background: 224 71% 4%; - --foreground: 213 31% 91%; - - --muted: 223 47% 11%; - --muted-foreground: 215.4 16.3% 56.9%; - - --popover: 224 71% 4%; - --popover-foreground: 215 20.2% 65.1%; - - --card: 224 71% 4%; - --card-foreground: 213 31% 91%; - - --border: 216 34% 17%; - --input: 216 34% 17%; - - --primary: 210 40% 98%; - --primary-foreground: 222.2 47.4% 1.2%; - - --secondary: 222.2 47.4% 11.2%; - --secondary-foreground: 210 40% 98%; - - --accent: 216 34% 17%; - --accent-foreground: 210 40% 98%; - - --destructive: 0 63% 31%; - --destructive-foreground: 210 40% 98%; - - --ring: 216 34% 17%; + --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%; --radius: 0.5rem; } diff --git a/frontend/web/src/index.tsx b/frontend/web/src/index.tsx index c01b666..8d55175 100644 --- a/frontend/web/src/index.tsx +++ b/frontend/web/src/index.tsx @@ -27,15 +27,15 @@ const App = () => { }; return ( -
+

shadcn/ui Components Demo

-

A showcase of UI components from the common package

+

A showcase of UI components from the common package

- + Button Component Various button variants from shadcn/ui @@ -69,7 +69,7 @@ const App = () => { - + Input Component Text input with various states @@ -83,7 +83,7 @@ const App = () => { onChange={(e) => setInputValue(e.target.value)} /> {inputValue && ( -

You typed: {inputValue}

+

You typed: {inputValue}

)}
@@ -95,7 +95,7 @@ const App = () => {
- + @@ -105,7 +105,7 @@ const App = () => { - + Switch Component Toggle switch with controlled state @@ -118,7 +118,7 @@ const App = () => { onCheckedChange={setSwitchState} />
-

+

Current theme: {switchState ? 'Dark' : 'Light'}

@@ -127,18 +127,18 @@ const App = () => {
-

Click the switch to toggle its state

+

Click the switch to toggle its state

- + Card Component Card with header, content, and footer sections -

Cards are versatile containers that group related content and actions.

-
+

Cards are versatile containers that group related content and actions.

+
{''}
{' '}
@@ -151,14 +151,14 @@ const App = () => {
- +
-