fix: open new window theme
This commit is contained in:
parent
51e7a08118
commit
1acdb77ad1
@ -36,7 +36,7 @@ export function ThemeProvider() {
|
|||||||
if (activeTheme === 'auto') {
|
if (activeTheme === 'auto') {
|
||||||
setIsDark(e.matches)
|
setIsDark(e.matches)
|
||||||
} else {
|
} else {
|
||||||
setTheme(e.matches ? 'dark' : 'light')
|
setTheme(activeTheme)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user