diff --git a/frontend/src/components/thread/chat-input.tsx b/frontend/src/components/thread/chat-input.tsx
index 117c3221..bcbf6b13 100644
--- a/frontend/src/components/thread/chat-input.tsx
+++ b/frontend/src/components/thread/chat-input.tsx
@@ -310,8 +310,8 @@ export function ChatInput({
return (
0 ? "border-border" : "border-gray-800",
+ "w-full border rounded-xl transition-all duration-200 shadow-sm bg-white dark:bg-[#1a1a1a] border-gray-200 dark:border-gray-800",
+ uploadedFiles.length > 0 ? "border-border" : "border-gray-200 dark:border-gray-800",
isDraggingOver ? "border-primary border-dashed bg-primary/5" : ""
)}
onDragOver={handleDragOver}
@@ -334,18 +334,18 @@ export function ChatInput({
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0.9 }}
transition={{ duration: 0.15 }}
- className="px-2 py-1 bg-gray-800 rounded-full flex items-center gap-1.5 group border border-gray-700 hover:border-gray-600 transition-colors text-sm"
+ className="px-2 py-1 bg-gray-100 dark:bg-gray-800 rounded-full flex items-center gap-1.5 group border border-gray-200 dark:border-gray-700 hover:border-gray-300 dark:hover:border-gray-600 transition-colors text-sm"
>
{getFileIcon(file.name)}
- {file.name}
-
+ {file.name}
+
({formatFileSize(file.size)})
-
+
)}
@@ -371,7 +371,7 @@ export function ChatInput({
: placeholder
}
className={cn(
- "min-h-[50px] py-3 px-4 text-gray-200 resize-none border-0 focus-visible:ring-0 focus-visible:ring-offset-0 bg-transparent w-full text-base",
+ "min-h-[50px] py-3 px-4 text-gray-700 dark:text-gray-200 resize-none border-0 focus-visible:ring-0 focus-visible:ring-offset-0 bg-transparent w-full text-base",
isDraggingOver ? "opacity-20" : ""
)}
disabled={loading || (disabled && !isAgentRunning)}
@@ -390,7 +390,7 @@ export function ChatInput({
variant="ghost"
size="icon"
className={cn(
- "h-8 w-8 rounded-full p-0 hover:bg-gray-800",
+ "h-8 w-8 rounded-full p-0 hover:bg-gray-100 dark:hover:bg-gray-800",
selectedModel === "sonnet-3.7" ? "text-purple-400" :
selectedModel === "sonnet-3.7-thinking" ? "text-violet-400" :
selectedModel === "gpt-4.1" ? "text-green-400" :
@@ -402,30 +402,30 @@ export function ChatInput({
-
+
handleModelChange("sonnet-3.7")} className={cn(
- "hover:bg-gray-800 flex items-center justify-between",
+ "hover:bg-gray-100 dark:hover:bg-gray-800 flex items-center justify-between",
selectedModel === "sonnet-3.7" && "text-purple-400"
)}>
Sonnet 3.7
{selectedModel === "sonnet-3.7" && ✓}
handleModelChange("sonnet-3.7-thinking")} className={cn(
- "hover:bg-gray-800 flex items-center justify-between",
+ "hover:bg-gray-100 dark:hover:bg-gray-800 flex items-center justify-between",
selectedModel === "sonnet-3.7-thinking" && "text-violet-400"
)}>
Sonnet 3.7 (Thinking)
{selectedModel === "sonnet-3.7-thinking" && ✓}
handleModelChange("gpt-4.1")} className={cn(
- "hover:bg-gray-800 flex items-center justify-between",
+ "hover:bg-gray-100 dark:hover:bg-gray-800 flex items-center justify-between",
selectedModel === "gpt-4.1" && "text-green-400"
)}>
GPT-4.1
{selectedModel === "gpt-4.1" && ✓}
handleModelChange("gemini-flash-2.5")} className={cn(
- "hover:bg-gray-800 flex items-center justify-between",
+ "hover:bg-gray-100 dark:hover:bg-gray-800 flex items-center justify-between",
selectedModel === "gemini-flash-2.5" && "text-blue-400"
)}>
Gemini Flash 2.5
@@ -434,7 +434,7 @@ export function ChatInput({
-
+
Model: {modelDisplayNames[selectedModel as keyof typeof modelDisplayNames] || selectedModel}
@@ -450,7 +450,7 @@ export function ChatInput({
variant="ghost"
size="icon"
className={cn(
- "h-8 w-8 rounded-full p-0 text-gray-400 hover:bg-gray-800",
+ "h-8 w-8 rounded-full p-0 text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800",
isUploading && "text-blue-400"
)}
disabled={loading || (disabled && !isAgentRunning) || isUploading}
@@ -463,7 +463,7 @@ export function ChatInput({
)}
-
+
Attach files
@@ -487,7 +487,7 @@ export function ChatInput({
size="icon"
className={cn(
"h-10 w-10 rounded-full",
- !isAgentRunning && "bg-gray-700 hover:bg-gray-600 text-gray-200",
+ !isAgentRunning && "bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600 text-gray-700 dark:text-gray-200",
isAgentRunning && "bg-red-600 hover:bg-red-700"
)}
disabled={((!inputValue.trim() && uploadedFiles.length === 0) && !isAgentRunning) || loading || (disabled && !isAgentRunning)}
@@ -502,7 +502,7 @@ export function ChatInput({
)}
-
+
{isAgentRunning ? 'Stop agent' : 'Send message'}
@@ -514,15 +514,15 @@ export function ChatInput({
-
+
Agent is thinking...
-
- Press to stop
+
+ Press to stop