diff options
| author | David Hill <[email protected]> | 2026-03-08 00:53:06 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-03-08 00:53:57 +0000 |
| commit | 207ebf4b8cc53b6390ab96f393cbbbbaacd49781 (patch) | |
| tree | 8d49fb10b23a30a6ddd5f5df68b92e762b85d9b0 | |
| parent | 12d862dbd3ec0cea6da7daa8e53ec71183480a9b (diff) | |
| download | opencode-207ebf4b8cc53b6390ab96f393cbbbbaacd49781.tar.gz opencode-207ebf4b8cc53b6390ab96f393cbbbbaacd49781.zip | |
tui: use text-base color for prompt selects
Select triggers in the composer now use the normal text color so model/thinking/permissions controls read consistently with the rest of the input UI.
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index ca666ed23..3ae362e6f 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1342,7 +1342,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { as="div" variant="ghost" size="small" - class="min-w-0 max-w-[240px] text-13-regular group" + class="min-w-0 max-w-[240px] text-13-regular text-text-base group" style={{ opacity: buttonsSpring(), transform: `scale(${0.95 + buttonsSpring() * 0.05})`, @@ -1381,7 +1381,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { transform: `scale(${0.95 + buttonsSpring() * 0.05})`, filter: `blur(${(1 - buttonsSpring()) * 2}px)`, }, - class: "min-w-0 max-w-[240px] text-13-regular group", + class: "min-w-0 max-w-[240px] text-13-regular text-text-base group", }} > <Show when={local.model.current()?.provider?.id}> @@ -1412,7 +1412,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { label={(x) => (x === "default" ? language.t("common.default") : x)} onSelect={(x) => local.model.variant.set(x === "default" ? undefined : x)} class="capitalize max-w-[160px]" - valueClass="truncate text-13-regular" + valueClass="truncate text-13-regular text-text-base" triggerStyle={{ opacity: buttonsSpring(), transform: `scale(${0.95 + buttonsSpring() * 0.05})`, @@ -1455,7 +1455,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { current={local.agent.current()?.name ?? ""} onSelect={local.agent.set} class="capitalize max-w-[160px]" - valueClass="truncate text-13-regular" + valueClass="truncate text-13-regular text-text-base" triggerStyle={{ height: "28px", opacity: buttonsSpring(), @@ -1491,7 +1491,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { flip() }} class="max-w-[220px]" - valueClass="truncate text-13-regular" + valueClass="truncate text-13-regular text-text-base" triggerStyle={{ height: "28px", opacity: buttonsSpring(), |
