UI dropdowns: Selected option has purple highlight (#45254)

For the following bug:
- https://github.com/fleetdm/fleet/issues/45248
This commit is contained in:
Noah Talerman
2026-05-12 17:58:23 -04:00
committed by GitHub
parent 628f0dc78e
commit af83df6f5a
2 changed files with 2 additions and 2 deletions
@@ -240,7 +240,7 @@
border-radius: $border-radius;
&.is-selected {
background-color: $ui-vibrant-blue-10;
background-color: $ui-fleet-black-5;
font-weight: bold;
}
@@ -131,7 +131,7 @@ const getOptionBackgroundColor = (
state: OptionProps<CustomOptionType, false>
) => {
if (state.isFocused) return COLORS["ui-fleet-black-5"];
if (state.isSelected) return COLORS["ui-vibrant-blue-10"];
if (state.isSelected) return COLORS["ui-fleet-black-10"];
return "transparent";
};