Fix dark/light theme showing as selected when "auto" is chosen

This commit is contained in:
Philipp Wolfer 2022-10-23 17:10:26 +02:00 committed by Kasper Seweryn
commit 7c9959831e

View file

@ -6,7 +6,8 @@ const theme = useColorMode({
auto: '',
light: 'theme-light',
dark: 'theme-dark'
}
},
emitAuto: true
})
export default () => theme