Skip to content

Commit cc86a64

Browse files
committed
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.
1 parent 3394402 commit cc86a64

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/app/src/components/prompt-input.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,8 +1375,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
13751375
name={mode === "shell" ? "console" : "prompt"}
13761376
class="size-[18px]"
13771377
classList={{
1378-
"text-icon-strong-base": mode === "shell" && store.mode === "shell",
1379-
"text-icon-interactive-base": mode === "normal" && store.mode === "normal",
1378+
"text-icon-strong-base": store.mode === mode,
13801379
"text-icon-weak": store.mode !== mode,
13811380
}}
13821381
/>

0 commit comments

Comments
 (0)