@digdir/designsystemet-theme
Advanced tools
Comparing version 1.0.0-rc.5 to 1.0.0-rc.6
{ | ||
"name": "@digdir/designsystemet-theme", | ||
"version": "1.0.0-rc.5", | ||
"version": "1.0.0-rc.6", | ||
"description": "Predefined themes for Designsystemet", | ||
@@ -26,3 +26,3 @@ "author": "Designsystemet team", | ||
}, | ||
"gitHead": "280f6f5955fc74fc8ede9c27b267a58713616187" | ||
"gitHead": "92430c5083e185ada96522d28ff1c5bd2811de88" | ||
} |
@@ -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); | ||
} | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
160277
3820