ds-tokens 4.7.2
Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-tokens@4.7.2
Install via package.json:
"@navikt/ds-tokens": "4.7.2"
About this version
Design-tokens for NAVs designsystem and used when implementing @navikt/ds-css.
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
- Scss
yarn add @navikt/ds-tokens
npm install @navikt/ds-tokens
color: var(--a-text-default);
backgroundcolor: var(--a-surface-default);