Coder Social home page Coder Social logo

anujdatar / color-mode-module Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nuxt-modules/color-mode

0.0 1.0 0.0 1.31 MB

Dark and Light mode with auto detection made easy with NuxtJS

Home Page: https://color-mode.nuxtjs.org

License: MIT License

JavaScript 65.09% Vue 31.48% CSS 3.43%

color-mode-module's Introduction

@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

color-mode-module's People

Contributors

adufr avatar aerophobic avatar atinux avatar bdrtsky avatar bsantosh909 avatar clarkdo avatar danielroe avatar debs-obrien avatar felixgraf avatar hamsoover avatar jankal avatar jefrydco avatar knogobert avatar kolahzary avatar pi0 avatar rajaaltus avatar renovate[bot] avatar tikkeninc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.