Sha256: f94108717f3993ac7453b3834b9b1d54668c8e69d2413446b9339994d5354107
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
(window.webpackJsonp=window.webpackJsonp||[]).push([["darkMode"],{"./assets/js/src/darkMode.js":function(e,t,o){"use strict";o.r(t);var d=document.querySelector("html");function n(e){return d.classList.toggle("dark-mode")}t.default=function(){console.log("Dark Mode (is the best)!"),"true"===window.localStorage.getItem("darkModeSetting")&&d.classList.add("dark-mode"),"/settings/"===window.location.pathname&&document.getElementById("darkModeButton").addEventListener("click",n)}}}]);
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kcc-gem-theme-2.2.4 | assets/js/dist/darkMode.bundle.js |
kcc-gem-theme-2.2.3 | assets/js/dist/darkMode.bundle.js |