ds-css
/
6.6.1
ds-css 6.6.1
Install from the command line:
Learn more about npm packages
$ npm install @navikt/ds-css@6.6.1
Install via package.json:
"@navikt/ds-css": "6.6.1"
About this version
CSS for NAVs designsystem.
- Css tokens (Colors, border, shadows etc)
- Component-styling for
@navikt/ds-react
packages - Normalize.css v8
- Font-loading
yarn add @navikt/ds-css
npm install @navikt/ds-css
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";