forked from BLC/AyposWeb
fixed text are white when a menu item is selected
This commit is contained in:
@@ -5,3 +5,4 @@ Code Comments: Some complex logic could benefit from more inline comments for ma
|
|||||||
Modularity: Some files (e.g., pages) are quite large and could be split into smaller, focused components.
|
Modularity: Some files (e.g., pages) are quite large and could be split into smaller, focused components.
|
||||||
Environment Variables: API URLs are hardcoded in some places; best practice is to use environment variables for all endpoints.
|
Environment Variables: API URLs are hardcoded in some places; best practice is to use environment variables for all endpoints.
|
||||||
Accessibility: No explicit mention of accessibility (a11y) practices (e.g., ARIA labels, keyboard navigation).
|
Accessibility: No explicit mention of accessibility (a11y) practices (e.g., ARIA labels, keyboard navigation).
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,9 @@ const StyledListItemButton = styled(ListItemButton)(({ theme }) => ({
|
|||||||
'& .MuiListItemIcon-root svg': {
|
'& .MuiListItemIcon-root svg': {
|
||||||
stroke: '#ffffff',
|
stroke: '#ffffff',
|
||||||
},
|
},
|
||||||
|
'& .MuiListItemText-primary': {
|
||||||
|
color: '#ffffff',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
backgroundColor: '#f8f8f8',
|
backgroundColor: '#f8f8f8',
|
||||||
@@ -67,6 +70,9 @@ const StyledListItemButton = styled(ListItemButton)(({ theme }) => ({
|
|||||||
'& .MuiListItemIcon-root svg': {
|
'& .MuiListItemIcon-root svg': {
|
||||||
stroke: '#028a4a',
|
stroke: '#028a4a',
|
||||||
},
|
},
|
||||||
|
'& .MuiListItemText-primary': {
|
||||||
|
color: '#028a4a',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
const MenuListContainer = styled(Box)(({ theme }) => ({
|
const MenuListContainer = styled(Box)(({ theme }) => ({
|
||||||
|
|||||||
Reference in New Issue
Block a user