[PR #4620] fix: make tui session text respect theme fg (#4618) #11039

Closed
opened 2026-02-16 18:15:49 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4620

State: closed
Merged: Yes


Fixes #4618

In TextPart (packages/opencode/src/cli/cmd/tui/routes/session/index.tsx), pass fg={theme.text} to the assistant <code filetype="markdown"> block, consistent with other code views.

Tested that this fixes the markdown table cell rendering color to respect the rest of the theme, and did not notice any issues with coloring in light or dark mode with several themes.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4620 **State:** closed **Merged:** Yes --- Fixes #4618 In TextPart (packages/opencode/src/cli/cmd/tui/routes/session/index.tsx), pass fg={theme.text} to the assistant \<code filetype="markdown"\> block, consistent with other code views. Tested that this fixes the markdown table cell rendering color to respect the rest of the theme, and did not notice any issues with coloring in light or dark mode with several themes.
yindo added the pull-request label 2026-02-16 18:15:49 -05:00
yindo closed this issue 2026-02-16 18:15:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11039