npm

@navikt/ds-tokens
TypeScript icon, indicating that this package has built-in type declarations

7.5.1 • Public • Published

Aksel tokens

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

Installation

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

Usage

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

Learn more

License

MIT

Package Sidebar

Install

npm i @navikt/ds-tokens

Weekly Downloads

1,707

Version

7.5.1

License

MIT

Unpacked Size

288 kB

Total Files

30

Last publish

Collaborators

  • kenajoh
  • julian-nav
  • larshansennav