nuxt-modules / color-mode

Dark and Light mode with auto detection made easy with Nuxt 🌗
https://color-mode.nuxtjs.org
MIT License
1.08k stars 99 forks source link

allow disabling css transitions while changing color scheme #217

Open stefanprobst opened 10 months ago

stefanprobst commented 10 months ago

Is your feature request related to a problem? Please describe.

it would be cool to be able to disable any css transition on the page when changing the color mode.

Describe the solution you'd like

for example, this is how next-themes does this: https://github.com/pacocoursey/next-themes/blob/main/packages/next-themes/src/index.tsx#L285-L302