(SP: 3) Refactor Tailwind theme: centralize tokens and remove duplication#141
Conversation
✅ Deploy Preview for develop-devlovers ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughThis PR refactors the CSS theming system by migrating from legacy Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code graph analysis (1)frontend/components/quiz/QuizCard.tsx (2)
🔇 Additional comments (4)
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 |
Theme-aware button styles
Summary
This PR introduces a centralized, theme-aware button styling system based on design tokens.
Primary button colors are now defined via CSS variables and automatically adapt to light and dark themes without conditional logic in components.
What was added
--accent-primary--accent-hover.btncomponent with hover stateSummary by CodeRabbit
Style
Refactor
✏️ Tip: You can customize this high-level summary in your review settings.