Skip to content

pixi-stix/sketch-mobile-assets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sketch-mobile-assets

Based on zmtalker/sketch-android-assets

This plugin for Bohemian Coding's Sketch app will generate iOS and Android assets for slices on your current page. Assets are automatically created at mdpi/hdpi/xhdpi/xxhdpi/xxxhdpi for Android and @1x/@2x/@3x for iOS, then named and organized according to platform conventions.

NOTE: This plugin is designed for Sketch 3.2. It will overwrite any previously generated assets without prompting.

Setup:

  • Copy the Generate Mobile Assets.jstalk file and /library folder into your Sketch plugins folder
  • You can find your plugins folder by going to 'Plugins' > 'Reveal plugins folder'
  • Update library/config.js with your preferred naming conventions & DPI size

To use:

  • Create & name slices for each of your assets
  • Run Plugins > Generate Android Assets, or hit ⌘⇧A
  • Choose a destination folder
  • Magic!

 


 

Last updated 12/12/14
  • Now works with Sketch 3.2.
Known issues:
  • None that I’m aware of; please let me know if you find any!

About

Generate mobile assets in Sketch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%