 if (
        theme === 'dark' ||
        (theme !== 'light' &&
          window.matchMedia &&
          window.matchMedia?.('(prefers-color-scheme: dark)').matches)
      )
        document.documentElement.classList.add('dark')
    </script>
  </head>

  <body class="webview">
    <div id="root"></div>
    <script type="module" src="/src/worker.tsx"></script>
  </body>
</html>
