diff options
| author | David Hill <[email protected]> | 2026-02-17 20:09:42 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-02-17 20:10:16 +0000 |
| commit | 92912219dfa0ef51c88a329e04e0b69446328c2b (patch) | |
| tree | 9cf928b249c9e57b0a1f326a2ad3a6fb1790271b /packages/app/src/components | |
| parent | bab3124e8b74343fb93a4ff543fb7f9ed1a6f3c3 (diff) | |
| download | opencode-92912219dfa0ef51c88a329e04e0b69446328c2b.tar.gz opencode-92912219dfa0ef51c88a329e04e0b69446328c2b.zip | |
tui: simplify prompt mode toggle icon colors via CSS and tighten message timeline padding
Diffstat (limited to 'packages/app/src/components')
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 628a7ad34..ca7cc0325 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1361,14 +1361,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { class="w-full h-full flex items-center justify-center rounded-[2px] transition-colors hover:bg-surface-inset-base" classList={{ "hover:bg-transparent": store.mode === "shell" }} > - <Icon - name="console" - class="size-[18px]" - classList={{ - "text-icon-strong-base": store.mode === "shell", - "text-icon-weak": store.mode !== "shell", - }} - /> + <Icon name="console" class="size-[18px]" /> </div> </button> <button @@ -1381,14 +1374,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { class="w-full h-full flex items-center justify-center rounded-[2px] transition-colors hover:bg-surface-inset-base" classList={{ "hover:bg-transparent": store.mode === "normal" }} > - <Icon - name="prompt" - class="size-[18px]" - classList={{ - "text-icon-interactive-base": store.mode === "normal", - "text-icon-weak": store.mode !== "normal", - }} - /> + <Icon name="prompt" class="size-[18px]" /> </div> </button> </div> |
