dark-mode-light-mode

    1.3.3Β β€’Β PublicΒ β€’Β Published

    Dark Mode - Light Mode

    version npm downloads

    DEMO

    Installation

    npm i dark-mode-light-mode

    Usage

    First add the HTML elements

    <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>

    then add the JavaScript after

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

    Features

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

    Install

    npm i dark-mode-light-mode

    DownloadsWeekly Downloads

    1

    Version

    1.3.3

    License

    MIT

    Unpacked Size

    12.6 kB

    Total Files

    3

    Last publish

    Collaborators

    • refatalsakka