-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Update icons: Help, PlusCircle, Typography #70299
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
Conversation
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
1 similar comment
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
Size Change: +404 B (+0.02%) Total Size: 1.87 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, this will bring the circle sizes in line.
There's an issue with a viewbox. I think it's an issue. But 👍 👍
@@ -5,7 +5,11 @@ import { SVG, Path } from '@wordpress/primitives'; | |||
|
|||
const plusCircle = ( | |||
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 24 24"> | |||
<Path d="M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z" /> | |||
<Path | |||
fillRule="evenodd" |
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 always wonder if we need these rules. Assume we do.
@@ -5,7 +5,11 @@ import { SVG, Path } from '@wordpress/primitives'; | |||
|
|||
const plusCircle = ( | |||
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 24 24"> |
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.
The viewbox here is wrong. It should be 0 0 24 24.
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. |
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.
We should, yes! Good eye. I took as tab in this Figma file. Here's a before and after: |
Yes there is a big group of circular icons that need updating. I probably won't get to those in the near term though. Up to y'all if we want to merge this, or wait for a comprehensive PR that targets all circular icons. |
If all circular icons will ultimately be unified, I think it's fine to merge as is. Regarding the |
I'm going to merge this one and follow up with the remaining icons. |
Actually, I'll add a changelog to this one first :) |
746d95b
to
59a89c0
Compare
What?
Update the following icons:
Why?
Testing Instructions
npm run storybook
Screenshots