Commit 3cc3671e authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

enh: custom icon support for actions

parent d4d7c3d8
......@@ -1034,7 +1034,16 @@
dispatch('action', action.id);
}}
>
{#if action.icon_url}
<img
src={action.icon_url}
class="w-4 h-4 dark:invert-[80%]"
style="fill: currentColor;"
alt={action.name}
/>
{:else}
<Sparkles strokeWidth="2.1" className="size-4" />
{/if}
</button>
</Tooltip>
{/each}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment