material-palette-generator

1.0.1 • Public • Published

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
Short Full Description
-V --version Output the version number
-c --color Base color of the palette in hexadecimal format
-p --print Output palette and names to console
-f --format Set the outputformat (see config)
-d --directory Path where the file will be created
-n --file-name Name of the created file (standard is material-palette.scss)
-h --help Output 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

Package Sidebar

Install

npm i material-palette-generator

Weekly Downloads

32

Version

1.0.1

License

MIT

Unpacked Size

44.4 kB

Total Files

12

Last publish

Collaborators

  • juliankaindl