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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user