Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: make tui session text respect theme fg (#4618)#4620

Merged
rekram1-node merged 1 commit intoanomalyco:devanomalyco/opencode:devfrom
tylimbach:fix-assistant-text-use-fg-themetylimbach/opencode:fix-assistant-text-use-fg-themeCopy head branch name to clipboard
Nov 23, 2025
Merged

fix: make tui session text respect theme fg (#4618)#4620
rekram1-node merged 1 commit intoanomalyco:devanomalyco/opencode:devfrom
tylimbach:fix-assistant-text-use-fg-themetylimbach/opencode:fix-assistant-text-use-fg-themeCopy head branch name to clipboard

Conversation

@tylimbach
Copy link
Contributor

@tylimbach tylimbach commented Nov 22, 2025

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.

Fixes anomalyco#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.
@tylimbach tylimbach force-pushed the fix-assistant-text-use-fg-theme branch from 39a7dac to d1240dd Compare November 22, 2025 05:26
@github-actions github-actions bot force-pushed the dev branch 2 times, most recently from df8bdf9 to 0dd5039 Compare November 22, 2025 18:21
@rekram1-node rekram1-node merged commit 35fead2 into anomalyco:dev Nov 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some assistant markdown text ignores TUI theme foreground

2 participants

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.