Theme
(showFonts = !showFonts)}>
Code font
{#if showFonts}
{#each codeFonts as font} {@const isSelectedFont = $codeFont === font.storedName}
switchFont(font.storedName)} class="item font" class:active={isSelectedFont} style:font-family={font.fontFamily}> {font.displayName} {#if isSelectedFont} {/if}
{/each}
{/if}