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
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
Install @navikt/ds-css
with yarn
yarn add @navikt/ds-css
Install @navikt/ds-css
with npm
npm install @navikt/ds-css
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";