Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shuhei/material-colors
Colors of Google's Material Design made available to coders
https://github.com/shuhei/material-colors
css javascript json less material-design sass stylus
Last synced: 18 days ago
JSON representation
Colors of Google's Material Design made available to coders
- Host: GitHub
- URL: https://github.com/shuhei/material-colors
- Owner: shuhei
- License: isc
- Created: 2014-07-24T13:27:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-08-02T07:41:03.000Z (over 5 years ago)
- Last Synced: 2024-10-13T11:01:47.829Z (24 days ago)
- Topics: css, javascript, json, less, material-design, sass, stylus
- Language: JavaScript
- Homepage: https://shuheikagawa.com/material-colors/
- Size: 70.3 KB
- Stars: 271
- Watchers: 10
- Forks: 40
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-material - material-colors
- awesome-material-design - material-colors - Exposes Material colors as css classes and variables as well as global variables (Color / Dev)
- awesome-material-components - shuhei/material-colors - Material Design color palette in different formats (JS, JSON, Less, Sass, etc.). (Material Components Web (MDC Web) / MDC Web Resources)
README
[![Bower version](https://img.shields.io/bower/v/material-colors.svg)](https://github.com/shuhei/material-colors)
[![NPM version](https://img.shields.io/npm/v/material-colors.svg)](https://www.npmjs.com/package/material-colors)
[![NPM downloads](https://img.shields.io/npm/dm/material-colors.svg)](https://www.npmjs.com/package/material-colors)
[![CircleCI](https://circleci.com/gh/shuhei/material-colors.svg?style=shield)](https://circleci.com/gh/shuhei/material-colors)# Material Colors
Colors from [Google's Material Design](http://www.google.com/design/spec/style/color.html) made available to coders.
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).
## Available Forms
- CSS: Classes for prototyping such as `.color-red-100`, `.bg-red-100`, `.border-red-100`, `.fill-red-100` and `.stroke-red-100`.
- CSS variables such as `--md-red-100`.
- Sass, Scss: Color variables such as `$md-red-100`.
- Less: Color variables such as `@md-red-100`.
- Stylus: Color variables such as `md-red-100`.
- JSON: Raw data of colors. Key names are hypenated. e.g. `deep-purple`
- JavaScript: Color set object provided via AMD, CommonJS or global variable `materialColor`. Key names are camelCase. e.g. `deepPurple`
- EcmaScript module: Color variables are exported as camelCase names.See [dist directory](dist) or [demo](http://shuheikagawa.com/material-colors/) for more details.
## Usage
### Download
Download what you like from [dist directory](dist) and use it.
### Bower
```
bower install material-colors
```and use what you like in `bower_components/material-colors/dist`.
### NPM
```
npm install material-colors
```