@@ -72,7 +72,7 @@ export const MessageBlock = ({
7272 registerAgentRef,
7373}: MessageBlockProps): ReactNode => {
7474 const theme = useTheme()
75- const resolvedTextColor = textColor ?? theme.aiText
75+ const resolvedTextColor = textColor ?? theme.foreground
7676
7777 // Get elapsed time from timer for streaming AI messages
7878 const elapsedSeconds = timer.elapsedSeconds
@@ -140,8 +140,8 @@ export const MessageBlock = ({
140140 codeBlockWidth: Math.max(10, availableWidth - 12 - indentationOffset),
141141 palette: {
142142 ...markdownPalette,
143- inlineCodeFg: theme.agentContent ,
144- codeTextFg: theme.agentContent ,
143+ inlineCodeFg: theme.foreground ,
144+ codeTextFg: theme.foreground ,
145145 },
146146 }
147147 }
@@ -235,7 +235,7 @@ export const MessageBlock = ({
235235 ? null
236236 : (
237237 <text
238- fg={theme.agentContent }
238+ fg={theme.foreground }
239239 style={{ wrapMode: 'word' }}
240240 attributes={
241241 theme.messageTextAttributes && theme.messageTextAttributes !== 0
@@ -399,7 +399,7 @@ export const MessageBlock = ({
399399 ) => {
400400 const identifier = formatIdentifier(agent)
401401 return (
402- <text key={`agent-${idx}`} style={{ wrapMode: 'word', fg: theme.agentContent }}>
402+ <text key={`agent-${idx}`} style={{ wrapMode: 'word', fg: theme.foreground }}>
403403 {` • ${identifier}`}
404404 </text>
405405 )
@@ -481,7 +481,7 @@ export const MessageBlock = ({
481481 typeof (nestedBlock as any).color === 'string'
482482 ? ((nestedBlock as any).color as string)
483483 : undefined
484- const nestedTextColor = explicitColor ?? theme.agentContent
484+ const nestedTextColor = explicitColor ?? theme.foreground
485485 nodes.push(
486486 <text
487487 key={renderKey}
@@ -513,7 +513,7 @@ export const MessageBlock = ({
513513 }}
514514 >
515515 {nestedBlock.render({
516- textColor: theme.agentContent ,
516+ textColor: theme.foreground ,
517517 theme,
518518 })}
519519 </box>,
0 commit comments