Skip to content

refactor(login): use semantic design system colors - #88

Merged
norberia merged 1 commit into
FullAgent:mainfrom
norberia:feature/login-page-semantic-redesign
Nov 14, 2025
Merged

refactor(login): use semantic design system colors#88
norberia merged 1 commit into
FullAgent:mainfrom
norberia:feature/login-page-semantic-redesign

Conversation

@norberia

Copy link
Copy Markdown
Collaborator

Summary

Refactor login page to use semantic design system colors and improve layout consistency.

Changes

  • Color System: Replace all hardcoded Tailwind color classes with semantic design tokens from globals.css

    • bg-blackbg-background (main container)
    • bg-gray-900bg-card (card background)
    • bg-gray-800bg-secondary (input fields)
    • text-white/text-gray-400text-foreground/text-muted-foreground
    • bg-blue-600bg-primary (login button)
    • text-red-500text-destructive (error states)
    • bg-whitebg-secondary (GitHub button)
  • Layout Improvements:

    • Add space-y-2 spacing between labels and input fields
    • Center align CardDescription text
    • Update background to #151515 for better contrast
  • Code Quality:

    • Remove duplicate CSS rules in globals.css (h1, h2, p declarations)

Benefits

Theme Consistency: Automatically adapts to light/dark mode
Maintainability: Semantic naming makes code easier to understand
Design System: Aligns with application's design token architecture
Better UX: Improved spacing and visual hierarchy

Testing

  • Verified login page renders correctly
  • Checked color contrast and spacing
  • Ensured responsive layout works

Files Changed

  • app/login/page.tsx - Login page component
  • app/globals.css - Removed duplicate CSS rules

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

- 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 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

✅ PR Check Results: Passed

Build Checks

Check Status
Lint & Build ✅ Passed
Docker Build ✅ Passed

✨ Great work!

All checks passed successfully. Your PR is ready for review.

Details:

  • ✅ Code quality verified (linting passed)
  • ✅ Build successful
  • ✅ Docker image build verified (linux/amd64)
    Commit: e9870243941f74cc631ff2efa016a43bb807f92b
    Branch: feature/login-page-semantic-redesign

🔗 View Details:

@norberia
norberia merged commit f197ed2 into FullAgent:main Nov 14, 2025
9 checks passed
@norberia
norberia deleted the feature/login-page-semantic-redesign branch November 14, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant