diff --git a/src/routes/(app)/habits/CounterHabitButton.svelte b/src/routes/(app)/habits/CounterHabitButton.svelte index 1d82548..ded4759 100644 --- a/src/routes/(app)/habits/CounterHabitButton.svelte +++ b/src/routes/(app)/habits/CounterHabitButton.svelte @@ -142,9 +142,10 @@ class={cn( 'z-10 flex h-12 w-full shrink-0 items-center justify-center shadow-sm select-none hover:cursor-pointer transition-all duration-200', 'animate-in fade-in-5 duration-300', + 'focus-visible:outline-none', direction === 'end' ? 'slide-in-from-right-12' : 'slide-in-from-left-12', - checked - ? 'bg-primary text-primary-foreground border border-primary hover:bg-primary/90' + checked + ? 'bg-primary text-primary-foreground border border-primary hover:bg-primary/90' : 'bg-card border border-border text-foreground hover:bg-muted/50', isToday && !checked && 'ring-2 ring-ring bg-accent', isFailed && !checked && 'bg-destructive/10 border-destructive/30',