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
- Node.js - tested with v12 & v14
Running
- Create a colour palette using the Material Design Palette Generator
- Export as Android XML, save to
colours.xml
- Run:
npx mat-sketch-palette
- 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?)