-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: standardise sizes of ./site/static/icon/*.svg
#21347
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
base: jakehwll/21320-deprecated-icons-cleanup
Are you sure you want to change the base?
feat: standardise sizes of ./site/static/icon/*.svg
#21347
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
jaaydenh
left a comment
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.
There you go, I stole this directly from ruby-lang.org's logo but it appears they still prefer the version found in Treatment needed to be inverted here as the |
./site/static/icon/*.svg./site/static/icon/*.svg
|
I have some concerns about this, mostly from a process perspective
|
Correct 🙂 Figma is my friend here.
Biome doesn't contain SVG linting properties we can attach to here, we could extend upon Perhaps the following for the PNGs $ file do.png | grep -oE '[0-9]+\s*x\s*[0-9]+'
80 x 80
I believe we're using these under fair-use. Honestly, the more common we'd ourselves violating the brand guidelines if we were to unfairly size one icon over the other when we render, this would be harder to mediate if we were battling various sizes. |
|
I don't like putting actual business logic in shell scripts. they're too hard to write for novices and it's easy to miss silly things that will ruin your/someone else's day. but I would love implementing a check like that in go, and I think that should be a prerequisite for this change. 😄 btw: no need for checking png resolution, we don't accept new png icons. |



Related to #21320
This pull-request ensures that all the icons are now
256px * 256pxso that they're standardised across all rendering situations.*.svgfiles are now256px * 256pxand..do.svgfile.ruby.svgfile.gcp.svgfile.*.pngfiles are now256px * 256pxand..aws.pngfile to matchaws.svg(deprecated).azure.pngfile to matchazure.svg(deprecated).docker.pngfile to matchdocker.svg(deprecated).do.pngfile to fill the full256pxwidth.do.png.ruby.png.gcp.png.