fix: Category button visibility issue in light mode#847
fix: Category button visibility issue in light mode#847Pratiyankkumar wants to merge 1 commit intoMail-0:mainfrom Pratiyankkumar:fix/category-buttons-visibility
Conversation
|
@Pratiyankkumar is attempting to deploy a commit to the Zero Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe update modifies the icon color styling and button text colors for mail categories within the mail component. Icon components now use Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (7)
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@ahmetskilinc Please review this |
|
Already fixed. |
Description
Fixed an issue with icon visibility in light mode where category icons were using white fill regardless of the theme, making them difficult to see on light backgrounds when not selected. Changed icons to use black in light mode for unselected state while maintaining white for selected state and dark mode.
Type of Change
Areas Affected
Testing Done
Checklist
Additional Notes
The fix uses
fill-currentclass to make icons inherit text color from parent elements, creating a more accessible and consistent UI in both light and dark themes.Here's the video of the representing the changes :
Screen.Recording.2025-05-03.115646.mp4
By submitting this pull request, I confirm that my contribution is made under the terms of the project's license.
Summary by CodeRabbit