AdithyaSK's picture
AdithyaSK HF Staff
Security: credential-free sandboxes via a per-rollout model proxy, CSP, local-mode hardening
d2be16b verified
Raw History Blame Contribute Delete
236 Bytes
// Runs before the page paints (loaded blocking in <head>): apply the saved theme so there's no flash.
try { const t = localStorage.getItem("theme"); if (t) document.documentElement.dataset.theme = t; } catch (e) { /* private mode */ }