fix(frontend): remove explicit primary color from input bar controls

Drop text-primary/80 from expert dropdown icons and text-primary from
mode/config selector trigger buttons so they inherit the default
foreground color and transition naturally with themed hover states.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
xintaofei
2026-04-12 14:06:04 +08:00
parent 9ab090a2b2
commit f0e0196d35
3 changed files with 3 additions and 12 deletions

View File

@@ -14,7 +14,6 @@ import {
} from "@/components/ui/dropdown-menu"
import { DropdownRadioItemContent } from "@/components/chat/dropdown-radio-item-content"
import type { SessionConfigOptionInfo } from "@/lib/types"
import { cn } from "@/lib/utils"
interface SessionConfigSelectorProps {
option: SessionConfigOptionInfo
@@ -31,18 +30,13 @@ export function SessionConfigSelector({
(item) => item.value === option.kind.current_value
)
const label = selected?.name ?? option.kind.current_value
const isActive = Boolean(selected)
return (
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button
variant="outline"
size="xs"
className={cn(
"gap-1 min-w-0 bg-transparent",
isActive && "text-primary"
)}
className="gap-1 min-w-0 bg-transparent"
title={option.description ?? option.name}
>
<span className="truncate">{label}</span>