// Light is the unconditional default; only an explicit stored choice // ('dark') enables dark mode. OS preference is deliberately ignored. (() => { try { var root = document.documentElement; if (window.localStorage.getItem('kp-theme') === 'dark') { root.classList.add('dark'); } else { root.classList.remove('dark'); } } catch (_) {} })();