0

I have icon in Sketch, but when I export it to SVG, it's somehow corrupted. I have no idea why and how to solve that. Can you help me?

Result: enter image description here

Source: http://test.marekcernak.cz/leave.sketch

Stalky
  • 121
  • 6

2 Answers2

0

Redraw your leaf design to avoid paths that overlap themselves.

I don't use Sketch, but there have been similar questions relating to Sketch and issues it has regarding incompatible support for fill-rule (a.k.a. winding rule). For example see this this question.

If you fix the overlaps, I believe you should have much better results when you export to SVG.

Community
  • 1
  • 1
Paul LeBeau
  • 97,474
  • 9
  • 154
  • 181
0

It seems like you have style collision with other SVGs that you have exported to use in the same page. Make sure you use unique names for id and class attributes.

tomericco
  • 1,544
  • 3
  • 19
  • 30