From e0bde927d686a4e75494afe4123e705a89359bbe Mon Sep 17 00:00:00 2001 From: abiyasa05 Date: Fri, 1 Nov 2024 14:26:00 +0700 Subject: [PATCH] change: color on isActive navbar item using bg-primary-color --- apps/frontend/src/components/NavbarMenuItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/components/NavbarMenuItem.tsx b/apps/frontend/src/components/NavbarMenuItem.tsx index 17db4c4..12494d1 100644 --- a/apps/frontend/src/components/NavbarMenuItem.tsx +++ b/apps/frontend/src/components/NavbarMenuItem.tsx @@ -74,7 +74,7 @@ export default function MenuItem({ menu, isActive, onClick }: Props) { variant="ghost" className={cn( "w-full p-2 rounded-md justify-between focus:outline-none", - isActive ? "bg-black text-white" : "text-black" + isActive ? "bg-[--primary-color] text-white" : "text-black" )} onClick={handleClick} asChild