mirror of
https://github.com/stablyai/orca
synced 2026-04-21 14:17:16 +00:00
fix(sidebar): raise contrast on 'Don't ask again' checkbox in delete worktree dialog (#831)
This commit is contained in:
parent
b8b773e892
commit
82bbc48932
1 changed files with 2 additions and 2 deletions
|
|
@ -207,13 +207,13 @@ const DeleteWorktreeDialog = React.memo(function DeleteWorktreeDialog() {
|
|||
role="checkbox"
|
||||
aria-checked={dontAskAgain}
|
||||
onClick={() => setDontAskAgain((prev) => !prev)}
|
||||
className="flex items-center gap-2 rounded-sm px-1 py-1 text-xs text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
||||
className="flex items-center gap-2 rounded-sm px-1 py-1 text-xs text-foreground/80 transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
|
||||
>
|
||||
<span
|
||||
className={`flex size-4 items-center justify-center rounded-sm border transition-colors ${
|
||||
dontAskAgain
|
||||
? 'border-foreground bg-foreground text-background'
|
||||
: 'border-muted-foreground/50 bg-transparent'
|
||||
: 'border-muted-foreground bg-transparent'
|
||||
}`}
|
||||
>
|
||||
{dontAskAgain ? <Check className="size-3" strokeWidth={3} /> : null}
|
||||
|
|
|
|||
Loading…
Reference in a new issue