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
parent 46fdf6d167
commit 7c9959831e
1 changed files with 2 additions and 1 deletions

View File

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