🌑 Dark and 🌕 Light mode with auto detection made easy with Nuxt.
.${color}-mode
class to <html>
for easy CSS themingNote: 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:
pnpm install
pnpm dev
Copyright (c) Nuxt Team