Fix dark/light theme showing as selected when "auto" is chosen
This commit is contained in:
parent
46fdf6d167
commit
7c9959831e
|
@ -6,7 +6,8 @@ const theme = useColorMode({
|
||||||
auto: '',
|
auto: '',
|
||||||
light: 'theme-light',
|
light: 'theme-light',
|
||||||
dark: 'theme-dark'
|
dark: 'theme-dark'
|
||||||
}
|
},
|
||||||
|
emitAuto: true
|
||||||
})
|
})
|
||||||
|
|
||||||
export default () => theme
|
export default () => theme
|
||||||
|
|
Loading…
Reference in New Issue