1.0.1 • Published 6 years ago

material-palette-generator v1.0.1

Weekly downloads
61
License
MIT
Repository
github
Last release
6 years ago

material-palette-generator (mpg)

Node.js cli utility to generate material color palettes. Following the material guidelines at material.io

Installing

with npm: npm install material-palette-generator

Options

mpg
ShortFullDescription
-V--versionOutput the version number
-c--colorBase color of the palette in hexadecimal format
-p--printOutput palette and names to console
-f--formatSet the outputformat (see config)
-d--directoryPath where the file will be created
-n--file-nameName of the created file (standard is material-palette.scss)
-h--helpOutput usage information

Examples

Standart Output

mpg -c #00ff00

alt text

Output with names

mpg -c #0000ff --print

alt text

Output to file

mpg -c #ff0000 --format material2 -d ./ --file-name example.scss

alt text

example.scss