| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Keep text.subdued and text.feedback.<kind>.default on the resolved theme so TUI plugins that still look up the old names get the same colors as text.muted and text.feedback.<kind>.base.
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
Sorry, something went wrong.
|
The following comment was made by an LLM, it may be inaccurate: |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Issue for this PR
Fixes #49922
Type of change
What does this PR do?
OpenCode 2.0.9 renamed resolved theme tokens (text.subdued → text.muted, text.feedback.<kind>.default → text.feedback.<kind>.base) without keeping aliases. TUI plugins that still look up the old names get undefined, and OpenTUI falls back to the terminal default foreground.
After resolving a theme, this copies the new colors onto the old names on the resolved object plugins read:
Schema/input tokens are unchanged. Dialog surfaces pick up the aliases through the same resolve path.
How did you verify your code works?
From packages/theme:
From packages/tui:
Screenshots / recordings
N/A — token equality covered by unit tests.
Checklist