hoavandoan / color-mode-module

Dark and Light mode with auto detection made easy with NuxtJS

Home Page:https://color-mode.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@nuxtjs/color-mode

@nuxtjs/color-mode

npm version Github Actions CI Codecov License

πŸŒ‘ Dark and πŸŒ• Light mode with auto detection made easy with NuxtJS

nuxt-color-mode

Live demo

Features

  • Add .${color}-mode class to <html> for easy CSS theming
  • Force a page to a specific color mode (perfect for incremental development)
  • Works with any NuxtJS target (static or server) and rendering (universal and spa)
  • Auto detect the system color-mode
  • Sync dark mode across tabs and windows πŸ”„
  • Supports IE9+ πŸ‘΄

πŸ“–  Read more

Contributing

You can contribute to this module online with CodeSandBox:

Edit @nuxtjs/color-mode

Or locally:

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Copyright (c) NuxtJS Team

About

Dark and Light mode with auto detection made easy with NuxtJS

https://color-mode.nuxtjs.org

License:MIT License


Languages

Language:JavaScript 56.9%Language:Vue 38.8%Language:CSS 4.2%