Add: Tabler Icon system

This commit is contained in:
2024-05-14 10:01:20 +03:00
parent c134fa9b09
commit f4ba90a130
3 changed files with 22 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<script>
/**
* @type {string}
*/
export let name;
/**
* @type {number}
*/
export let size = 16;
/**
* @type {string}
*/
export let color;
</script>
<svg viewBox="0 0 24 24" width={size} height={size} {...$$restProps} style="color: {color}; {$$props.style || ""}">
<use href="/icon/{name}.svg#icon"></use>
</svg>