nav bar: gray background for selected page (indigo color was too prominent)
This commit is contained in:
parent
244fd7c981
commit
854daaebb7
|
@ -94,7 +94,7 @@ function NavBarItem(props: { item: Item; currentPage: string }) {
|
||||||
<a
|
<a
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'block w-full py-1 px-3 text-center hover:bg-indigo-200 hover:text-indigo-700',
|
'block w-full py-1 px-3 text-center hover:bg-indigo-200 hover:text-indigo-700',
|
||||||
currentPage === item.href && 'bg-indigo-200 text-indigo-700'
|
currentPage === item.href && 'bg-gray-200 text-indigo-700'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<item.icon className="my-1 mx-auto h-6 w-6" />
|
<item.icon className="my-1 mx-auto h-6 w-6" />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user