Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/select/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const makeCustomTheme = theme => selectTheme => {

const getOptionColor = (theme, state) => {
if (state.isDisabled) return theme.colors.placeholder
if (state.isSelected) return theme.colors.bright
if (state.isSelected) return theme.colors.selectedStrong
return theme.colors.textDescription
}

Expand Down Expand Up @@ -152,7 +152,7 @@ const makeCustomStyles = (theme, { minWidth, size, ...providedStyles } = {}) =>
color: getOptionColor(theme, state),
":hover": {
backgroundColor: theme.colors.dropdown,
color: theme.colors.bright,
color: theme.colors.selectedStrong,
},
...(size === "tiny" ? { fontSize: "12px", minHeight: 28, padding: "4px 8px" } : {}),
}),
Expand Down
1 change: 1 addition & 0 deletions src/theme/dark/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const appColors = {
separator: rawColors.neutral.grey35,
controlFocused: rawColors.neutral.white,
selected: rawColors.neutral.grey55,
selectedStrong: rawColors.neutral.white,
highlight: rawColors.neutral.grey55,
tooltip: rawColors.neutral.outerSpace,
bright: rawColors.neutral.white,
Expand Down
1 change: 1 addition & 0 deletions src/theme/default/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const appColors = {
separator: rawColors.neutral.grey185,
controlFocused: rawColors.neutral.limedSpruce,
selected: rawColors.neutral.grey180,
selectedStrong: rawColors.neutral.grey50,
highlight: rawColors.neutral.grey180,

tooltip: rawColors.neutral.shark,
Expand Down