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 aed3720 commit a0b1f03Copy full SHA for a0b1f03
web/editor_ui.tsx
@@ -106,7 +106,7 @@ export class MainUI {
106
} else if (storedDarkModePreference === false) {
107
theme = "light";
108
} else {
109
- theme = window.matchMedia("(prefers-color-scheme: dark)").matches
+ theme = globalThis.matchMedia("(prefers-color-scheme: dark)").matches
110
? "dark"
111
: "light";
112
}
web/space_lua/stdlib/os.ts
@@ -1,4 +1,3 @@
1
-import { secureHeapUsed } from "node:crypto";
2
import { LuaBuiltinFunction, LuaTable } from "../runtime.ts";
3
4
const ONE_DAY = 1000 * 60 * 60 * 24;
0 commit comments