fix: improve interactive accent contrast (#2075)

This commit is contained in:
José Almeida
2026-07-31 10:55:29 +01:00
committed by GitHub
parent 6bcd4fe711
commit d46ec16770
40 changed files with 213 additions and 84 deletions
@@ -60,8 +60,10 @@ function PRTab({
data-active={active ? "true" : "false"}
onClick={() => onSelect(pr)}
className={cn(
"flex shrink-0 cursor-pointer items-center gap-1 rounded-md px-2 py-1 text-xs whitespace-nowrap transition-colors",
active ? "bg-accent text-foreground" : "text-muted-foreground hover:bg-accent/50",
"flex shrink-0 cursor-pointer items-center gap-1 rounded-md border border-transparent px-2 py-1 text-xs whitespace-nowrap transition-colors",
active
? "border-primary/50 bg-card text-foreground"
: "text-muted-foreground hover:bg-muted",
)}
>
<IconGitPullRequest className={cn("h-3.5 w-3.5", getPRStatusColor(pr))} />