/sketch-palettes

Sketch plugin that lets you save and load colors in the color picker

Primary LanguageJavaScript

Sketch Palettes

A Sketch plugin that lets you save and load colors into the color picker.

Installation

Move the Sketch Palettes plugin into your Plugins folder. You can get access to that folder by opening the Plugins menu, and choosing "Reveal Plugins Folder..."

Usage

Saving Palettes

You can save color palettes from either the Global Colors section of the color picker or from the Document Colors section. Selecting "Save Palette..." in either menu will save those colors as a .sketchpalette file to whatever location you choose.

Note: If you have the App Store version of Sketch, because of Apple's additional security features, a dialog will pop up asking you to authorize access to the folder you want to save to. You will only ever have to do this once. The version of Sketch downloaded directly from the website does not require this.

Loading Palettes

You can load colors into either the Global Colors section of the color picker or into the Document Colors section. Selecting "Load Palette..." from either menu will prompt you to open a .sketchpalette file containing the colors you want to load. This will replace whatever colors are currently in the selected section.

Removing Palettes

Select "Clear Palette" to remove all colors from either the Global Colors section of the color picker or from the Document Colors section.

Info & Feedback

If you have any questions, find a bug, or have ideas for ways to improve the plugin, ping me on twitter: @andrewfiorillo

Also, big thanks to William O'Beirne for helping me with some of the trickier parts, like making sense of the class-dump of Sketch, to figure out how to use undocumented Sketch functionality.