From 7ca53db4ecff0d1884cc821e111b279bee749130 Mon Sep 17 00:00:00 2001 From: Dotta Date: Tue, 21 Apr 2026 08:47:48 -0500 Subject: [PATCH] Fix question option highlight contrast --- .../components/IssueThreadInteractionCard.tsx | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/ui/src/components/IssueThreadInteractionCard.tsx b/ui/src/components/IssueThreadInteractionCard.tsx index 619b0c60654..b9762e25007 100644 --- a/ui/src/components/IssueThreadInteractionCard.tsx +++ b/ui/src/components/IssueThreadInteractionCard.tsx @@ -590,17 +590,31 @@ function QuestionOptionButton({ role={selectionMode === "single" ? "radio" : "checkbox"} aria-checked={selected} className={cn( - "w-full rounded-2xl border px-4 py-3 text-left transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50", + "w-full rounded-sm border px-4 py-3 text-left transition-colors outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50", selected - ? "border-sky-400/70 bg-sky-50/90 shadow-[0_14px_36px_rgba(14,165,233,0.14)]" - : "border-border/70 bg-background/80 hover:border-sky-300/60 hover:bg-sky-50/60", + ? "border-sky-500/80 bg-sky-500/10 text-sky-950 dark:border-sky-400/80 dark:bg-sky-400/15 dark:text-sky-50" + : "border-border/70 bg-transparent text-foreground hover:border-sky-500/70 hover:bg-sky-500/10 dark:hover:border-sky-400/70 dark:hover:bg-sky-400/10", )} id={id} onClick={onClick} > -
{label}
+
+ {label} +
{description ? ( -
+
{description}
) : null}