Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🖌️ style: Use correct text colour for answer textarea in dark mode (#14791)

Lizzy5bd745783c1c
diff --git a/client/src/components/Chat/Messages/Content/AskUserQuestion.tsx b/client/src/components/Chat/Messages/Content/AskUserQuestion.tsx
index b35cb1ecdc..8817090a2e 100644
--- a/client/src/components/Chat/Messages/Content/AskUserQuestion.tsx
+++ b/client/src/components/Chat/Messages/Content/AskUserQuestion.tsx
@@ -189,7 +189,7 @@ function AskUserQuestionSingle({
minRows={2}
maxRows={12}
placeholder={otherLabel ?? localize('com_ui_your_answer')}
- className="w-full resize-none rounded-md border border-border-light bg-surface-primary p-2 text-sm"
+ className="w-full resize-none rounded-md border border-border-light bg-surface-primary p-2 text-sm text-text-primary"
aria-label={localize('com_ui_your_answer')}
/>
diff --git a/client/src/components/Chat/Messages/Content/AskUserQuestions.tsx b/client/src/components/Chat/Messages/Content/AskUserQuestions.tsx
index 078c4ea24b..9f09c4e58a 100644
--- a/client/src/components/Chat/Messages/Content/AskUserQuestions.tsx
+++ b/client/src/components/Chat/Messages/Content/AskUserQuestions.tsx
@@ -96,7 +96,7 @@ export default function AskUserQuestions({
minRows={1}
maxRows={6}
placeholder={otherLabel ?? localize('com_ui_your_answer')}
- className="mt-2 w-full resize-none rounded-md border border-border-light bg-surface-primary p-2 text-sm"
+ className="mt-2 w-full resize-none rounded-md border border-border-light bg-surface-primary p-2 text-sm text-text-primary"
aria-label={`${question.question} ${localize('com_ui_your_answer')}`}
/>
</fieldset>