color_tools.exporters.sketchpalette_exporter

SketchPalette exporter.

Exports palette colors to the JSON-based .sketchpalette format used by the Sketch Palettes plugin.

Each color is represented using normalized RGBA channel values in the 0.0-1.0 range.

class color_tools.exporters.sketchpalette_exporter.SketchPaletteExporter[source]

Bases: PaletteExporter

Export color palettes in SketchPalette JSON format.

COMPATIBLE_VERSION = '1.4'
PLUGIN_VERSION = '1.4'
property metadata: ExporterMetadata

Return metadata describing the SketchPalette exporter.