Design improvements.

This commit is contained in:
pheralb
2023-10-29 13:58:11 +00:00
parent 68c929b755
commit dfc975df71
5 changed files with 24 additions and 10 deletions
+2
View File
@@ -8,6 +8,7 @@
import DownloadSimple from 'phosphor-svelte/lib/DownloadSimple';
import Copy from 'phosphor-svelte/lib/Copy';
import Link from 'phosphor-svelte/lib/Link';
import Star from 'phosphor-svelte/lib/Star';
// Props:
export let svgInfo: iSVG;
@@ -31,6 +32,7 @@
await navigator.clipboard.writeText(content);
}
toast.success('Copied to clipboard!', {
icon: Star,
description: `${svgInfo.title} - ${svgInfo.category}`
});
};