From cfab91ddbfd52d5150744bfcb57004aa18b0c46a Mon Sep 17 00:00:00 2001 From: WanQuanXie Date: Wed, 29 May 2024 12:22:29 +0800 Subject: [PATCH] update(ui): restore both message input field dark mode background color --- ui/components/EmptyChatMessageInput.tsx | 2 +- ui/components/MessageInput.tsx | 2 +- ui/components/MessageInputActions.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/components/EmptyChatMessageInput.tsx b/ui/components/EmptyChatMessageInput.tsx index dd0e0d3..736026a 100644 --- a/ui/components/EmptyChatMessageInput.tsx +++ b/ui/components/EmptyChatMessageInput.tsx @@ -31,7 +31,7 @@ const EmptyChatMessageInput = ({ }} className="w-full" > -
+
setMessage(e.target.value)} diff --git a/ui/components/MessageInput.tsx b/ui/components/MessageInput.tsx index 3b913e2..5c96916 100644 --- a/ui/components/MessageInput.tsx +++ b/ui/components/MessageInput.tsx @@ -40,7 +40,7 @@ const MessageInput = ({ } }} className={cn( - 'bg-light-primary dark:bg-dark-primary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200', + 'bg-light-secondary dark:bg-dark-secondary p-4 flex items-center overflow-hidden border border-light-200 dark:border-dark-200', mode === 'multi' ? 'flex-col rounded-lg' : 'flex-row rounded-full', )} > diff --git a/ui/components/MessageInputActions.tsx b/ui/components/MessageInputActions.tsx index ee21e2d..3e5b594 100644 --- a/ui/components/MessageInputActions.tsx +++ b/ui/components/MessageInputActions.tsx @@ -156,7 +156,7 @@ export const CopilotToggle = ({ Copilot