{svgInfo.title}

{svgInfo.title}

{svgInfo.category}
{#if isInFigma} {/if} {#if typeof svgInfo.route !== 'string'} { downloadAllVariants(svgInfo); }} >

Light & Dark variants

{ const svgHasTheme = typeof svgInfo.route !== 'string'; if (!svgHasTheme) { downloadSvg( typeof svgInfo.route === 'string' ? svgInfo.route : "Something went wrong. Couldn't copy the SVG." ); return; } const dark = document.documentElement.classList.contains('dark'); downloadSvg( typeof svgInfo.route !== 'string' ? dark ? svgInfo.route.dark : svgInfo.route.light : svgInfo.route ); }} > Only {document.documentElement.classList.contains('dark') ? 'dark' : 'light'} variant
{:else} {/if}