dark-mode-light-mode

1.4.1Β β€’Β PublicΒ β€’Β Published

Dark Mode - Light Mode

version npm downloads

DEMO

Installation

npm i dark-mode-light-mode

Usage

HTML

<div class="mode-layer"></div>
<div class="flip-card mode-button mode-animation">
  <div class="flip-card-inner">
    <div class="flip-card-front">πŸŒ™</div>
    <div class="flip-card-back">πŸ”†</div>
  </div>
</div>

Script

<script src="./node_modules/dark-mode-light-mode/index.js"></script>

Features

- It appears with a nice animation
- User choice will be saved

Package Sidebar

Install

npm i dark-mode-light-mode

Weekly Downloads

3

Version

1.4.1

License

MIT

Unpacked Size

80.3 kB

Total Files

4

Last publish

Collaborators

  • refatalsakka