Socket
Book a DemoInstallSign in
Socket

react-native-material-color

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-material-color

material color palette

1.0.15
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Material Color

Google Color Palette

Material Color Generator

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

Demo

color-palette

Usage

ES6

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 }} />

ES5 Support

var Color = require('react-native-material-color');

var { RED, Red } = require('react-native-material-color');

Color List(Default 500) / Color Palette

  • 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

  • Default 500
  • 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400, A700

White / Black / Transparent

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

Keywords

material

FAQs

Package last updated on 29 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.