Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@digdir/designsystemet-css

Package Overview
Dependencies
Maintainers
5
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digdir/designsystemet-css

CSS for Designsystemet

latest
Source
npmnpm
Version
1.6.0
Version published
Maintainers
5
Created
Source

@digdir/designsystemet-css

CSS implementation of the Designsystemet components

  • Uses @layer ds
  • Uses @digdir/designsystemet-theme or CSS file generated from @digdir/designsystemet tokens build for theming

Read the Designsystemet README to get started.

Q&A

Tailwind

If you are using Tailwind with (Preflight)[https://tailwindcss.com/docs/preflight] make sure to load Designsystemet first.

v4

@import url('@digdir/designsystemet-css');
@import url('tailwindcss');

v3 and older

@import url('@digdir/designsystemet-css');

@layer tailwind-base, ds;

@layer tailwind-base {
  @tailwind base;
}
@tailwind components;
@tailwind utilities;

Keywords

css

FAQs

Package last updated on 29 Sep 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