This commit is contained in:
Chris Kruining 2024-11-28 13:35:56 +01:00
parent 6c1af29847
commit 2c6ea4ce0e
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2

View file

@ -42,7 +42,7 @@ export default function Editor(props: ParentProps) {
const themeColor = createMemo(() => {
theme();
return window.getComputedStyle(document.body).backgroundColor;
return globalThis.getComputedStyle(document.body).backgroundColor;
});
return <>