mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2 lines
474 B
JavaScript
2 lines
474 B
JavaScript
!function(){const e="light",t=document.documentElement;let l=e;const s=window.localStorage.getItem("global");if(null!=s){const e=JSON.parse(s);null!=e&&null!=e.theme&&(e.theme.indexOf("system")>-1?l=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e.theme.indexOf("dark")>-1&&(l="dark")),t.classList.contains("theme_"+l)||(t.classList.remove("theme_light"),t.classList.add("theme_"+l))}}();
|
|
//# sourceMappingURL=theme_head.5f24ba8d7aa944e6f52b.js.map
|