All Projects → justjavac → dark-light-mode

justjavac / dark-light-mode

Licence: MIT license
🌒 toggles dark mode... Really? Try it

Programming Languages

javascript
184084 projects - #8 most used programming language

dark-light-mode

🌒 toggles dark mode... Really? Try it

Installation

Use npm:

npm install --save dark-light-mode

Use yarn:

yarn add dark-light-mode

Use CDN:

<script type="module" src="https://unpkg.com/dark-light-mode"></script>

Usage

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>🌒 toggles dark mode... Really? Try it</title>
    <meta charset="utf-8" />
    <script type="module" src="https://unpkg.com/dark-light-mode"></script>
  </head>
  <body>
      <dark-light-mode />
  </body>
</html>

Demo

There is a live demo, it's a web page of "The Art of War"(Chinese: 孙子兵法, Twenty-Five Hundred years ago, Sun Tzu wrote this classic book of military strategy based on Chinese warfare and military thought).

License

dark-light-mode is released under the MIT License. See the bundled LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].