From 8fe4f8d6654dc26c5e9bf6bc61e45df623a34552 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Thu, 16 Sep 2021 11:20:15 +0200 Subject: [PATCH] fix unavailable font weight https://github.com/mui-org/material-ui/pull/28323#discussion_r709142266 --- docs/src/modules/components/AppNavDrawerItem.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/modules/components/AppNavDrawerItem.js b/docs/src/modules/components/AppNavDrawerItem.js index 70d7dfc53484d6..be1b397d5ca342 100644 --- a/docs/src/modules/components/AppNavDrawerItem.js +++ b/docs/src/modules/components/AppNavDrawerItem.js @@ -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), @@ -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', },