nuxt-modules / color-mode

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

allow disabling css transitions while changing color scheme #217

Open stefanprobst opened 1 year ago

stefanprobst commented 1 year 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