Tag: Sketch

  • Export Compact SVG with Sketch

    Bohemian Coding – Preferences.

    Used to tell Sketch to export compact SVG files. We add some metadata to exported SVG files, to make it easier to re-import them in Sketch. However, if you are sure you won’t import them, you can disable the saving of metadata by running this into your Terminal.app:

    $ defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes
    

    When this is set to YES, Sketch will not use the name of the layer for the id field of the layer in SVG export:

    $ defaults write com.bohemiancoding.sketch3 svgExportSkipAssignIdToLayerName -bool yes