{#each theme.variants as variant} {@const definition = THEME_DEFINITIONS[variant]} {@const isActive = theme.variant === variant}
theme.setVariant(variant)} class="variant-button" class:active={isActive} aria-label="Select {definition.label} theme" aria-pressed={isActive} >
{#if showEmoji && !compact}
{definition.emoji}
{/if} {#if showLabels && !compact}
{definition.label}
{/if}
{/each}