@navikt/ds-css
v7.35.1
Published
CSS for Nav Designsystem
Readme
Aksel styling
CSS for Nav's design system.
- Css tokens (Colors, border, shadows etc.)
- Component styling for
@navikt/ds-reactpackages - Normalize.css v8
- Font loading
Installation
yarn add @navikt/ds-css
npm install @navikt/ds-cssUsage
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 as well:
@import "@navikt/ds-css";