{#each TEMI as t (t.id)} {@const scelto = tema === t.id}
onscegli?.(t.id)} class="overflow-hidden rounded-xl border text-left transition-colors {scelto ? 'border-accento ring-2 ring-accento' : 'border-bordo hover:border-tenue'}" >
{t.nome}
{#if scelto}
in uso
{/if}
{t.descrizione}
{/each}