-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
UI: Update the toolbar button styles #16429
Conversation
Nx Cloud ReportCI ran the following commands for commit a396d5d. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch
Sent with 💌 from NxCloud. |
Nx Cloud ReportWe didn't find any information for the current pull request with the commit 22e244f. Check the Nx Cloud Github Integration documentation for more information. Sent with 💌 from NxCloud. |
I updated the colors, added stories, design files, and updated the screenshots. I think this is ready for review. |
@MichaelArestad could you please test an example where a custom theme is used in manager.js? Thank you! |
Alrighty! I have good news. It looks like a theme customization as seen on the PX Blue storybook will be compatible. In fact, it would look even better. Here is a quick demo of what my test looks like: theme-color-demo.mp4The eagle-eyed among you may have noticed how bad the selected item in the sidebar looks with this theme, where in PX Blue, the sidebar highlight looks good. That's because they wrote a style override targeting that element: In other words, this change will not cause a regression. To test:
@domyen If you get a chance, could you take another look and review this? |
Awesome stuff!! I quite like how that looks by the way! |
I updated the focus and hover styles: updated-focus-styles.mp4Now, it should be a little clearer when a user enables or disables a button via keyboard actions. Note: the outline only shows on Mac in some browsers when that setting is enabled in Mac's General settings. |
Just pushed an update to the |
What I did
I updated the toolbar's icon button styles to match the designs @dom and I worked on recently. The new styles differentiate themselves from the tab interface and add clarity as to what state an icon button is in.
Here is a quick demo video:
IconButton-demo.mp4
Some details:
5px
.15px
to14px
.8px
added to match the distance between the top/bottom of an icon button and the edge of the toolbar.5px
of padding to the left and right sides.How to test
Before
After