-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change: [DI-24111] - Updated hovering color for dashboard icons #11883
change: [DI-24111] - Updated hovering color for dashboard icons #11883
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our <IconButton />
's default styles are to turn blue on hover. We shouldn't need to apply custom styles to accomplish this.
Also, the Icons are completely broken in dark mode
Screen.Recording.2025-03-19.at.11.42.05.AM.mov
I recommend the following
- Open up
zoomin.svg
,zoomout.svg
,refresh.svg
. Change allfill
s andstroke
s to usecurrentColor
rather than their hardcoded colors - Remove styled icons and one-off styles completely
These changes will make the code much cleaner, simple, and has the added benefits of pulling styles from our theme. The more one-off styles we have, the harder it will be to make a cohesive application with a good user experience.
packages/manager/src/features/CloudPulse/Overview/GlobalFilters.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Widget/components/Zoomer.tsx
Outdated
Show resolved
Hide resolved
thanks of code cleanup suggestions @bnussman-akamai I've modified the changes accordingly. I've added color prop in icons button as default button color is light but as per mockups it is a bit darker. |
Cloud Manager UI test results🎉 539 passing tests on test run #7 ↗︎
|
Description 📝
Added blue color to icon on hover in dashboards
Changes 🔄
List any change(s) relevant to the reviewer.
Target release date 🗓️
Please specify a release date (and environment, if applicable) to guarantee timely review of this PR. If exact date is not known, please approximate and update it as needed.
Preview 📷
Include a screenshot or screen recording of the change.
🔒 Use the Mask Sensitive Data setting for security.
💡 Use
<video src="" />
tag when including recordings in table.How to test 🧪
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅