nuxtjs-color-mode-fix
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

nuxtjs-color-mode-fix

nuxtjs-color-mode-fix

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-fix

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

Readme

Keywords

none

Package Sidebar

Install

npm i nuxtjs-color-mode-fix

Weekly Downloads

2

Version

2.1.1

License

MIT

Unpacked Size

16.8 kB

Total Files

12

Last publish

Collaborators

  • killserverx100