@nuxtjs/color-mode
Nuxt Color Mode
🌑 Dark and 🌕 Light mode with auto detection made easy with Nuxt.
Features
- Add
.${color}class to<html>for easy CSS theming - Force a page to a specific color mode (perfect for incremental development)
- Works with client-side and universal rendering
- Auto detect system color-mode
Note: 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.
Contributing
You can contribute to this module online with CodeSandBox:
Or locally:
- Clone this repository
- Install dependencies using
pnpm install - Start development server using
pnpm dev
License
Copyright (c) Nuxt Team
Related Packages
@nuxtjs/sitemap
Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.
10,334,110
441
Version History
| Version | Released | License |
|---|---|---|
| 4.0.1 | MIT | |
| 4.0.0 | MIT | |
| 3.5.2 | MIT | |
| 3.5.1 | MIT | |
| 3.5.0 | MIT | |
| 3.4.4 | MIT | |
| 3.4.2 | MIT | |
| 3.4.1 | MIT | |
| 3.4.0 | MIT | |
| 3.3.3 | MIT | |
| 3.3.2 | MIT | |
| 3.3.1 | MIT | |
| 3.3.0 | MIT | |
| 3.2.0 | MIT | |
| 3.1.8 | MIT | |
| 3.1.7 | MIT | |
| 3.1.6 | MIT | |
| 3.1.5 | MIT | |
| 3.1.4 | MIT | |
| 3.1.3 | MIT | |
| 3.1.2 | MIT | |
| 3.1.1 | MIT | |
| 3.1.0 | MIT | |
| 3.0.3 | MIT | |
| 3.0.2 | MIT | |
| 3.0.1 | MIT | |
| 3.0.0 | MIT | |
| 2.1.1 | MIT | |
| 2.1.0 | MIT | |
| 2.0.10 | MIT |
Showing the latest 30 of 47. See every release on npm
Pre-releases (2)
| Version | Released | License |
|---|---|---|
| 3.0.0-beta.1 | MIT | |
| 3.0.0-beta.0 | MIT |

