Colors not fading when using @nuxtjs/color-mode
Hey, I am trying to implement a dark/light mode system using the
app.vue:
nuxt.config.ts:
app/pages/index.vue:
@nuxtjs/color-mode package, but for some reason, the background color is not playing a fading animation when switching color. It however, plays the fade when reloading the page, just not when I manually change it. Furthermore, I have pretty much copied the code of the sandbox showcase (where the fade works), so I have no idea what is going on. (Just to clarify, when I switch colors, it does switch the colors, but it does so without fading)app.vue:
nuxt.config.ts:
app/pages/index.vue:
GitHub
Dark and Light mode with auto detection made easy with Nuxt
- nuxt-modules/color-mode
