UX: when using a white background icon, a dark outline gets used instead

This commit is contained in:
Pieter Vander Vennet 2024-07-10 11:42:26 +02:00
parent 59a294a166
commit 26c06a2697
3 changed files with 14 additions and 0 deletions

View file

@ -24,6 +24,10 @@
{#if iconItem?.startsWith("<")}
{@html iconItem}
{:else if color === "white"}
<span class="light-icon">
<Icon icon={iconItem} {color} {emojiHeight} />
</span>
{:else}
<Icon icon={iconItem} {color} {emojiHeight} />
{/if}