Problems exporting SVGs from Sketch 3


Question

I go to export assets from Sketch as SVG files. I have a few problems...

  1. If I select the assets and it automatically slices it, I then save out the SVG file and it gets cut off. circle icon example

  2. Inserting into code looks crisp on safari but in Firefox and Chrome it looks blurry (only on a non retina desktop).

Anyone have problems like this? I thought it was because the icons are 1px lines but they look fantastic on my screen at 100%. I just don't get it.

1
1
6/17/2014 3:42:00 AM

You need to make sure you vectorize all of your strokes when exporting to SVG. This will keep your circle icons from being cut off. There is no need to use a mask.

Follow Layer/Paths/Vectorize Stroke.

2
11/24/2015 3:47:00 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow


Website under construction!!!
^