Soften setup prompt command field

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
brennanb2025
2026-05-31 18:59:58 -07:00
co-authored by Orca
parent 17ab8658c0
commit 084e656344
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -856,6 +856,16 @@
background: color-mix(in srgb, var(--sidebar-foreground) 12%, var(--sidebar));
}
/* Why: the detected command is editable, but a pure app-background fill reads
like a black box in dark mode and overpowers the prompt card. */
.setup-script-prompt-command {
background: color-mix(in srgb, var(--sidebar-foreground) 2%, var(--sidebar));
}
.dark .setup-script-prompt-command {
background: color-mix(in srgb, var(--sidebar-foreground) 8%, 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
@@ -55,7 +55,7 @@ export function DetectedSetupPreview({
onChange={(event) => onSetupChange(event.target.value)}
spellCheck={false}
rows={Math.min(Math.max(setup.split('\n').length, 2), 6)}
className="max-h-28 w-full resize-y overflow-auto scrollbar-sleek rounded-md border border-sidebar-border bg-background px-2 py-1.5 font-mono text-[11px] leading-5 text-foreground shadow-xs outline-none focus-visible:ring-1 focus-visible:ring-ring"
className="setup-script-prompt-command max-h-28 w-full resize-y overflow-auto scrollbar-sleek rounded-md border border-sidebar-border px-2 py-1.5 font-mono text-[11px] leading-5 text-foreground shadow-xs outline-none focus-visible:ring-1 focus-visible:ring-ring"
/>
{provenance ? (
<p className="mt-1.5 text-[11px] text-muted-foreground">