Skip to content

Scheduling infrastructure for absolutely everyone.

fixes active state of select options (#4456)

Syed Ali Shahbaz3a06947c8ad6
diff --git a/packages/ui/v2/core/form/Select.tsx b/packages/ui/v2/core/form/Select.tsx
index fb72b8efae1..d04c727180a 100644
--- a/packages/ui/v2/core/form/Select.tsx
+++ b/packages/ui/v2/core/form/Select.tsx
@@ -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))",
},
}),
}}