{#if loading}
{:else}
{#if activeTab === 'themes'}
{#if searchTerm === ''}
{/if}
(showSignInOverlay = true)}
installedThemeIds={currentThemes}
/>
{#if displayTheme}
(showSignInOverlay = true)}
{selectedThemeId}
{installedThemeColors}
onInstall={async (themeId: string) => {
if (displayTheme) await installThemeFromStore(themeId, displayTheme);
}}
onRemove={async (themeId: string) => {
console.debug('deleting theme', themeId);
await removeThemeFromStore(themeId);
}}
onApply={async (themeId: string) => {
await applyThemeFromStore(themeId);
}}
/>
{/if}
{:else if activeTab === 'backgrounds'}
{/if}
{/if}
{#each Array(6) as _, i (i)}
{/each}
{:else if error}
Couldn't load themes
{error}
After an extension update, reload your SEQTA tab so the new version can talk to the browser.