{#if ed} {@const sel = ed.selected}
Gradient {#each ['fill', 'stroke'] as const as t (t)} {/each} {#if ed.mixed}Mixed{/if}
Type
{#if ed.gradient}
{}} >
{#each ed.stops as s (s.index)} {/each}
{#if sel}
controller.setGradientStop(sel.index, { color: e.currentTarget.value }, { merge: `gradient-stop-color-${sel.index}` })} onblur={end} /> {#if !sel.last} {/if}
{/if} {#if ed.target === 'stroke'} {/if} {/if}
{/if}