Closed GrossDesignCo closed 3 years ago
Yeah this is something I'm trying to lock down at the moment. For some reason when compressing them, a few icons break when getting imported in to design tools. A quick fix is to just run them all through it and then undo the ones that look broken I guess? Open to ideas on how to properly get this working. I think some of them may have been how they were designed, so I'm redoing a bunch at the moment 😅
I’ve found myself retracing icons in svg by hand sometimes.
Alternately, you can play with the precision or utility options on svgomg for those specific icons to get the paths just right post-process. It really only needs to happen once for each icon, so you could even run them through manually and then make that a requirement for anyone who wants to submit an icon
On Tue, Mar 16, 2021 at 12:04 AM Corey @.***> wrote:
Yeah this is something I'm trying to lock down at the moment. For some reason when compressing them, a few icons break when getting imported in to design tools. A quick fix is to just run them all through it and then undo the ones that look broken I guess? Open to ideas on how to properly get this working. I think some of them may have been how they were designed, so I'm redoing a bunch at the moment 😅
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CoreyGinnivan/system-uicons/issues/24#issuecomment-800010047, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGGRVWGAOOHYWR7VMDLB5DTD37GHANCNFSM4YQDXZCQ .
I've compressed quite a lot now. Some still have the complex layout but I think it's mostly due to how they're positioned? Going to close for now https://github.com/CoreyGinnivan/system-uicons/pull/28
I'm just starting to integrate these icons into a new project & noticed that there's some extra markup in the svgs that we removed when working them into our markup.
Example: Link
Pre-SVGO
Post-SVGO
Is this something that's in the works eventually? I'm happy to SVGO the icons for our project, but it might same some CDN bandwidth to do them on the source side :)