mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 09:25:06 +01:00
Apply agent color fill to the toggle both in off and on states
This commit is contained in:
parent
170d959feb
commit
55200be4fa
1 changed files with 4 additions and 1 deletions
|
@ -723,7 +723,10 @@ export const ChatInputArea = forwardRef<HTMLTextAreaElement, ChatInputProps>((pr
|
|||
className={`w-6 h-6 inline-block ${props.agentColor ? convertColorToTextClass(props.agentColor) : convertColorToTextClass("orange")} rounded-full`}
|
||||
/>
|
||||
) : (
|
||||
<ToggleLeft className={`w-6 h-6 inline-block rounded-full`} />
|
||||
<ToggleLeft
|
||||
weight="fill"
|
||||
className={`w-6 h-6 inline-block ${props.agentColor ? convertColorToTextClass(props.agentColor) : convertColorToTextClass("orange")} rounded-full`}
|
||||
/>
|
||||
)}
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
|
|
Loading…
Reference in a new issue