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
50
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 0.15.3 to 1.0.0-next.14

brand/altinn.css

12

package.json
{
"name": "@digdir/designsystemet-theme",
"version": "0.15.3",
"description": "Tokens for Designsystemet",
"version": "1.0.0-next.14",
"description": "Predefined themes for Designsystemet",
"author": "Designsystemet team",

@@ -9,3 +9,6 @@ "repository": "https://github.com/digdir/designsystemet",

"license": "MIT",
"main": "brand/digdir/tokens.css",
"exports": {
".": "./brand/digdir.css",
"./*": "./brand/*"
},
"files": [

@@ -23,4 +26,3 @@ "brand/**",

"rimraf": "^5.0.5"
},
"gitHead": "aeed6074c31e5e21c7ca9e83a883fe87cd1111d5"
}
}

@@ -23,3 +23,3 @@ # @digdir/designsystemet-theme

```tsx
import '@digdir/designsystemet-theme/brand/<brand>/tokens';
import '@digdir/designsystemet-theme/<brand>.css';

@@ -30,3 +30,3 @@ // This imports Digdir brand css tokens

// This imports Altinn css tokens
import '@digdir/designsystemet-theme/brand/altinn/tokens.css';
import '@digdir/designsystemet-theme/altinn.css';
```

@@ -39,6 +39,6 @@

All variables are prefixed with `fds`.
All variables are prefixed with `ds`.
```js
import '@digdir/designsystemet-theme/brand/altinn/tokens.css';
import '@digdir/designsystemet-theme/altinn.css';
```

@@ -48,4 +48,4 @@

div {
padding: var(--fds-spacing-1);
padding: var(--ds-spacing-1);
}
```
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