From 35457f8a17a1324597f64a2c713ff8af7efa2a4d Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Sat, 4 Jan 2025 00:40:34 +0800 Subject: [PATCH] style: tag hover animation --- components/Switch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Switch.tsx b/components/Switch.tsx index 447f04b..624672e 100644 --- a/components/Switch.tsx +++ b/components/Switch.tsx @@ -105,7 +105,7 @@ export default function Switch({ }} className={cn( "relative cursor-pointer rounded-3xl px-2.5 py-[8px] text-[13px] font-[600]", - "transition-all duration-500 ease-in-out text-stone-400 dark:text-stone-500", + "transition-all duration-500 ease-in-out text-stone-400 dark:text-stone-500 hover:text-stone-950 hover:dark:text-stone-50", { "text-stone-950 dark:text-stone-50": nowTag === tag, },