nuxt-themes / typography

Beautifully customizable Prose components for Nuxt Content.
https://typography.nuxt.space
MIT License
163 stars 7 forks source link

[Bug] Unusable because add a dark class to the html tag #25

Closed Barbapapazes closed 1 year ago

Barbapapazes commented 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?

Tahul commented 1 year ago

I think you can completely disable this behavior via @nuxtjs/color-mode module: https://color-mode.nuxtjs.org/#configuration

I'm closing this as this is inactive for a while now, but feel free to re-open!