Notwithstanding Precautions, Misadventure

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

    3.2.0 • Public • Published

    @nuxtjs/color-mode

    @nuxtjs/color-mode

    npm version npm downloads Github Actions CI License

    🌑 Dark and 🌕 Light mode with auto detection made easy with Nuxt

    nuxt-color-mode

    Live demo

    Features

    • Nuxt 3 and Nuxt Bridge support
    • Add .${color}-mode 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
    • Supports IE9+ 👴

    📖  Read more

    Note: v3 of @nuxtjs/color-mode is compatible with Nuxt 3 and Nuxt Bridge. 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:

    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) Nuxt Team

    Keywords

    none

    Install

    npm i @nuxtjs/color-mode

    DownloadsWeekly Downloads

    22,107

    Version

    3.2.0

    License

    MIT

    Unpacked Size

    22.9 kB

    Total Files

    25

    Last publish

    Collaborators

    • antfu
    • danielroe
    • clarkdo
    • pi0
    • atinux
    • alexchopin