Fix login form light-mode contrast, add theme toggle to auth pages - #160
Conversation
… pages The login form hardcoded dark-only colors (bg-black, border-white/10, bg-white/8) while text used theme-aware tokens, making inputs and buttons illegible in light mode. hover:bg-white on foreground/background buttons also made labels disappear on hover — fixed here and in the matching hero CTA button. The right-side agent showcase panel is now theme-adaptive too. Also extracts the home page's theme toggle into a shared ThemeToggle component and adds it to the auth layout, since there was previously no way to switch themes from the sign-in flow. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 12 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
LoginFormand its social provider buttons, which hardcoded dark-only colors (bg-black,border-white/10,bg-white/8) while surrounding text used theme-aware tokens — causing illegible/invisible inputs and buttons in light mode.hover:bg-whiteon thebg-foreground/text-background"Sign In" buttons (login form + magic link + home page hero CTA), which made the label disappear on hover in light mode. Changed tohover:bg-foreground/90.FlickeringGriddot color) instead of permanently black, so the existing per-icon invert logic works correctly in both themes.ThemeTogglecomponent and adds it to the/authlayout, since there was previously no way to switch themes from the sign-in flow.Test plan
tsc --noEmitpassesbiome checkpasses on all touched filesturbo test-unitvia pre-push hook)🤖 Generated with Claude Code