fix: auto-detect system theme changes at runtime#7162
fix: auto-detect system theme changes at runtime#7162RhysSullivan wants to merge 1 commit intoanomalyco:devfrom
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, here are related PRs that may be relevant: Potentially Related PRs:
The current PR (#7162) is the only one specifically addressing runtime auto-detection of theme changes via terminal background color polling. The other PRs are tangentially related but address different aspects of theme management. |
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Another option other than polling is on focus if we want to do that instead, opus got this one to work but fair note it's AI generated and I'm not familiar enough with the render to know for accuracy atm - I can investigate this more deeply if needed
Screen.Recording.2026-01-06.at.8.23.46.PM.mov
==== AI Generated Below ===
Summary
systemtheme and named themes with dark/light variants (likeopencode)Changes
detectMode()helper to calculate dark/light from terminal background colorresolveSystemTheme()to detect and apply the correct modeTesting
opencode(or any theme with dark/light variants)