mat-sketch-palette

1.0.1 • Public • Published

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]
Option Description
--input=filename The input file
Default: colours.xml
Alias: -i
--output=filename The output file
Default: colours.sketch
Alias: -o
--quiet Don't print anything
Default: false
Alias: -q

TODO

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

Package Sidebar

Install

npm i mat-sketch-palette

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

16.9 kB

Total Files

20

Last publish

Collaborators

  • lindsayevans