diff --git a/.changeset/sharp-humans-itch.md b/.changeset/sharp-humans-itch.md new file mode 100644 index 0000000000..4b07c3a5f0 --- /dev/null +++ b/.changeset/sharp-humans-itch.md @@ -0,0 +1,8 @@ +--- +"@digdir/designsystemet-react": major +"@digdir/designsystemet-theme": major +"@digdir/designsystemet-css": major +"@digdir/designsystemet": minor +--- + +**BREAKING CHANGE**: The attribute / prop `data-ds-color-mode` has been renamed to `data-color-scheme` diff --git a/.vscode/settings.json b/.vscode/settings.json index b71e719a32..06d7fab162 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,7 +14,7 @@ "typescript.tsdk": "node_modules/typescript/lib", "typescript.enablePromptUseWorkspaceTsdk": true, "cssvar.files": [ - "packages/theme/brand/digdir/color-mode/light.css", + "packages/theme/brand/digdir/color-scheme/light.css", "packages/theme/brand/digdir/typography/primary.css", "packages/theme/brand/digdir/semantic.css" ], diff --git a/apps/_components/src/CodeSnippet/CodeSnippet.tsx b/apps/_components/src/CodeSnippet/CodeSnippet.tsx index 790a7d5da2..c63de3aff0 100644 --- a/apps/_components/src/CodeSnippet/CodeSnippet.tsx +++ b/apps/_components/src/CodeSnippet/CodeSnippet.tsx @@ -75,7 +75,7 @@ const CodeSnippet = ({ return (
{snippet && ( diff --git a/apps/_components/src/Footer/Footer.tsx b/apps/_components/src/Footer/Footer.tsx index d3068152bb..9939f8e78e 100644 --- a/apps/_components/src/Footer/Footer.tsx +++ b/apps/_components/src/Footer/Footer.tsx @@ -49,7 +49,7 @@ export const Footer = forwardRef(function Footer(