Socket
Book a DemoInstallSign in
Socket

@decisiv/design-tokens

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@decisiv/design-tokens

Design tokens for Decisiv's design system

1.8.8
latest
npmnpm
Version published
Weekly downloads
161
-31.49%
Maintainers
3
Weekly downloads
 
Created
Source

Key Design System: Design Tokens

This package provides the core, shared design tokens that define various aspects of the look and feel of the Key Design System.

The basic structure of the design token dictionary is as follows:

{
  color: {
    base: {
      snowWhite: ...,
      fullMoon: ...,
      halfMoon: ...,
      quarterMoon: ...,
      alaskanHusky: ...,
      blackSheep: ...,
      midnight: ...,
      charcoal: ...,
    },
    interaction: {
      pacificOcean: ...,
      indianOcean: ...,
      pacificOcean15: ...,
      pacificOcean40: ...,
      redWine: ...,
      arcticOcean: ...,
      atlanticOcean: ...,
      arcticOcean15: ...,
      arcticOcean40: ...,
      roseWine: ...,
    },
    opacity: {
      fullMoon50: ...,
      midnight50: ...,
      snowWhite15: ...,
      snowWhite40: ...,
      charcoal15: ...,
      charcoal40: ...,
      charcoal75: ...,
    },
    shadow: {
      light: { ... },
      dark: { ... },
    },
    status: {
      information: { ... },
      success: { ... },
      warning: { ... },
      danger: { ... },
    },
    visualInterest: {
      berryCrisp: { ... },
      koolaidCake: { ... },
      cookieMonster: { ... },
      cottonCandy: { ... },
      fizzyLime: { ... },
      mamboMango: { ... },
      carrotCake: { ... },
      roseGummy: { ... },
      licoriceMousse: { ... },
    },
  },
  iconography: { ... },
  skyplanes: { ... },
  spacing: {
    base: ...,
  },
  typography: {
    height: { ... },
    size: { ... },
    typeface: { ... },
    weight: { ... },
  },
}

For details on the design token values, color usage, etc., see the Key Design System documentation.

FAQs

Package last updated on 18 Dec 2019

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.