From 5a513f25515b0ca0ce8ff53a1e8b65311efbe2a9 Mon Sep 17 00:00:00 2001 From: Aun Ali Date: Sat, 9 Aug 2025 16:22:54 +0000 Subject: [PATCH] feat: Better design system --- src/app/globals.css | 10 +++++----- src/app/layout.tsx | 6 +++--- src/components/create-prompt-dialog.tsx | 2 +- src/components/prompt-card.tsx | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index b64a576..d09198a 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -14,7 +14,7 @@ body { --card-foreground: 222.2 84% 4.9%; --popover: 0 0% 100%; --popover-foreground: 222.2 84% 4.9%; - --primary: 262.1 83.3% 57.8%; + --primary: 142.1 83.3% 57.8%; --primary-foreground: 210 40% 98%; --secondary: 210 40% 96.1%; --secondary-foreground: 210 40% 9.8%; @@ -26,7 +26,7 @@ body { --destructive-foreground: 210 40% 98%; --border: 214.3 31.8% 91.4%; --input: 214.3 31.8% 91.4%; - --ring: 262.1 83.3% 57.8%; + --ring: 142.1 83.3% 57.8%; --radius: 0.5rem; --chart-1: 12 76% 61%; --chart-2: 173 58% 39%; @@ -42,7 +42,7 @@ body { --card-foreground: 210 40% 98%; --popover: 222.2 84% 4.9%; --popover-foreground: 210 40% 98%; - --primary: 263.4 95.2% 66.3%; + --primary: 143.4 95.2% 66.3%; --primary-foreground: 210 40% 98%; --secondary: 217.2 32.6% 17.5%; --secondary-foreground: 210 40% 98%; @@ -54,7 +54,7 @@ body { --destructive-foreground: 0 85.7% 97.3%; --border: 217.2 32.6% 17.5%; --input: 217.2 32.6% 17.5%; - --ring: 263.4 95.2% 66.3%; + --ring: 143.4 95.2% 66.3%; --chart-1: 220 70% 50%; --chart-2: 160 60% 45%; --chart-3: 30 80% 55%; @@ -70,4 +70,4 @@ body { body { @apply bg-background text-foreground; } -} +} \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 934d9cf..b88b00a 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -19,8 +19,8 @@ export default function RootLayout({ - -
+ +
{children}
@@ -28,4 +28,4 @@ export default function RootLayout({ ); -} +} \ No newline at end of file diff --git a/src/components/create-prompt-dialog.tsx b/src/components/create-prompt-dialog.tsx index 13ff4e8..2924da6 100644 --- a/src/components/create-prompt-dialog.tsx +++ b/src/components/create-prompt-dialog.tsx @@ -95,7 +95,7 @@ export function CreatePromptDialog() { return ( - diff --git a/src/components/prompt-card.tsx b/src/components/prompt-card.tsx index ae365b1..4a8155a 100644 --- a/src/components/prompt-card.tsx +++ b/src/components/prompt-card.tsx @@ -46,7 +46,7 @@ export function PromptCard({ prompt }: PromptCardProps) {
{prompt.tags.map((tag) => ( - + {tag} ))} @@ -55,9 +55,9 @@ export function PromptCard({ prompt }: PromptCardProps) { onClick={handleCopy} variant="ghost" size="sm" - className="w-full justify-center group" + className="w-full justify-center group bg-primary/60 hover:bg-primary/50" > - + Copy Prompt