@digdir/designsystemet-theme
Advanced tools
Comparing version 0.15.3 to 1.0.0-next.14
{ | ||
"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); | ||
} | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
308683
26
7252
2
1