Fix/category icons light mode#851
Conversation
Public Beta
Staging -> Main
chore: rm en copy from es
Refactor icon rendering in Categories component for cleaner code
fix icons not being visible in light mode by using text color inheritance with fill-current and applying appropriate text colors fixes Mail-0#848
|
@devabdultech is attempting to deploy a commit to the Zero Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThis update modifies the styling of icons and user email display in the mail application's UI components. In the mail categories section, icon fill handling is changed to use the current text color via class names, with conditional coloring based on selection state. The user navigation component is adjusted to ensure the email display truncates overflow text and shows the full email on hover, improving layout and readability. No logic or control flow changes are introduced. Changes
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (9)
✨ 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 (
|
|
Already fixed. |
Description
Fixed an issue where category icons were not visible in light mode. The icons were previously white in both light and dark mode, making them invisible against the white background in light mode.
Changed the icons to use fill-current to inherit color from parent elements, and updated the parent container to use appropriate text colors based on selection state and theme mode.
Type of Change
Please delete options that are not relevant.
Areas Affected
Please check all that apply:
Testing Done
Describe the tests you've done:
Security Considerations
For changes involving data or authentication:
Checklist
Additional Notes
This fixes issue #848 by making category icons use text color inheritance instead of hardcoded colors, ensuring proper visibility in all theme modes.
Screenshots/Recordings
By submitting this pull request, I confirm that my contribution is made under the terms of the project's license.
Summary by CodeRabbit