feat: enhance SVG handling by adding source fetching and copying functionality

This commit is contained in:
sha
2025-05-14 21:34:53 +03:00
parent 554861c940
commit d841f27454
4 changed files with 158 additions and 20 deletions
+8 -1
View File
@@ -44,7 +44,14 @@ $: getLogoThemeColor = logo => getDefaultLogoColor(logo.colors, theme);
}
</script>
<Preview show={showModal} logo={selectedLogo} theme={theme} on:close={closeModal} />
<Preview
show={showModal}
logo={selectedLogo}
theme={theme}
{onCopy}
{onDownload}
on:close={closeModal}
/>
<div class="logo-grid">
{#each logos as logo}