-
Notifications
You must be signed in to change notification settings - Fork 69
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
Ensure highlight colors on the Payments Overview screen use custom admin theme colors #9641
base: develop
Are you sure you want to change the base?
Ensure highlight colors on the Payments Overview screen use custom admin theme colors #9641
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: +119 B (0%) Total Size: 1.35 MB
ℹ️ View Unchanged
|
…ithout rgb var available
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.
I've checked through various screens with various themes. Visually everything looks good. I wonder if it is worth getting @rogermattic to quickly review
@brucealdridge thanks for pinging me here!
That sounds right—the color was designed to be an explanatory element in the tooltip, using a custom shade from the Woo Palette (not an accent color) since it’s not a link. The idea was to keep it blue regardless of accent colors, but I get why that’s confusing—it does look similar to the original Gutenberg blue, so I see where this idea of adapting to the theme color comes from. So, sorry for backtracking a bit, but as much as I can see we should probably revisit the colour choice (so that it's from the Gutenberg library), but being a different kind of element (not interactive) I'm not sure it should be reactive to the theme changes. On a separate note though... I'll ask the Design System folks for an opinion and get back to you! |
Fixes #9584
Changes proposed in this Pull Request
Note
We'll await design approval of these changes before proceeding
Links and highlights on the Payments → Overview screen will now use custom admin themes, if enabled. Hard-coded colors have been removed, where appropriate, replaced with the CSS var
--wp-admin-theme-color
, falling back to$gutenberg-blue
if not set.Before/after of WPCOM (WooExpress) store with custom admin color theme "Classic Dark"
Before/after with custom admin color theme "Sunset" enabled
More before/after with custom admin color theme "Sunset" enabled.
Before/after of default theme
Note
There is a slight brightening of the tooltip highlight text color, but it is now consistent with the rest of the page accents
Testing instructions
npm run changelog
to add a changelog file, choosepatch
to leave it empty if the change is not significant. You can add multiple changelog files in one PR by running this command a few times.Post merge