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.
This commit is contained in:
parent
32c6e097ed
commit
fa4e7754e6
1 changed files with 1 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ export default function AgentChatPage(): React.ReactElement {
|
||||||
className={`max-w-[85%] rounded-lg p-4 ${
|
className={`max-w-[85%] rounded-lg p-4 ${
|
||||||
message.role === 'USER'
|
message.role === 'USER'
|
||||||
? 'bg-primary text-primary-foreground'
|
? 'bg-primary text-primary-foreground'
|
||||||
: 'bg-surface border border-dashed border-border'
|
: 'bg-surface text-foreground border border-dashed border-border'
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{message.role === 'USER' ? (
|
{message.role === 'USER' ? (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue