Skip to content

Commit

Permalink
fixes active state of select options (#4456)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
alishaz-polymath and kodiakhq[bot] committed Sep 14, 2022
1 parent f486b02 commit 3a06947
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/v2/core/form/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ function Select<
...provided,
color: "black",
":active": {
backgroundColor: state.isSelected ? "" : "var(--brand-color)",
color: "var(--brand-text-color)",
backgroundColor: state.isSelected ? "" : "rgba(229, 231, 235, var(--tw-bg-opacity))",
color: "rgba(51, 15, 51, var(--tw-bg-opacity))",
},
}),
}}
Expand Down

0 comments on commit 3a06947

Please sign in to comment.