  <style id="style"></style>
</body>

<script type="module">
import '@unocss/reset/tailwind.css'

const container = document.getElementById('container')
const style = document.getElementById('style')
const root = document.body.parentElement

if (window.parent.document.body.parentElement.className.includes('dark'))
  root.classList.toggle('dark', true)

window.addEventListener('message', ({ data }) => {
  const payload = typeof data === 'string' ? JSON.parse(data) : data
  if (payload.source !== 'unocss-appl