From e9870243941f74cc631ff2efa016a43bb807f92b Mon Sep 17 00:00:00 2001 From: Che <30403707+Che-Zhu@users.noreply.github.com> Date: Fri, 14 Nov 2025 15:08:04 +0800 Subject: [PATCH] refactor(login): use semantic design system colors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace hardcoded Tailwind colors with semantic design tokens - bg-black → bg-background (main container) - bg-gray-900 → bg-card (card background) - bg-gray-800 → bg-secondary (input fields) - text-white/text-gray-400 → text-foreground/text-muted-foreground - bg-blue-600 → bg-primary (login button) - text-red-500 → text-destructive (error states) - Improve form layout with spacing - Add space-y-2 between labels and inputs - Center CardDescription text - Fix duplicate CSS rules in globals.css for h1/h2/p - Update background color to [#151515] for better contrast Improves maintainability and theme consistency across the application. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/globals.css | 11 +---------- app/login/page.tsx | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/app/globals.css b/app/globals.css index b5efb27..901f21c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -171,20 +171,11 @@ @apply scroll-m-20 text-3xl tracking-tight first:mt-0; } p { - @apply leading-7 [&:not(:first-child)]:mt-6 text-muted-foreground; + @apply leading-4 text-muted-foreground; } span { @apply text-muted-foreground; } - h1 { - @apply scroll-m-20 text-4xl tracking-tight text-balance; - } - h2 { - @apply scroll-m-20 text-3xl tracking-tight first:mt-0; - } - p { - @apply leading-7 [&:not(:first-child)]:mt-6 text-muted-foreground; - } } /* Terminal scroll indicator animation */ diff --git a/app/login/page.tsx b/app/login/page.tsx index 6ff9552..ff5dac0 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -47,18 +47,18 @@ export default function LoginPage() { }; return ( -
- +
+ - Welcome to Fulling - + Welcome to Fulling + You're one click away from creating your own full-stack app.
-
-