{#each theme.variants as variant} {@const definition = THEME_DEFINITIONS[variant]} {@const isActive = theme.variant === variant} {/each}