forked from MapComplete/MapComplete
UX: when using a white background icon, a dark outline gets used instead
This commit is contained in:
parent
59a294a166
commit
26c06a2697
3 changed files with 14 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue