-
Notifications
You must be signed in to change notification settings - Fork 830
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
Add picosvg to optimization step #880
Conversation
|
5225c58
to
b8b7e1c
Compare
b8b7e1c
to
e577a07
Compare
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.
This is great. Thank you, @eliperkins!
Looks like you need to update the snapshots. This should do the trick:
npm i
npm run build
cd lib/octicons_react
npm i --legacy-peer-deps
npm run test -- -u
@colebemis @gavinmn any advice on getting the
Are we okay merging this without a preview deploy? |
This should help remove `fill-rule="evenodd"` from SVGs, improving where they can be rendered.
f8caa19
to
5e4813a
Compare
Closing this in favor of #883 , since that'll use better permission checks on Actions for deployments. |
Related to:
This adds in
picosvg
to the "Optimize SVGs" workflow, removingfill-rule="evenodd"
from all SVGs.Since
picosvg
is meant to work on a single file at a time, I used a bash loop to iterate through all files inicons
before writing them back out, in-place.cc @gavinmn @colebemis