Skip to content

The open source coding agent.

TypeScript

use theme color for prompt placeholder (#19535)

Sebastian77d4f994976d
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
index 29e09f64c74..d88747e4c50 100644
--- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
@@ -870,6 +870,7 @@ export function Prompt(props: PromptProps) {
>
<textarea
placeholder={placeholderText()}
+ placeholderColor={theme.textMuted}
textColor={keybind.leader ? theme.textMuted : theme.text}
focusedTextColor={keybind.leader ? theme.textMuted : theme.text}
minHeight={1}