Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@digdir/designsystemet-theme

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digdir/designsystemet-theme - npm Package Compare versions

Comparing version 1.0.0-next.40 to 1.0.0-next.41

2

package.json
{
"name": "@digdir/designsystemet-theme",
"version": "1.0.0-next.40",
"version": "1.0.0-next.41",
"description": "Predefined themes for Designsystemet",

@@ -5,0 +5,0 @@ "author": "Designsystemet team",

# @digdir/designsystemet-theme
This package contains the following predefined themes for Designsystemet
This package contains the following predefined Designsystemet themes for use in Digdir.
- `digdir`
- `altinn`
- `digdir`
- `tilsynet`
- `brreg`
- `uutilsynet`
- `portal`

@@ -14,11 +14,14 @@ Build your own theme on https://theme.designsystemet.no/

When importing the package make sure to specify which brand tokens you want to import. By default the `digdir` is imported if you don't specify a brand.
Read the Designsystemet [README](https://github.com/digdir/designsystemet) to get started.
When importing the package make sure to specify which theme.
By default `digdir` is used.
```tsx
import '@digdir/designsystemet-theme/<brand>.css';
import '@digdir/designsystemet-theme/<theme>.css';
// This imports Digdir brand css tokens
// Digdir theme
import '@digdir/designsystemet-theme';
// This imports Altinn css tokens
// Altinn theme
import '@digdir/designsystemet-theme/altinn.css';

@@ -43,1 +46,2 @@ ```

```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc