AMoreaux / Sketch-Icons

🚀 Generate a dynamic icon library
https://sketchicons.com
MIT License
879 stars 45 forks source link

Imported icons apply unnecessary groups #55

Open davewhitley opened 5 years ago

davewhitley commented 5 years ago

When I import an svg file containing simple markup, the plugin adds at least one unnecessary group. It would be nice to specify this in settings.

Screen Shot 2019-05-03 at 3 49 42 PM

Markup of svg:

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.51.88 4.93 1.78C15.57 19.36 13.86 20 12 20s-3.57-.64-4.93-1.72zm11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33C4.62 15.49 4 13.82 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.49-1.64 4.83zM12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6zm0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11z"/></svg>
davewhitley commented 5 years ago

Settings:

Screen Shot 2019-05-03 at 4 13 30 PM Screen Shot 2019-05-03 at 4 13 23 PM
simplekjl commented 5 years ago

same issue here, I tried to import with different settings and seems to be not working.

Probably we might need to lower down a version from font awesome.

Also, for me, it's creating something called "delete-me"

Screen Shot 2019-06-05 at 10 13 43 AM

The nested group folder gets bigger if I select more options when import.