File tree Expand file tree Collapse file tree
packages/opencode/src/cli/cmd/tui/routes/session Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1098,7 +1098,7 @@ function ReasoningPart(props: { last: boolean; part: ReasoningPart; message: Ass
10981098
10991099function TextPart ( props : { last : boolean ; part : TextPart ; message : AssistantMessage } ) {
11001100 const ctx = use ( )
1101- const { syntax } = useTheme ( )
1101+ const { theme , syntax } = useTheme ( )
11021102 return (
11031103 < Show when = { props . part . text . trim ( ) } >
11041104 < box id = { "text-" + props . part . id } paddingLeft = { 3 } marginTop = { 1 } flexShrink = { 0 } >
@@ -1109,6 +1109,7 @@ function TextPart(props: { last: boolean; part: TextPart; message: AssistantMess
11091109 syntaxStyle = { syntax ( ) }
11101110 content = { props . part . text . trim ( ) }
11111111 conceal = { ctx . conceal ( ) }
1112+ fg = { theme . text }
11121113 />
11131114 </ box >
11141115 </ Show >
You can’t perform that action at this time.
0 commit comments