@digdir/designsystemet 0.1.0-alpha.13 → 0.1.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/designsystemet.js +1 -1
- package/dist/bin/designsystemet.js.map +1 -1
- package/dist/src/tokens/build.js +1 -1
- package/dist/src/tokens/build.js.map +1 -1
- package/dist/src/tokens/configs.js +1 -1
- package/dist/src/tokens/configs.js.map +1 -1
- package/dist/src/tokens/formats/css.js.map +1 -1
- package/package.json +9 -7
package/dist/src/tokens/build.js
CHANGED
|
@@ -2743,7 +2743,7 @@ var permutateThemes2 = ($themes) => permutateThemes($themes, {
|
|
|
2743
2743
|
});
|
|
2744
2744
|
var colorModeVariables = ({ mode = "light", outPath, theme }) => {
|
|
2745
2745
|
const selector = `${mode === "light" ? ":root, " : ""}[data-ds-color-mode="${mode}"]`;
|
|
2746
|
-
const layer = `ds.theme.color.${mode}`;
|
|
2746
|
+
const layer = `ds.theme.color-mode.${mode}`;
|
|
2747
2747
|
return {
|
|
2748
2748
|
log: { verbosity: "silent" },
|
|
2749
2749
|
preprocessors: ["tokens-studio"],
|