Skip to content
ds-css / 7.1.2

ds-css 7.1.2

Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-css@7.1.2
Install via package.json:
"@navikt/ds-css": "7.1.2"

About this version

Aksel styling

CSS for NAVs designsystem.

  • Css tokens (Colors, border, shadows etc)
  • Component-styling for @navikt/ds-react packages
  • Normalize.css v8
  • Font-loading

Installation

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

Usage

Import styles once to make it accessible for your entire project. Typically you will add the following line to your root .tsx file.

import "@navikt/ds-css";

function App() {
  return <Component />;
}

But you can import it in a .css-file

@import "@navikt/ds-css";

Learn more

License

MIT

Details


Assets

  • ds-css-7.1.2.tgz

Download activity

  • Total downloads 1,685
  • Last 30 days 226
  • Last week 57
  • Today 15