Skip to content
ds-css / 1.5.4

ds-css 1.5.4

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

About this version

NAV designsystem styling

CSS-package containing design for @navikt/ds-react and more.

  • All our tokens (Colors, border, shadows etc)
  • Component-styling for @navikt/ds-react packages
  • Normalize.css v8
  • Fonts

Installation

Install @navikt/ds-css with yarn

  yarn add @navikt/ds-css

Install @navikt/ds-css with npm

  npm install @navikt/ds-css

Usage

You can import these styles once to make it accessible in your entire project. Typically you will add the following line to your root .js or .ts files.

import "@navikt/ds-css";

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

But you can also import it in a .css-file like this

@import "@navikt/ds-css";

Learn more

License

MIT

Details


Assets

  • ds-css-1.5.4.tgz

Download activity

  • Total downloads 241
  • Last 30 days 0
  • Last week 0
  • Today 0