Skip to content

Commit

Permalink
fix: change to non opaque color to avoid color blending
Browse files Browse the repository at this point in the history
  • Loading branch information
Lelith committed Apr 30, 2024
1 parent bd10031 commit f041073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const getNavbarSwitcherStyles = () => ({
display: 'none',
},
'&:hover li': {
backgroundColor: hexToRGBA(tokens.gray300, 0.15),
backgroundColor: '#f2f4f6', // calculated hex color to avoid opaque color blending
},
},
getGlowOnFocusStyles(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const getNavbarSwitcherItemStyles = () => ({
},
},
'&:nth-child(3)': {
left: '-24px', //magic number due to round border design
left: '-25px', //magic number due to round border design
paddingLeft: tokens.spacingM,
borderRadius: `0 3rem 3rem 0`,
fontFamily: tokens.fontStackMonospace,
Expand Down

0 comments on commit f041073

Please sign in to comment.