Skip to content
forked from egoist/md-colors

Material design color palettes as an npm package

Notifications You must be signed in to change notification settings

djyde/md-colors

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Material Design Color Palettes

https://material.io/design/color/the-color-system.html

Install

This package actually only contains a JSON file.

yarn add @egoist/md-color --dev

Usage

Using with TailwindCSS

In your tailwind.config.js:

const mdColors = require('@egoist/md-colors')

module.exports = {
  theme: {
    // Override default colors
    colors: {
      transparent: 'transparent',
      ...mdColors
    }
  }
}

Color names are camelCased, e.g. deepPurple and lightBlue, you can reference one via text-lightBlue-200 in TailwindCSS.

License

MIT.

About

Material design color palettes as an npm package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published