🌑 Dark and 🌕 Light mode with auto detection made easy with NuxtJS
.${color}-mode
class to <html>
for easy CSS themingstatic
or server
) and rendering (universal
and spa
)You can contribute to this module online with CodeSandBox:
Or locally:
yarn install
or npm install
yarn dev
or npm run dev
Author: nuxt-community
Demo: https://color-mode.nuxtjs.org/
Source Code: https://github.com/nuxt-community/color-mode-module
#vue #vuejs #javascript #nuxt #nuxtjs