;
        } else {
          document.body.classList.remove("dark");
        }
      }

      document.addEventListener("DOMContentLoaded", applyTheme);

      window
        .matchMedia("(prefers-color-scheme: dark)")
        .addEventListener("change", applyTheme);
    </script>
  </head>
  <body>
    <div id="root"></div>
    <script type="module" src="./main.tsx"></script>
  </body>
</html>
