From fa4e7754e6dd80eb18611d54bf3a5cdda7c4bb75 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Wed, 4 Feb 2026 02:17:50 +1000 Subject: [PATCH] fix: improve dark mode text readability in chat interface Add explicit text-foreground class to assistant message bubbles to ensure proper contrast in dark mode. --- apps/web/src/app/dashboard/agents/[id]/chat/[chatId]/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/dashboard/agents/[id]/chat/[chatId]/page.tsx b/apps/web/src/app/dashboard/agents/[id]/chat/[chatId]/page.tsx index 4c3cc4d..41ef4ba 100644 --- a/apps/web/src/app/dashboard/agents/[id]/chat/[chatId]/page.tsx +++ b/apps/web/src/app/dashboard/agents/[id]/chat/[chatId]/page.tsx @@ -713,7 +713,7 @@ export default function AgentChatPage(): React.ReactElement { className={`max-w-[85%] rounded-lg p-4 ${ message.role === 'USER' ? 'bg-primary text-primary-foreground' - : 'bg-surface border border-dashed border-border' + : 'bg-surface text-foreground border border-dashed border-border' }`} > {message.role === 'USER' ? (