fixes active state of select options (#4456)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Syed Ali Shahbazandkodiakhq[bot] authored and GitHub committed 2022-09-14 13:44:42 +00:00
1 parent f486b0242f
commit 3a06947c8a
1 file changed
+2 -2
+2 -2
View File
@@ -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))",
},
}),
}}