![Latest Version](https://img.shields.io/github/release/zavoloklom/material-design-color-palette.svg?style=flat-square&label=latest version) ![Software License](https://img.shields.io/badge/license-MIT License-blue.svg?style=flat-square)
Color palette created and maintained by Google.
This color palette comprises primary and accent colors that can be used for illustration or to develop your brand colors. They’ve been designed to work harmoniously with each other.
Get started at http://zavoloklom.github.io/material-design-color-palette
Download: 1.1.0 (ZIP)
Bower: bower install material-design-color-palette
Use this method to get the default Material Design Color Palette CSS.
- Download latest version of Material Design Color Palette.
- Unpack the entire
material-design-color-palette
archive into your project. - In the of your html, reference the location to your material-design-color-palette.min.css.
<link rel="stylesheet" href="path/to/material-design-color-palette/css/material-design-color-palette.min.css">
- Check out the Examples pages to start using Material Design Color Palette!
Use this method to customize Material Design Color Palette using LESS.
- Download latest version of Material Design Color Palette.
- Unpack the entire
material-design-color-palette
archive into your project. - Open your project's
path/to/material-design-color-palette/less/variables/colors.less
to change HEX values. - Open your project's
path/to/material-design-color-palette/less/variables/main.less
to change prefixes@zmdc-css-prefix
,@zmdc-text-prefix
and@zmdc-bg-prefix
.
Css class template: {@zmdc-css-prefix}-{@zmdc-text-prefix or @zmdc-bg-prefix}-{color name}-{color value}. Example: mdc-text-red-400
- Re-compile your LESS if using a static compiler.
- Check out the Examples pages to start using Material Design Color Palette!
- Material Design Color Palette CSS and LESS files are licensed under the MIT License:
- Full details: License page
- 1.1.0 - add some changes into LESS mixins and variables
- 1.0.0 - add all colors from Google
Material Design Color Palette will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
- New colors from Google or changes that breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on SemVer, please visit http://semver.org.