Skip to content

Commit 91e718d

Browse files
committed
Apply root color-scheme on the backend
1 parent b053790 commit 91e718d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/colorScheme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export function startObservingColorSchemeHtmlAttribute() {
108108

109109
element.id = id;
110110

111-
element.innerHTML = `:root { color-scheme: ${colorScheme} }`;
111+
element.innerHTML = `:root { color-scheme: ${colorScheme}; }`;
112112

113113
document.getElementsByTagName("head")[0].appendChild(element);
114114
};

0 commit comments

Comments
 (0)