Socket
Book a DemoInstallSign in
Socket

@digdir/designsystemet-theme

Package Overview
Dependencies
Maintainers
5
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digdir/designsystemet-theme

Predefined themes for Designsystemet

1.1.8
Source
npmnpm
Version published
Weekly downloads
7.9K
82.81%
Maintainers
5
Weekly downloads
 
Created
Source

@digdir/designsystemet-theme

This package contains the following predefined Designsystemet themes for use in Digdir.

  • digdir
  • altinn
  • uutilsynet
  • portal

Build your own theme on https://theme.designsystemet.no/

Usage

Read the Designsystemet README to get started.

When importing the package make sure to specify which theme. By default digdir is used.

// Digdir theme
@import url('@digdir/designsystemet-theme');
// or 
@import url('@digdir/designsystemet-theme/<theme>.css');

CSS

All variables are prefixed with ds and inside @layer ds.

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

@layer "other layers", ds;

.example {
  padding: var(--ds-size-1);
}

FAQs

Package last updated on 18 Jul 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.