primer / octicons

A scalable set of icons handcrafted with <3 by GitHub
https://primer.style/foundations/icons
MIT License
8.27k stars 827 forks source link

Add picosvg to optimization step #883

Closed eliperkins closed 1 year ago

eliperkins commented 1 year ago

Related to:

A redux of #880 from primer/octicons, rather than my fork (eliperkins/octicons).

This adds in picosvg to the "Optimize SVGs" workflow, removing fill-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 in icons before writing them back out, in-place.

cc @gavinmn @colebemis

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: a40ba1942eebff5ebbbb833441f3a2db0b048efa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------- | ----- | | @primer/octicons | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR