Closed Barbapapazes closed 1 year ago
A reproduction : https://stackblitz.com/edit/github-prdpnr?file=nuxt.config.ts
By default, set the dark class in the html tag.
After some test, it seems that it use the navigator color to choose it prose must be in dark or in white. But, how to deal with this if I've only a white theme?
I think you can completely disable this behavior via @nuxtjs/color-mode module: https://color-mode.nuxtjs.org/#configuration
@nuxtjs/color-mode
I'm closing this as this is inactive for a while now, but feel free to re-open!
A reproduction : https://stackblitz.com/edit/github-prdpnr?file=nuxt.config.ts
By default, set the dark class in the html tag.
After some test, it seems that it use the navigator color to choose it prose must be in dark or in white. But, how to deal with this if I've only a white theme?