-
Notifications
You must be signed in to change notification settings - Fork 4.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
Try: 1.5px styles icon circle. #64187
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +22 B (0%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
The stripes are fun, though I think that changes the character in a different way. Overall I sense agreement that it may make sense to move this to 1.5px as a start? |
Should we land this one? Maybe no-one will notice! |
I think so; it aligns the icon with the set's conventions which is a step in right direction imo. If there's a feeling that the icon subsequently feels too heavy, that can be solved in other ways. |
Yep. ✅? |
Let's try this. As noted in the conversation, I'll be here for followups! |
What?
Draft. This one is not as obvious as it seems.
What I noticed was that the Styles icon uses a 1px stroke-width for the outer circle:
This is a divergence from the standard 1.5px stroke-width we apply in general to outline icons:
And yet, there's something about this icon that isn't necessarily obviously improved by making this stroke-width the same 1.5px size as others:
This is mostly visible in context. Before:
After:
Why?
I tend to think that this one feels awkward to me primarily because we've been looking at the old icon so much at this point. That objectively the correct stroke width of 1.5px is a better fit in context of the icons next to it (I can't unsee the differential now), but that subjectively, the icon loses a little bit of character with the thicker stroke-width.
What do you think?
Personal take: we should do it. It seems likely to eventually be a non-issue, since I expect the global styles sidebar to evolve and shift in how it's invoked, and that the consistency across is probably worth it. But it's not a strong opinion.
Testing Instructions
Go to the site editor, observe the global styles icon.