`color-mode` not initializing the theme to dark.
The value of color-mode is clearly "dark" on load. My light/dark toggler can tell that the theme is dark. However, the dark theme is not being applied to the page no matter what I do. Thoughts?
2 Replies
Ah, I see what I did. Added the -mode in classSuffix. Initially only loading "dark" not "dark-mode". Fixed!
A thing I noticed was that you're updating
colorMode.value
, while the docs recommend to update colorMode.preference
instead: https://color-mode.nuxtjs.org/#usage