-
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
Update Edit icon to be more consistent with other icons #49512
Conversation
Co-Authored-By: Joen A. <1204802+jasmussen@users.noreply.github.com> Co-Authored-By: James Koster <846565+jameskoster@users.noreply.github.com>
Size Change: -3 B (0%) Total Size: 1.34 MB
ℹ️ View Unchanged
|
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.
Looks good to me. Curious on @jasmussen's thoughts.
Thanks for including those screenshots. The tricky thing about balancing this one is the horizontal line at the bottom of the icon. I think that's always going to make things feel a little off because the eye is drawn the pencil primarily, and the line feels like a secondary element. Is it worth exploring options without the line? E.g.: I suppose it depends on whether we feel the line is crucial to the design. |
Sure, as a follow-up probably.
I don't think the line is crucial, though the pencil itself may need to stay relative to the existing filled implementation. |
Okay. I'll merge this and update Figma (thanks @javierarce xD). It's easy to revert is @jasmussen objects. |
Flaky tests detected in 6905aa8. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4599661039
|
What?
Tweaks the dimensions of the Edit icon to bring it inline with others in the set.
Why?
Most icons are designed to fit inside a 16x16px square. This isn't a hard rule, but the way the Edit icon currently breaks out of that square makes it appear unbalanced in isolation, and inconsistent with other icons:
As you can see above it's fully 3px outside the 16px boundaries on the top side, and half a pixel outside on the bottom side. In the Details panel of the site editor this sizing makes things feel off:
This PR adjusts it to fit full inside the 16x16px square:
This can serve as a starting point to refine. It may need to be slightly larger.
Testing Instructions
Compare the Edit icon on this branch with the one in trunk.