jmanalus / sketch-export-assets

Export assets for Android, iOS, Windows Phone in Sketch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sketch-export-assets

Export assets for Android, iOS, Windows Phone in Sketch.

Also check my new sketch plugin to export assets for iOS directly from Sketch into Xcodes assets catalog.

Please donate any value to keep this project alive

Click here to lend your support to: Sketch plugin research and development funding and make a donation at pledgie.com !

Installation

The actual location of your Sketch plugins directory will vary. To open it just click on the Reveal Plugins Folder under the Plugins menu in sketch.

Run following command after going to the sketch plugins folder:

git clone git@github.com:GeertWille/sketch-export-assets.git

OR

Use Sketch Toolbox

Once you have checked out the plugin repository into the relevant directory, you'll find the plugin functions under the Plugins menu in Sketch.

Assumptions

The plugin assumes you design your layouts in mdpi, which means 1px = 1dp

From now on this is configurable!

Shortcuts

  • iOS Export: ctrl + alt + shift + 1
  • Android Export: ctrl + alt + shift + 2
  • Windows Export: ctrl + alt + shift + 3

Adding Padding to slices

From now on you can manually decide how big you want your exported asset to be. Just include a slicelayer in the group of that asset and it will not use the size of the group but the size of that slicelayer...

Credits

This plugin is based on zmaltalker's project sketch-android-assets. I needed to export my assets to multiple platforms that's why I extended his project to cover other platforms.

About

Export assets for Android, iOS, Windows Phone in Sketch

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%