material-design-palette

v0.0.4
An easy API for using the Material Design color palette in javascript
Material Design Color Palette ES6

Build Status

Usage

ES6

import MaterialDesignPalette from 'material-design-palette';

export default class SomeReactComponent extends Component {
    render() {
        return <Card titleColor={MaterialDesignPalette.color.blue400} />
    }
}

CommonJS

var MaterialDesignPalette = require('material-design-palette');

module.exports = React.createClass({
    render: function() {
        return <Card titleColor={MaterialDesignPalette.color.blue400} />
    }
})

Palette

Palette

npm i material-design-palette

Metadata

Downloads

Maintainers