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);