mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-08 10:10:58 +00:00
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.
This commit is contained in:
parent
3394402aef
commit
cc86a64bb5
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue