diff --git a/src/components/molecules/Toolbar/index.tsx b/src/components/molecules/Toolbar/index.tsx index e037b3e..aeaeeb5 100644 --- a/src/components/molecules/Toolbar/index.tsx +++ b/src/components/molecules/Toolbar/index.tsx @@ -23,7 +23,7 @@ import MenuIcon from '@mui/icons-material/Menu' const AppBarButton = styled(Button)(({ theme }) => ({ textTransform: 'none', - color: 'inherit', + color: theme.palette.mode === 'dark' ? 'inherit' : 'text.secondary', ':hover': { backgroundColor: 'transparent', ...(theme.palette.mode === 'dark' && { @@ -131,32 +131,21 @@ const CustomToolbar: React.FC = ({ drawerWidth = 240, window to="/" disableRipple sx={theme => ({ - [theme.breakpoints.down('md')]: { - mx: 'auto', - }, - [theme.breakpoints.up('md')]: { - mr: 'auto', - }, + color: theme.palette.text.primary, + [theme.breakpoints.down('md')]: { mx: 'auto' }, + [theme.breakpoints.up('md')]: { mr: 'auto' }, })}> - - Michele Tartari - + Michele Tartari - - Home - + Home - - Projects - + Projects - - Curriculum - + Curriculum