Forked from Phil Sinatra's Sketch Color Vars
A Sketch plugin that will export the fill color of selected layers to CSS, SCSS, XML, and CSV files.
- Download the plugin.
- Double click "Export Palette.sketchplugin" to install it.
- Name the layers your preferred variable names.
- Select the layers containing the colors you want exported.
- Select the format to which you prefer to export colors.
- Only solid fills will be exported, not gradients.
- Only the first solid fill will be exported (in cases where multiple fills are applied to a single shape/element).
- Add select options dialog for user to spec which file type(s) should be exported.
- Add an iOS export.
- Add a modified export wherein SCSS exports maps as opposed to variables.
- Add a UI through which users can namespace variables without including namespaces in their layers / polluting the layer index.