summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/components
diff options
context:
space:
mode:
authorDavid Hill <[email protected]>2026-02-18 12:35:08 +0000
committerDavid Hill <[email protected]>2026-02-18 12:35:28 +0000
commitcc86a64bb57bfa4361eafdaa31bdda29cf8b52ee (patch)
tree6d06c1b4dcf417d5bde7da0206a625d1c6c34272 /packages/app/src/components
parent3394402aefecbaa7f7f469344811b4089a2ddb01 (diff)
downloadopencode-cc86a64bb57bfa4361eafdaa31bdda29cf8b52ee.tar.gz
opencode-cc86a64bb57bfa4361eafdaa31bdda29cf8b52ee.zip
tui: simplify mode toggle icon styling
Use consistent strong color for active mode icons instead of different colors for shell vs normal mode, making the active state more visually clear to users.
Diffstat (limited to 'packages/app/src/components')
-rw-r--r--packages/app/src/components/prompt-input.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx
index dcd5bd2f1..1ca085a42 100644
--- a/packages/app/src/components/prompt-input.tsx
+++ b/packages/app/src/components/prompt-input.tsx
@@ -1375,8 +1375,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
name={mode === "shell" ? "console" : "prompt"}
class="size-[18px]"
classList={{
- "text-icon-strong-base": mode === "shell" && store.mode === "shell",
- "text-icon-interactive-base": mode === "normal" && store.mode === "normal",
+ "text-icon-strong-base": store.mode === mode,
"text-icon-weak": store.mode !== mode,
}}
/>