Socket
Socket
Sign inDemoInstall

@nuxtjs/color-mode

Package Overview
Dependencies
4
Maintainers
4
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nuxtjs/color-mode

Dark and Light mode for NuxtJS with auto detection


Version published
Weekly downloads
111K
increased by9.64%
Maintainers
4
Install size
108 kB
Created
Weekly downloads
 

Changelog

Source

2.0.10 (2021-06-11)

Bug Fixes

  • module stability (#92) (e9aa91c)

Readme

Source

@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

FAQs

Last updated on 11 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc