Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 902 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 902 Bytes

Richard

Material Color Palette Generator

Installing

bower install richard

Or by downloading the .scss files.

How to use ?

  1. Import the script @import "_richard.scss";
  2. Create a new palette @include generate-palette($color); Or @include generate-palette($color, $variant);
  3. Include in your scss @include richard($colorNumber, $type);

Values

  • $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 or accent

  • $colorNumber For the selecting the primary hue or accent 1, the lighter hue or accent 2 or the darker hue 3

See more

Link to an article about the script: nomdeco.de (French).