Skip to content

Commit

Permalink
Add hover style on selecti option
Browse files Browse the repository at this point in the history
  • Loading branch information
kapantzak committed Feb 26, 2024
1 parent bf1dae1 commit c2d6c36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/select/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ const makeCustomStyles = (theme, { minWidth, size, ...providedStyles } = {}) =>
option: (styles, state) => ({
...styles,
color: getOptionColor(theme, state),
":hover": {
backgroundColor: theme.colors.dropdown,
color: theme.colors.bright,
},
...(size === "tiny" ? { fontSize: "12px", minHeight: 28, padding: "4px 8px" } : {}),
}),
placeholder: styles => ({
Expand Down

0 comments on commit c2d6c36

Please sign in to comment.