1
mirror of https://github.com/jakejarvis/dark-mode.git synced 2025-06-27 16:45:40 -04:00

Rename package from @jakejarvis/dark-mode to dark-mode-switcheroo

This commit is contained in:
2021-09-09 17:48:20 -04:00
parent 5fc1bd80b3
commit 02f772dd46
5 changed files with 116 additions and 217 deletions

View File

@ -47,7 +47,7 @@
<p><a href="https://github.com/jakejarvis/dark-mode" target="_blank" rel="noopener">View the source code</a> or <a href="https://jarv.is/notes/dark-mode/" target="_blank" rel="noopener">read the post</a>.</p>
<script src="../dist/dark-mode.min.js"></script> <!-- or use CDN: https://unpkg.com/@jakejarvis/dark-mode/dist/dark-mode.min.js -->
<script src="../dist/dark-mode.min.js"></script> <!-- or use CDN: https://unpkg.com/dark-mode-switcheroo/dist/dark-mode.min.js -->
<script>
window.darkMode.init({
toggle: document.querySelector(".dark-mode-toggle"),