SVG Cleanup with Sketch App - Sketch Plugin Available

That is looking good :ok_hand:

Done … Let me see how I can publish this next week. Changed the currentColor to the selection menu, since that has a keyboard shortcut. I would assume the minified and the remove dimension is something that you would setup only once.

Ok got it published. Feel free to use it and give me a feedback. you can use it the same way like the original one. If you provide a custom svgo in the plugin folder it will be only used when setting the output to custom and be merged with the default settings. Non other settings will be applied, because I assume if you need something custom you set it up as required :smiley:

1 Like

Sure doesn’t for me. I cannot change the stroke color and I was setting the stroke size to one with my previous attempts.

Next I tried your idea of Converting To Outlines and that did the trick, but it also made the SVG four times as large. Ithen ran it through OSVG, which uses SVGO under the hood and that reduced the size by half.

Interestingly, if you turn off the Stroke in Elements there is still a stroke displayed in black.

I think I see what you did… In Sketch app, you have your svg path inside a slice. You have selected the slice, and made exportable (bottom right), and exported that.

What you need to do:
The same as that but with the path selected.
or
File > Export > Slices

1 Like

Thanks for the heads up. I’m definitely new to Sketch so I’m not surprised I took the wrong approach. Will go ahead and test this all again.