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

7.17.4 • Public • Published

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

Package Sidebar

Install

npm i @navikt/ds-tokens

Weekly Downloads

1,965

Version

7.17.4

License

MIT

Unpacked Size

356 kB

Total Files

32

Last publish

Collaborators

  • kenajoh
  • julian-nav
  • larshansennav