📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

@navikt/ds-css

Package Overview
Dependencies
Maintainers
4
Versions
545
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@navikt/ds-css

CSS for NAV Designsystem

6.11.0
Source
npm
Version published
Weekly downloads
2.7K
-11.21%
Maintainers
4
Weekly downloads
 
Created
Source

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

  • Docs
  • Storybook
  • ds-react README

License

MIT

Keywords

css

FAQs

Package last updated on 19 Jun 2024

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