827b3c5b6181f6fd0ff3ebda4bf55e28e8927cb1e4b17bd82cc4a4aa696ebd537dea2f843cd29a0152d8a72dffd03c853ebf695e83317bfb1147b2be9e4fab 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [![Bower version](https://img.shields.io/bower/v/material-colors.svg)](https://github.com/shuhei/material-colors)
  2. [![NPM version](https://img.shields.io/npm/v/material-colors.svg)](https://www.npmjs.com/package/material-colors)
  3. [![NPM downloads](https://img.shields.io/npm/dm/material-colors.svg)](https://www.npmjs.com/package/material-colors)
  4. [![CircleCI](https://circleci.com/gh/shuhei/material-colors.svg?style=shield)](https://circleci.com/gh/shuhei/material-colors)
  5. # Material Colors
  6. Colors from [Google's Material Design](http://www.google.com/design/spec/style/color.html) made available to coders.
  7. The colors are scraped from the guide. The idea to publish colors in multiple forms is stolen from [mrmrs/colors](https://github.com/mrmrs/colors).
  8. ## Available Forms
  9. - CSS: Classes for prototyping such as `.color-red-100`, `.bg-red-100`, `.border-red-100`, `.fill-red-100` and `.stroke-red-100`.
  10. - CSS variables such as `--md-red-100`.
  11. - Sass, Scss: Color variables such as `$md-red-100`.
  12. - Less: Color variables such as `@md-red-100`.
  13. - Stylus: Color variables such as `md-red-100`.
  14. - JSON: Raw data of colors. Key names are hypenated. e.g. `deep-purple`
  15. - JavaScript: Color set object provided via AMD, CommonJS or global variable `materialColor`. Key names are camelCase. e.g. `deepPurple`
  16. - EcmaScript module: Color variables are exported as camelCase names.
  17. See [dist directory](dist) or [demo](http://shuheikagawa.com/material-colors/) for more details.
  18. ## Usage
  19. ### Download
  20. Download what you like from [dist directory](dist) and use it.
  21. ### Bower
  22. ```
  23. bower install material-colors
  24. ```
  25. and use what you like in `bower_components/material-colors/dist`.
  26. ### NPM
  27. ```
  28. npm install material-colors
  29. ```