Skip to content

Commit

Permalink
fix unavailable font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 16, 2021
1 parent fc29d6d commit 8fe4f8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/modules/components/AppNavDrawerItem.js
Expand Up @@ -124,12 +124,12 @@ const ItemButton = styled(Item, {
if (theme.palette.mode === 'dark') {
return alpha(theme.palette.grey[500], 0.5);
}
return theme.palette.grey[500];
return theme.palette.grey[600];
}
return theme.palette.text.primary;
})(),
fontSize: theme.typography.pxToRem(depth === 0 ? 14.5 : 12),
fontWeight: depth === 0 ? 600 : 700,
fontWeight: depth === 0 ? 500 : 700,
margin: depth === 0 ? theme.spacing(0.5, 0) : '8px 0 4px',
'&:hover': {
backgroundColor: depth === 0 ? '' : alpha(theme.palette.primary.main, 0),
Expand All @@ -140,7 +140,7 @@ const ItemButton = styled(Item, {
if (theme.palette.mode === 'dark') {
return alpha(theme.palette.grey[500], 0.5);
}
return theme.palette.grey[500];
return theme.palette.grey[600];
})(),
cursor: depth === 0 ? '' : 'text',
},
Expand Down

0 comments on commit 8fe4f8d

Please sign in to comment.