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