chore: change side menu item color to black
This commit is contained in:
@@ -99,7 +99,7 @@ function SideMenu({ menuState, toggleMenuState, nightModeState, togglenightModeS
|
|||||||
return (
|
return (
|
||||||
<li key={index} className="mt-4 h-6">
|
<li key={index} className="mt-4 h-6">
|
||||||
<SideMenuItem
|
<SideMenuItem
|
||||||
className={clsx(isActive && 'text-foreground! border-primary!', 'border-r-4!')}
|
className={clsx(isActive && 'text-primary! border-primary!', 'border-r-4!')}
|
||||||
href={href ?? ''}
|
href={href ?? ''}
|
||||||
title={tMenu(item.title)}
|
title={tMenu(item.title)}
|
||||||
onClick={
|
onClick={
|
||||||
@@ -111,7 +111,7 @@ function SideMenu({ menuState, toggleMenuState, nightModeState, togglenightModeS
|
|||||||
<Icon
|
<Icon
|
||||||
variant={isActive ? 'Bold' : 'Linear'}
|
variant={isActive ? 'Bold' : 'Linear'}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
isActive ? 'text-foreground fill-foreground ' : 'stroke-icon-deactive text-icon-deactive'
|
isActive ? 'text-primary fill-primary ' : 'stroke-icon-deactive text-icon-deactive'
|
||||||
)}
|
)}
|
||||||
size={20} width={20} height={20} />
|
size={20} width={20} height={20} />
|
||||||
}
|
}
|
||||||
@@ -135,7 +135,7 @@ function SideMenu({ menuState, toggleMenuState, nightModeState, togglenightModeS
|
|||||||
<SideMenuItem
|
<SideMenuItem
|
||||||
key={index}
|
key={index}
|
||||||
href={item.href ?? ''}
|
href={item.href ?? ''}
|
||||||
className={clsx(isActive && 'text-foreground! border-primary!', 'border-r-4!')}
|
className={clsx(isActive && 'text-primary! border-primary!', 'border-r-4!')}
|
||||||
onClick={
|
onClick={
|
||||||
typeof item.href === 'string'
|
typeof item.href === 'string'
|
||||||
? hrefOnClicks.find((i) => i.href === item.href)?.handler
|
? hrefOnClicks.find((i) => i.href === item.href)?.handler
|
||||||
@@ -146,7 +146,7 @@ function SideMenu({ menuState, toggleMenuState, nightModeState, togglenightModeS
|
|||||||
<Icon
|
<Icon
|
||||||
variant={isActive ? 'Bold' : 'Linear'}
|
variant={isActive ? 'Bold' : 'Linear'}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
isActive ? 'text-foreground fill-foreground ' : 'stroke-icon-deactive text-icon-deactive'
|
isActive ? 'text-primary fill-primary ' : 'stroke-icon-deactive text-icon-deactive'
|
||||||
)}
|
)}
|
||||||
size={20} width={20} height={20} />
|
size={20} width={20} height={20} />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user