Skip to content

Google Material Design's Color Palette in JSON format. Originally created to use in React Native

License

Notifications You must be signed in to change notification settings

sravanrekandar/google-material-color-palette-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-material-color-palette-json

Google Material Design's Color Palette in JSON format to support code intellisense. Originally created to use in React / React Native

Drawing

Drawing

Color values taken from Google Material's Color Palette

Install

npm i -S google-material-color-palette-json

Usage

const Palette = require('google-material-color-palette-json')

const bgColor = Palette.red.shade_500 // #F44336
const fgColor = Palette.white // #FFFFFF

UMD Version (Inject through <script /> tag)

<script src="google-material-color-palette-json/lib/palette-umd.js"></script>
<script>
  const bgColor = window.PALETTE.red.shade_500 // #F44336
  const fgColor = window.PALETTE.white // #FFFFFF
</script>

Drawing

About

Google Material Design's Color Palette in JSON format. Originally created to use in React Native

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published