JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q61852F
  • License ISC

material color patten

Package Exports

  • react-native-material-color

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-material-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Material Color

Google Color Palette

npm install react-native-material-color --save

Usage

import Color from 'react-native-material-color';

<View style={{ backgroundColor: Color.RED[500] }} />
<View style={{ backgroundColor: Color.Red }} />
import { BLUE, Blue } from 'react-native-material-color';

<View style={{ backgroundColor: BLUE[800] }} />
<View style={{ backgroundColor: Blue }} />

Color List(Defalut 500) / Color Palatte

  • White / WHITE
  • Black / BLACK
  • Transparent / TRANSPARENT
  • DeltaGrey / DELTAGREY
  • DeltaBlue / DELTABLUE
  • Red / RED
  • Pink / PINK
  • Purple / PURPLE
  • DeepPruple / DEEPPRUPLE
  • Indigo / INDIGO
  • Blue / BLUE
  • LightBlue / LIGHTBLUE
  • Cyan / CYAN
  • Teal / TEAL
  • Green / GREEN
  • LightGreen / LIGHTGREEN
  • Lime / LIME
  • Yellow / YELLOW
  • Amber / AMBER
  • Orange / ORANGE
  • DeepOrange / DEEPORANGE
  • Brown / BROWN
  • BlueGrey / BLUEGREY
  • Grey / GREY

Color Palette

Defalut 500, from 100 ~ 900

White / Black / Transparent

Do not have Palette, Just Color.WHITE / Color.White / WHITE / White