From d75a191dedd40a02fc58707ac60cccd9ff020c5f Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Thu, 10 Oct 2024 05:19:43 +0800 Subject: [PATCH] fix: the text in the textarea is not visible in dark mode --- src/app/content/components/MessageInput.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/content/components/MessageInput.tsx b/src/app/content/components/MessageInput.tsx index 706845a..3546a79 100644 --- a/src/app/content/components/MessageInput.tsx +++ b/src/app/content/components/MessageInput.tsx @@ -52,7 +52,7 @@ const MessageInput = forwardRef( onKeyDown={handleKeyDown} autoFocus={autoFocus} maxLength={maxLength} - className="box-border resize-none whitespace-pre-wrap break-words border-none bg-gray-50 pb-5 [field-sizing:content] focus:ring-0 focus:ring-offset-0" + className="box-border resize-none whitespace-pre-wrap break-words border-none bg-gray-50 pb-5 text-primary [field-sizing:content] focus:ring-0 focus:ring-offset-0" rows={2} value={value} onCompositionStart={onCompositionStart}