PageSourceSearch

https://verycoolstudio.com/assets/js/theme-min.js

js verycoolstudio.com collected 2026-10-03 19:58:17 UTC 807 bytes, 1 lines download raw bytes

1let toggleSwitch=document.querySelector('.theme-switch input[type="checkbox"]');function switchTheme(e){e.target.checked?(document.documentElement.setAttribute("data-theme","dark"),localStorage.setItem("theme","dark")):(document.documentElement.setAttribute("data-theme","light"),localStorage.setItem("theme","light"))}toggleSwitch.addEventListener("change",switchTheme,!1);let currentTheme=localStorage.getItem("theme")?localStorage.getItem("theme"):null;currentTheme?(document.documentElement.setAttribute("data-theme",currentTheme),"dark"===currentTheme&&(toggleSwitch.checked=!0)):window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?(document.documentElement.setAttribute("data-theme","dark"),toggleSwitch.checked=!0):document.documentElement.setAttribute("data-theme","light");

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.