refactor(login): use semantic design system colors - #88
Merged
norberia merged 1 commit intoNov 14, 2025
Merged
Conversation
- 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>
✅ PR Check Results: PassedBuild Checks
✨ Great work!All checks passed successfully. Your PR is ready for review. Details:
🔗 View Details: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.cssbg-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-foregroundbg-blue-600→bg-primary(login button)text-red-500→text-destructive(error states)bg-white→bg-secondary(GitHub button)Layout Improvements:
space-y-2spacing between labels and input fields#151515for better contrastCode Quality:
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
Files Changed
app/login/page.tsx- Login page componentapp/globals.css- Removed duplicate CSS rules🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com