Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@brightlayer-ui/colors

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightlayer-ui/colors

PX Blue colors for Eaton applications

Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
5.3K
-21.49%
Maintainers
1
Weekly downloads
 
Created
Source

Brightlayer UI Colors

This package contains Brightlayer UI UI color definitions. These are intended for use as primary UI colors.

It contains the following color defintions:

blue / $blui-blue
lightBlue / $blui-lightBlue
green / $blui-green
red / $blui-red
orange / $blui-orange
gold / $blui-gold
purple / $blui-purple
black / $blui-black
gray / $blui-gray
yellow / $blui-yellow
white / $blui-white

These all have color definitions for the following values: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400, A700.

NOTE: the white palette does not have accent colors defined.

Installation

Install with npm

npm install --save @brightlayer-ui/colors

or yarn

yarn add @brightlayer-ui/colors

Usage

Incorporating these colors into your project is handled differently depending on the framework that you are using.

Angular or Ionic

// in styles.scss or your top-level sass file
@import '~@brightlayer-ui/colors/palette.scss'
...
background-color: map-get($blui-blue, 500)

React or React Native

import * as Colors from '@brightlayer-ui/colors';
...
<div style={{background: Colors.blue['500']}}/>

Keywords

brightlayer-ui

FAQs

Package last updated on 21 Oct 2021

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