Skip to content

Commit f03288b

Browse files
committed
Revert "tui: use text-base color for prompt selects"
This reverts commit 207ebf4.
1 parent 09388c9 commit f03288b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
13421342
as="div"
13431343
variant="ghost"
13441344
size="small"
1345-
class="min-w-0 max-w-[240px] text-13-regular text-text-base group"
1345+
class="min-w-0 max-w-[240px] text-13-regular group"
13461346
style={{
13471347
opacity: buttonsSpring(),
13481348
transform: `scale(${0.95 + buttonsSpring() * 0.05})`,
@@ -1381,7 +1381,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
13811381
transform: `scale(${0.95 + buttonsSpring() * 0.05})`,
13821382
filter: `blur(${(1 - buttonsSpring()) * 2}px)`,
13831383
},
1384-
class: "min-w-0 max-w-[240px] text-13-regular text-text-base group",
1384+
class: "min-w-0 max-w-[240px] text-13-regular group",
13851385
}}
13861386
>
13871387
<Show when={local.model.current()?.provider?.id}>
@@ -1412,7 +1412,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
14121412
label={(x) => (x === "default" ? language.t("common.default") : x)}
14131413
onSelect={(x) => local.model.variant.set(x === "default" ? undefined : x)}
14141414
class="capitalize max-w-[160px]"
1415-
valueClass="truncate text-13-regular text-text-base"
1415+
valueClass="truncate text-13-regular"
14161416
triggerStyle={{
14171417
opacity: buttonsSpring(),
14181418
transform: `scale(${0.95 + buttonsSpring() * 0.05})`,
@@ -1455,7 +1455,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
14551455
current={local.agent.current()?.name ?? ""}
14561456
onSelect={local.agent.set}
14571457
class="capitalize max-w-[160px]"
1458-
valueClass="truncate text-13-regular text-text-base"
1458+
valueClass="truncate text-13-regular"
14591459
triggerStyle={{
14601460
height: "28px",
14611461
opacity: buttonsSpring(),
@@ -1491,7 +1491,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
14911491
flip()
14921492
}}
14931493
class="max-w-[220px]"
1494-
valueClass="truncate text-13-regular text-text-base"
1494+
valueClass="truncate text-13-regular"
14951495
triggerStyle={{
14961496
height: "28px",
14971497
opacity: buttonsSpring(),

0 commit comments

Comments
 (0)