Skip to content

Commit

Permalink
[website] Improve navbar's items hover state (#41535)
Browse files Browse the repository at this point in the history
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
  • Loading branch information
EyaOuenniche and danilo-leal authored Mar 18, 2024
1 parent b417391 commit 014fe9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/components/header/HeaderNavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ const Navigation = styled('nav')(({ theme }) => [
},
'& li': {
...theme.typography.body2,
color: (theme.vars || theme).palette.text.primary,
fontWeight: theme.typography.fontWeightBold,
color: (theme.vars || theme).palette.text.secondary,
fontWeight: theme.typography.fontWeightSemiBold,
'& > a, & > button': {
display: 'inline-block',
color: 'inherit',
Expand All @@ -38,7 +38,7 @@ const Navigation = styled('nav')(({ theme }) => [
borderRadius: (theme.vars || theme).shape.borderRadius,
border: '1px solid transparent',
'&:hover': {
color: (theme.vars || theme).palette.grey[900],
color: (theme.vars || theme).palette.text.primary,
backgroundColor: (theme.vars || theme).palette.grey[50],
borderColor: (theme.vars || theme).palette.grey[100],
'@media (hover: none)': {
Expand Down

0 comments on commit 014fe9a

Please sign in to comment.