ds-tokens 7.9.2
Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-tokens@7.9.2
Install via package.json:
"@navikt/ds-tokens": "7.9.2"
About this version
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
yarn add @navikt/ds-tokens
npm install @navikt/ds-tokens
color: var(--a-text-default);
background-color: var(--a-surface-default);