Dark and Light mode with auto detection made easy with Nuxt 🌗
🌑 Dark and 🌕 Light mode with auto detection made easy with Nuxt
.${color}-mode class to <html> for easy CSS themingundefinedNote: v3 of @nuxtjs/color-mode is compatible with Nuxt 3 and Nuxt Bridge. If you’re looking for the previous version of this module, check out the previous docs, or read more about the differences.
You can contribute to this module online with CodeSandBox:
Or locally:
yarn install or npm installyarn dev or npm run devCopyright © Nuxt Team