add icons

This commit is contained in:
etstringy 2024-06-30 19:57:32 +01:00 committed by vimae
parent e5d8cafd25
commit b062153098
33 changed files with 599 additions and 50 deletions

View file

@ -18,15 +18,15 @@
</script>
<button
type="button"
class={[
type="button"
class={[
type,
active ? "active" : "",
disabled ? "disabled" : "",
].join(' ')}
aria-label="{label}"
title="{title}"
on:click={click}>
aria-label="{label}"
title="{title}"
on:click={click}>
<span class="icon">
<slot/>
</span>