mirror of
https://github.com/stablyai/orca.git
synced 2026-10-15 08:03:08 +00:00
Soften setup prompt command field
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user