diff --git a/src/components/BottomNav.tsx b/src/components/BottomNav.tsx index 679f15f..09a8282 100644 --- a/src/components/BottomNav.tsx +++ b/src/components/BottomNav.tsx @@ -20,7 +20,7 @@ export function BottomNav({ active, onChange }: { active: TabName | null; onChan type="button" onClick={() => onChange(id)} aria-current={on ? 'page' : undefined} - className={`flex min-w-14 flex-col items-center gap-0.5 rounded-xl px-2 pb-1.5 transition-colors ${on ? 'text-coral' : 'text-muted'}`} + className={`flex min-w-14 flex-col items-center gap-0.5 rounded-xl px-2 pb-1.5 transition-[color,transform] active:scale-90 ${on ? 'text-coral' : 'text-muted'}`} > diff --git a/src/screens/HomeScreen.tsx b/src/screens/HomeScreen.tsx index b53a9f9..6122f46 100644 --- a/src/screens/HomeScreen.tsx +++ b/src/screens/HomeScreen.tsx @@ -53,7 +53,7 @@ export function HomeScreen() {
{gradeTitle && ( - )} @@ -64,13 +64,13 @@ export function HomeScreen() { type="button" aria-label={`${label}: ${toFa(value)}`} onClick={() => nav.push({ name: to })} - className="flex items-center gap-1 rounded-full bg-white px-2.5 py-1.5 text-xs font-black text-ink shadow-sm" + className="hit flex items-center gap-1 rounded-full bg-white px-2.5 py-1.5 text-xs font-black text-ink shadow-sm active:scale-95" > {toFa(value)} ))} -