{ if (e.target === e.currentTarget) hideModal(); }} onkeydown={(e) => { if (e.target === e.currentTarget) hideModal(); }} role="button" tabindex="-1" transition:fade >
e.stopPropagation()} onkeydown={(e) => e.stopPropagation()} > {#if theme}

{theme.name}

{(theme.download_count ?? 0).toLocaleString()} downloads {(theme.favorite_count ?? 0).toLocaleString()} favorites
Theme Cover

{theme.description}

{#if toggleFavorite && theme} {/if} {#if currentThemes.includes(theme.id)} {:else} {/if}

Similar Themes

{#each getRelatedThemes() as relatedTheme (relatedTheme.id)} {/each}
{:else}
{/if}
{#if showSignInModal} (showSignInModal = false)} /> {/if}