Material Color Palette Generator
bower install richard
Or by downloading the .scss files.
- Import the script
@import "_richard.scss";
- Create a new palette
@include generate-palette($color);
Or@include generate-palette($color, $variant);
- Include in your scss
@include richard($colorNumber, $type);
-
$color The color name set by Google : google.com/design
-
$variant The number for accessing different variants (vanilla from 1 to 3)
-
$type For selecting
hue
oraccent
-
$colorNumber For the selecting the primary hue or accent
1
, the lighter hue or accent2
or the darker hue3
Link to an article about the script: nomdeco.de (French).