mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Defer turning cursor color to selected agents color for later
Capability exists but idea needs to be investigated further
This commit is contained in:
parent
2ac840e3f2
commit
358a6ce95d
1 changed files with 3 additions and 7 deletions
|
@ -37,11 +37,7 @@ import { Popover, PopoverContent } from "@/components/ui/popover";
|
||||||
import { PopoverTrigger } from "@radix-ui/react-popover";
|
import { PopoverTrigger } from "@radix-ui/react-popover";
|
||||||
import { Textarea } from "@/components/ui/textarea";
|
import { Textarea } from "@/components/ui/textarea";
|
||||||
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
|
||||||
import {
|
import { convertColorToTextClass, convertToBGClass } from "@/app/common/colorUtils";
|
||||||
convertColorToCaretClass,
|
|
||||||
convertColorToTextClass,
|
|
||||||
convertToBGClass,
|
|
||||||
} from "@/app/common/colorUtils";
|
|
||||||
|
|
||||||
import LoginPrompt from "../loginPrompt/loginPrompt";
|
import LoginPrompt from "../loginPrompt/loginPrompt";
|
||||||
import { uploadDataForIndexing } from "../../common/chatFunctions";
|
import { uploadDataForIndexing } from "../../common/chatFunctions";
|
||||||
|
@ -498,8 +494,8 @@ export const ChatInputArea = forwardRef<HTMLTextAreaElement, ChatInputProps>((pr
|
||||||
</div>
|
</div>
|
||||||
<Textarea
|
<Textarea
|
||||||
ref={chatInputRef}
|
ref={chatInputRef}
|
||||||
className={`border-none focus:border-none focus:outline-none focus-visible:ring-transparent
|
className={`border-none focus:border-none
|
||||||
animate-carate-blink ${convertColorToCaretClass(props.agentColor)}
|
focus:outline-none focus-visible:ring-transparent
|
||||||
w-full h-16 min-h-16 max-h-[128px] md:py-4 rounded-lg resize-none dark:bg-neutral-700
|
w-full h-16 min-h-16 max-h-[128px] md:py-4 rounded-lg resize-none dark:bg-neutral-700
|
||||||
${props.isMobileWidth ? "text-md" : "text-lg"}`}
|
${props.isMobileWidth ? "text-md" : "text-lg"}`}
|
||||||
placeholder="Type / to see a list of commands"
|
placeholder="Type / to see a list of commands"
|
||||||
|
|
Loading…
Reference in a new issue