Increase setup script prompt contrast

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
brennanb2025
2026-05-31 18:30:12 -07:00
co-authored by Orca
parent a426f36fcb
commit 491de6d4eb
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -846,6 +846,16 @@
background: color-mix(in srgb, var(--accent) 30%, transparent);
}
/* Why: sidebar-accent sits too close to sidebar for this persistent prompt;
a foreground mix creates the requested light/dark separation without a new token. */
.setup-script-prompt-card {
background: color-mix(in srgb, var(--sidebar-foreground) 5%, var(--sidebar));
}
.dark .setup-script-prompt-card {
background: color-mix(in srgb, var(--sidebar-foreground) 12%, var(--sidebar));
}
.worktree-agent-send-target-button {
/* Why: the row remains an ordinary agent row during send-target mode; the
action itself carries the AI target outline so the clickable affordance
@@ -381,7 +381,7 @@ function SetupScriptPromptCard(): React.JSX.Element | null {
return (
<div className="px-3 pb-2">
<div className="rounded-lg border border-sidebar-border bg-sidebar-accent p-3 text-sidebar-accent-foreground shadow-xs">
<div className="setup-script-prompt-card rounded-lg border border-sidebar-border p-3 text-sidebar-accent-foreground shadow-xs">
<div className="flex items-center justify-between gap-2">
<p className="text-sm font-semibold leading-snug">Add a setup script</p>
<DismissButton onDismiss={handleDismiss} />