fixed text are white when a menu item is selected

This commit is contained in:
2025-06-29 18:10:07 +03:00
parent d71c8889ba
commit c564d0ae0a
2 changed files with 7 additions and 0 deletions

View File

@@ -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).

View File

@@ -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 }) => ({