aboutsummaryrefslogtreecommitdiff
path: root/static/js/theme.min.js
blob: 88045520b6a9c3a96832930cb23c1519803d0f64 (plain)
1
"switch"!==localStorage.getItem("theme")&&(localStorage.getItem("theme")||window.matchMedia("(prefers-color-scheme: dark)").matches)||document.documentElement.classList.add("switch");