feat: add confetti and render overview with svelte

This commit is contained in:
SethBurkart123
2025-06-13 09:06:56 +10:00
parent bb7c27dfea
commit 2292585e60
7 changed files with 507 additions and 604 deletions
+5 -3
View File
@@ -15,9 +15,11 @@ export default function renderSvelte(
},
});
const styleElement = document.createElement("style");
styleElement.textContent = style;
mountPoint.appendChild(styleElement);
if (mountPoint instanceof ShadowRoot) {
const styleElement = document.createElement("style");
styleElement.textContent = style;
mountPoint.appendChild(styleElement);
}
return app;
}