-
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
[Social Icon]: Update the link
and mail
block variation's icons
#49952
Conversation
…e used from WP icons
Looks good, thanks for doing this. I hate to say this, but should we also update the email icon while we're there? We would need to design one, one doesn't exist for this yet. But the thinner stroke width of the new link icon stands out compared to the more solid email. |
Sounds good! I just opened the PR because of the nuances of this block, so anyone that can provide the new icon is welcome! |
Size Change: -436 B (0%) Total Size: 1.37 MB
ℹ️ View Unchanged
|
That's this:
Probably no need to add that to the icon library, it's just a replacement for the social link SVG. here it is shown next to the link: |
link
and mail
block variation's icons
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.
Unless others disagree, this seems a big win both in terms of visuals, and the SVG compression (looking at all the red).
Flaky tests detected in b6320fa. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4752912310
|
Do we definitely want to use the WordPress icons on the frontend? Probably not a big deal, but I'm not sure if we're doing this elsewhere? |
The mail icon likely has uses outside of the social icons block, it'd be good to add that one to the main package in a follow up. |
I think what we want is to use good icons on the frontend. The existing ones are not good. I can say that, as I designed them, a lifetime ago 🙈 |
So I guess we can land this for now? 😄 |
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.
Good initiative!
What?
This PR updates the icon of the
link
Social Link's block variation to match thelink
icon of@wordpress/icons
. For security reasons(svg) this block is rendered server side and we can't actually use it directly from the JS package.So, I just updated the current icon's path to match the
link
's path from the JS package.It also updates the
mail
variation's icon.Testing Instructions
link
and amail
Screenshots or screencast