@navikt/ds-css

7.5.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @navikt/ds-css

Weekly Downloads

1,684

Version

7.5.3

License

MIT

Unpacked Size

2.51 MB

Total Files

219

Last publish

Collaborators

  • kenajoh
  • julian-nav
  • larshansennav