made side menu mui icons black in light mode

This commit is contained in:
Carter 2025-04-02 13:24:47 -06:00
parent 76ac02d3ce
commit 394cd6a7ee
4 changed files with 19 additions and 19 deletions

View file

@ -36,6 +36,7 @@ import { useAuth0 } from "@auth0/auth0-react";
import FieldsIcon from "products/AgIcons/FieldsIcon";
import PlaneIcon from "products/AviationIcons/PlaneIcon";
import AirportMapIcon from "products/AviationIcons/AirportMapIcon";
import { getThemeType } from "theme";
const drawerWidth = 230;
@ -206,7 +207,7 @@ export default function SideNavigator(props: Props) {
classes={getClasses("/team")}
>
<ListItemIcon>
<People />
<People style={{ color: getThemeType() === "light" ? "black" : undefined }}/>
</ListItemIcon>
{open && <ListItemText primary="Teams" />}
</ListItemButton>
@ -218,7 +219,7 @@ export default function SideNavigator(props: Props) {
classes={getClasses("/user")}
>
<ListItemIcon>
<Person />
<Person style={{ color: getThemeType() === "light" ? "black" : undefined }}/>
</ListItemIcon>
{open && <ListItemText primary="Users" />}
</ListItemButton>