{#each locales as locale (locale)} setLocale(localeMap[locale])} class="rounded px-1 font-sans tracking-widest transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring {activeLocale === locale ? inverted ? 'font-bold text-white' : 'font-bold text-ink' : inverted ? 'font-normal text-white/70 hover:text-white' : 'font-normal text-ink-3 hover:text-ink'}" > {locale} {/each}