-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add (standard) focus styles to all “Select” buttons on domain picker #99314
base: trunk
Are you sure you want to change the base?
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
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.
Nice one. Lots of red, that's the right way to do it!
Note that the focus rings use --color-primary: var(--studio-blue-50); which is still the old WordPress blue, until #99033 lands and updates it to the modern WordPress blue (Blueberry).
Correct, thank you for keeping this in mind.
The following is almost certainly unrelated, but in testing this PR out locally, I'm missing the site title column in my Sites list:
It's likely an env thing. I don't see how this CSS could affect that, but mentionining regardless.
Also separate, but these buttons still don't have focus styles:
I can confirm the focus styles are now visible and Calypso-generic in these two important places:
This one still has a custom one:
There's one small regression, it's unclear how this PR could've caused it, or if this is a trunk thing. But notice now that there's a white background behind the label here, even though the onboarding flow overall has a light gray background:
Can you tell what that is?
Yes, I considered including the search input, but decided to scope this PR to just the buttons, as we have this separate issue for standardizing button and input focus styles. |
This one is interesting. I can't repro (can't see a white background) in dev, staging or the testing link, but looking at the shape in your screenshot it looks like it would be the |
I have managed to reproduce this in a new branch, so I'll create a new issue and PR to fix it. |
Fixes https://github.com/Automattic/dotcom-forge/issues/10405
Proposed Changes
Once these custom styles have been removed we can move onto updating the base styles across the app in https://github.com/Automattic/dotcom-forge/issues/10406
Note that the focus rings use
--color-primary: var(--studio-blue-50);
which is still the old WordPress blue, until #99033 lands and updates it to the modern WordPress blue (Blueberry).Why are these changes being made?
Testing Instructions
Pre-merge Checklist