JSPM

  • Created
  • Published
  • Downloads 9745
  • Score
    100M100P100Q146025F
  • License MIT

Design tokens for the Equinor Design System

Package Exports

  • @equinor/eds-tokens
  • @equinor/eds-tokens/dist/esm/index.js
  • @equinor/eds-tokens/dist/tokens.cjs.js

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 (@equinor/eds-tokens) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@equinor/eds-tokens

Design tokens used in the Equinor Design System (EDS), such as colours, typography, spacings etc…

Installation

npm install @equinor/eds-tokens

If you use Typescript, make sure you have typescript >= 3.8 as a devDependency:

npm install typescript --save-dev

Usage

import { tokens } from '@equinor/eds-tokens'

Tokens

  • Clickbounds
  • Colors
  • Elevation
  • Shape
  • Spacing
  • Interaction states
  • Typography (ot, woff or woff2 font required)