style: tag hover animation

This commit is contained in:
hamster1963 2025-01-04 00:40:34 +08:00
parent 8228f15125
commit 35457f8a17

View File

@ -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,
},