Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
192f0bee83
@ -19,7 +19,7 @@ export const isDark = computed({
|
|||||||
watch(
|
watch(
|
||||||
isDark,
|
isDark,
|
||||||
(v) => {
|
(v) => {
|
||||||
const html = document.getElementsByTagName('html')[0]
|
const html = document.documentElement
|
||||||
html.classList.toggle('schema-dark', v)
|
html.classList.toggle('schema-dark', v)
|
||||||
},
|
},
|
||||||
{ immediate: true },
|
{ immediate: true },
|
||||||
|
Loading…
Reference in New Issue
Block a user