1.0.1 • Published 4 years ago

mat-sketch-palette v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Material Design colour palette generator for Sketch

Builds a Sketch file containing symbols & layer styles based on a Material Design colour palette file.

Example output generated from this palette.

System requirements

Running

  1. Create a colour palette using the Material Design Palette Generator
  2. Export as Android XML, save to colours.xml
  3. Run: npx mat-sketch-palette
  4. Open colours.sketch

Command line options

npx mat-sketch-palette [options]
OptionDescription
--input=filenameThe input fileDefault: colours.xmlAlias: -i
--output=filenameThe output fileDefault: colours.sketchAlias: -o
--quietDon't print anythingDefault: falseAlias: -q

TODO

  • Support other input & output formats
  • More flexible palette name/colour ID detection
  • GUI (Sketch plugin? Desktop app?)