Skip to content

Commit

Permalink
Add contrast to select dropdown hover items
Browse files Browse the repository at this point in the history
  • Loading branch information
terotik committed Oct 13, 2023
1 parent c128dd7 commit 174dcae
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions components/common/SelectDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,15 @@ function getSelectStyles<Option extends SelectDropdownOption>(
const { indent } = data;
const ret = {
...provided,
color: theme.themeColors.black,
color: isSelected
? theme.themeColors.white
: isFocused
? theme.themeColors.black
: theme.themeColors.black,
backgroundColor: isSelected
? theme.graphColors.grey020
? theme.graphColors.grey080
: isFocused
? theme.graphColors.grey005
? theme.graphColors.grey020
: theme.graphColors.white,
margin: 0,
//marginLeft: `${indent ?? 0}rem`,
Expand Down

0 comments on commit 174dcae

Please sign in to comment.