Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

color-mode

> 前端框架
Open source

Dark and Light mode with auto detection made easy with Nuxt

1.2K stars0 likes1 views
WebsiteGitHub

About

Dark and Light mode with auto detection made easy with Nuxt

Nuxt Color Mode

npm version npm downloads License Nuxt

Dark and Light mode with auto detection made easy with Nuxt. Live demo

  • ✨  Release Notes
  •  Documentation
  • ▶️  Online playground

Features

  • Add .${color} class to `` 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

 Read more

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:

  1. Clone this repository
  2. Install dependencies using pnpm install
  3. Start development server using pnpm dev

License

MIT License

Copyright (c) Nuxt Team

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptcolor-schemedark-modedark-themenuxt-module

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架