Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spscommerce/ds-colors

Package Overview
Dependencies
Maintainers
5
Versions
663
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spscommerce/ds-colors

Design sanctioned colors for SPS Commerce libraries and applications compiled into various formats.

  • 0.161.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
873
decreased by-27.97%
Maintainers
5
Weekly downloads
 
Created
Source

@spscommerce/ds-colors

Design approved colors distributed in various formats

Version

I want to use existing colors, see available colors, or add or change colors.

Using Existing Colors

Ensure you have access to and have configured our private jFrog Artifactory npm registry.

npm install --save @spscommerce/ds-colors

# OR

yarn add @spscommerce/ds-colors

Now choose a format that you'd like to use. The following formats are available:

If you want more formats please open a pull request.

CommonJS

const colors, { red100 } = require('@spscommerce/ds-colors');
console.log(colors.red100); // > #ffeaec
console.log(red100); // > #ffeaec

CSS Variables

@import 'path/to/node_modules/@spscommerce/ds-colors/colors.css';

.myclass {
    color: var(--gray400);
}

JSON

ln -s path/to/node_modules/@spscommerce/ds-colors/colors.json colors.json

Less

@import 'path/to/node_modules/@spscommerce/ds-colors/colors';

.myclass {
    color: @gray400;
}

SCSS

@import '@spscommerce/ds-colors/colors';

.myclass {
    color: $gray400;
}

YAML

ln -s path/to/node_modules/@spscommerce/ds-colors/colors.yml colors.yml

View this package on jFrog Artifactory on jFrog Artifactory

Available colors

white

white: #ffffff

black

black: #000000

gray100

gray100: #f6f6f6

gray200

gray200: #e8e9e9

gray300

gray300: #d2d4d5

gray400

gray400: #a5a9ab

gray500

gray500: #62686b

gray600

gray600: #1f282c

blue000

blue000: #ecf7fc

blue100

blue100: #d9f0fa

blue200

blue200: #00aae5

blue300

blue300: #0077aa

orange100

orange100: #fff4ea

orange200

orange200: #ff9632

orange300

orange300: #bf7025

yellow100

yellow100: #fff8e0

yellow200

yellow200: #fff0b3

yellow300

yellow300: #ffcc00

purple100

purple100: #f4ecf2

purple200

purple200: #9b4b87

purple300

purple300: #743865

green100

green100: #eaf8f0

green200

green200: #32be6f

green300

green300: #258f53

red100

red100: #fce5ea

red200

red200: #eb0032

red300

red300: #b00025

Keywords

FAQs

Package last updated on 10 Jul 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc