Skip to content

Commit

Permalink
fix: update AdminNavigation use theme colors
Browse files Browse the repository at this point in the history
  • Loading branch information
r41ph committed Oct 3, 2024
1 parent 81b83a1 commit 72f717d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ export const AdminNavigation = ({
className="flex p-2 cursor-pointer"
onClick={() => onNavItemClick(item.path)}
selected={isSelected(item.path, currentPath)}
sx={{
sx={theme => ({
'&.Mui-selected, &.Mui-selected:hover': {
backgroundColor: 'rgb(239, 239, 239)',
backgroundColor: theme.palette.info.light,
borderRadius: '5px',
},
'&:hover': {
backgroundColor: 'rgb(239, 239, 239)',
backgroundColor: theme.palette.info.light,
borderRadius: '5px',
},
}}
})}
>
<ListItemIcon className="min-w-[40px]">
{item.icon}
Expand Down

0 comments on commit 72f717d

Please sign in to comment.