change: color on isActive navbar item using bg-primary-color
This commit is contained in:
parent
370bb5eb86
commit
e0bde927d6
|
|
@ -74,7 +74,7 @@ export default function MenuItem({ menu, isActive, onClick }: Props) {
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
className={cn(
|
className={cn(
|
||||||
"w-full p-2 rounded-md justify-between focus:outline-none",
|
"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}
|
onClick={handleClick}
|
||||||
asChild
|
asChild
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user