Font:
selectFont((e.target as HTMLSelectElement).value as FontFamily)} > {#each Object.entries(RETRO_FONTS) as [key, font] (key)}
{font.name}
{/each}
Size:
updateFontSize(parseInt((e.target as HTMLInputElement).value))} />
{style.fontSize}px
B
I
U
S
Color:
{#if showPreview}
Preview:
{#if isProcessing}
Processing...
{:else} {@html formattedPreview} {/if}
{/if}