Caption Appearance

update({ fontSize: parseInt((e.target as HTMLInputElement).value, 10) })} />
update({ textColor: (e.target as HTMLInputElement).value })} />
{#if settings.dimmedColorMode === 'auto'}
update({ dimmedOpacity: parseInt((e.target as HTMLInputElement).value, 10) / 100 })} />
{:else}
update({ dimmedColor: (e.target as HTMLInputElement).value })} />
{/if}
update({ outlineColor: (e.target as HTMLInputElement).value })} />
update({ backgroundColor: (e.target as HTMLInputElement).value })} />
{#if settings.backgroundEnabled}
update({ backgroundOpacity: parseInt((e.target as HTMLInputElement).value, 10) / 100 })} />
{/if}
update({ shadowColor: (e.target as HTMLInputElement).value })} />
{#if settings.shadowEnabled}
update({ shadowDepth: parseInt((e.target as HTMLInputElement).value, 10) })} />
{/if}