🌑 Dark and 🌕 Light mode with auto detection made easy with Nuxt.
.${color} class to <html> for easy CSS themingNote: v4 of @nuxtjs/color-mode is compatible with Nuxt 3+. 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:
pnpm installpnpm devCopyright (c) Nuxt Team