Skip to content

Commit

Permalink
Update NavigationItem.tsx
Browse files Browse the repository at this point in the history
Updates hover and active state to use updated greys
  • Loading branch information
jpye-finch authored Jun 18, 2024
1 parent 8a96a15 commit 14eb671
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/components/src/SideNavigation/NavigationItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ const ItemContainer = styled.button<{ isSelected?: boolean }>`
border-radius: 4px;
padding: 0 8px;
background-color: ${({ theme, isSelected }) =>
isSelected ? theme.colors.grey200 : theme.colors.white};
isSelected ? theme.colors.grey100 : theme.colors.white};
${({ theme }) => theme.fonts.bold14};
color: ${({ theme, isSelected }) =>
isSelected ? theme.colors.copy : theme.colors.grey500};
&:hover {
background: ${({ theme }) => theme.colors.grey100};
background: ${({ theme }) => theme.colors.grey50};
color: ${({ theme }) => theme.colors.grey600};
}
&:active {
background-color: ${({ theme }) => theme.colors.grey200};
background-color: ${({ theme }) => theme.colors.grey100};
color: ${({ theme }) => theme.colors.grey600};
}
&:focus-visible {
Expand Down

0 comments on commit 14eb671

Please sign in to comment.