index.html
@@ -16,9 +16,11 @@ <script> (() => { var htmlRoot = document.getElementById('htmlRoot'); const theme = window.localStorage.getItem('__APP__DARK__MODE__'); if (!htmlRoot || !theme) return; htmlRoot.setAttribute('data-theme', theme); var theme = window.localStorage.getItem('__APP__DARK__MODE__'); if (htmlRoot && theme) { htmlRoot.setAttribute('data-theme', theme); theme = htmlRoot = null; } })(); </script> <div id="app">