chore: update deps (#14755)

This commit is contained in:
Daniel Dietzler
2024-12-18 15:19:48 +01:00
committed by GitHub
parent a03f4f5610
commit 6a855f6331
38 changed files with 4610 additions and 14215 deletions

View File

@@ -16,7 +16,7 @@ export const handleToggleTheme = () => {
};
const initTheme = (): ThemeSetting => {
if (browser && window.matchMedia && !window.matchMedia('(prefers-color-scheme: dark)').matches) {
if (browser && globalThis.matchMedia && !globalThis.matchMedia('(prefers-color-scheme: dark)').matches) {
return { value: Theme.LIGHT, system: false };
}
return { value: Theme.DARK, system: false };