From 6b9dcfa785d29de600675299af527309ca9bc2cb Mon Sep 17 00:00:00 2001 From: jellydeck <91427591+jellydeck@users.noreply.github.com> Date: Fri, 27 Mar 2026 12:21:49 +0530 Subject: [PATCH] chore: only use transitions we need --- src/lib/components/Button.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte index c9114e1..bacb4d5 100644 --- a/src/lib/components/Button.svelte +++ b/src/lib/components/Button.svelte @@ -7,7 +7,7 @@ const buttonVariants = tv({ base: [ 'inline-flex h-9 items-center justify-center gap-2 rounded-sm', - 'px-4 text-[15px] font-bold no-underline transition-colors transition-transform', + 'px-4 text-[15px] font-bold no-underline transition-[color,background-color,translate]', 'active:translate-y-px active:hover:inset-shadow-[0_3px_3px_0] active:inset-shadow-bg/80', 'focus-visible:-translate-y-1 focus-visible:shadow-[0_5px_0px_0]' ], -- 2.51.2