{#each modes as { mode, label }} {@const isActive = theme.mode === mode} {/each}