{#snippet row(theme: Theme | null, sub: string | null)} {@const id = theme ? themeId(theme) : null} choose(theme)}> {#if theme?.palette} {:else} {/if} {theme?.name ?? 'System'} {#if sub}{sub}{/if} {#if id === chosenId}{/if} {/snippet} Theme {@render row(null, 'As your device is')} {#each plain as theme (themeId(theme))} {@render row(theme, null)} {/each} {#each painted as theme (themeId(theme))} {@render row(theme, schemeWord(theme))} {/each} Yours {#if mine === null} Loading your themes… {:else} {#each mine as theme (themeId(theme))} {@render row(theme, schemeWord(theme))} act(() => ondelete(theme))}> {:else} No themes of yours yet {/each} {/if} {#if theirs} In use {@render row(theirs, null)} {#if theirs.creator}By {/if} {/if} act(onnew)}> New theme act(onbrowse)}> Browse everyone’s themes
Theme
Yours
Loading your themes…
No themes of yours yet
In use
By