feat(ui): unify form control backgrounds - #758
Conversation
Give inputs, textareas, OTP slots, checkboxes and radios the same background as selects (bg-white / dark:bg-input/30), and make the calendar month-navigation buttons match the secondary button style. Co-authored-by: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
WalkthroughUpdated shared UI styles for alert variants, calendar navigation, form-control states, rounded surfaces, and dialog overlays. Storybook now demonstrates default, destructive, warning, and positive alerts. ChangesUI component updates
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Replace the hardcoded height/width/padding overrides on the calendar month-navigation buttons with the design system `size="icon-sm"` prop, and bump the month caption height to h-8 so the month label stays vertically centered with the buttons. Co-authored-by: Claude <noreply@anthropic.com>
Align the corner radius of Card, Datalist, Popover and Dropdown-menu (content + sub-content) to rounded-lg, matching Select, Combobox and Alert. Co-authored-by: Claude <noreply@anthropic.com>
Replace the destructive alert variant with a negative-scale palette and add warning and positive variants, each with light and dark mode styles. Add a Variants story showcasing all four variants. Co-authored-by: Claude <noreply@anthropic.com>
Reduce the Dialog, Drawer and Sheet overlay opacity from bg-black/80 to bg-black/30 for a lighter backdrop. Co-authored-by: Claude <noreply@anthropic.com>
|



Gives inputs, textareas, OTP slots, checkboxes and radios the same background as selects (
bg-whitein light mode,dark:bg-input/30in dark mode), scoped so checked/disabled fills are unaffected. Also makes the calendar month-navigation buttons match the standard secondary button by removing theirbg-transparentoverride and opacity.Generated with Claude
Summary by CodeRabbit