We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a9c52 commit 1bbbc3cCopy full SHA for 1bbbc3c
src/next-appdir/DsfrHead.tsx
@@ -124,6 +124,8 @@ export function DsfrHead(props: DsfrHeadProps) {
124
);
125
126
})();
127
+
128
+ console.log("isDark in inline js: " + isDark ? "true":"false");
129
130
["${data_fr_scheme}", "${data_fr_theme}"].forEach(attr => document.documentElement.setAttribute(attr, isDark ? "dark" : "light"));
131
0 commit comments