New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@navikt/ds-css

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@navikt/ds-css

CSS for Nav Designsystem


Version published
Weekly downloads
2.1K
increased by14.52%
Maintainers
3
Weekly downloads
 
Created
Issues
33

Aksel styling

CSS for Nav's design system.

  • 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 as well:

@import "@navikt/ds-css";

Learn more

License

MIT

Keywords

FAQs

Package last updated on 23 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts