Skip to content

ds-tokens 7.18.0

Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-tokens@7.18.0
Install via package.json:
"@navikt/ds-tokens": "7.18.0"

About this version

Aksel tokens

Design-tokens for Nav's design system.

Node: This package is consumed by @navikt/ds-css, so not needed separately for regular use of CSS-variables.

Formats:

  • CSS-variables <- Used in @navikt/ds-css
  • CommonJS
  • ESM
  • Less
  • Sass

Installation

  yarn add @navikt/ds-tokens
  npm install @navikt/ds-tokens

Usage

color: var(--a-text-default);
background-color: var(--a-surface-default);

Learn more

License

MIT

Details


Assets

  • ds-tokens-7.18.0.tgz

Download activity

  • Total downloads 6,451
  • Last 30 days 113
  • Last week 14
  • Today 9