Closed itsmnthn closed 7 months ago
A useColorMode() returning reactive variable would be nice feature gives ability to watch and react to the color mode changes.
useColorMode()
Current workaround is to use useLocalStorage('nuxt-color-mode', 'auto') to react to the color mode changes.
useLocalStorage('nuxt-color-mode', 'auto')
Hmm, it is reactive I think, types don't specify this though
A
useColorMode()
returning reactive variable would be nice feature gives ability to watch and react to the color mode changes.Current workaround is to use
useLocalStorage('nuxt-color-mode', 'auto')
to react to the color mode changes.