Vben
2021-04-10 215d8bab380728164d7fe2958c2d2d1151fce892
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">