Cherry-pick a3dc4b5: improve TUI color contrast for light terminals#1325
Merged
alexey-pelykh merged 1 commit intomainfrom Mar 14, 2026
Merged
Cherry-pick a3dc4b5: improve TUI color contrast for light terminals#1325alexey-pelykh merged 1 commit intomainfrom
alexey-pelykh merged 1 commit intomainfrom
Conversation
…claw#40345) * fix(tui): improve colour contrast for light-background terminals (openclaw#38636) Detect light terminal backgrounds via COLORFGBG and apply a WCAG AA-compliant light palette. Adds OPENCLAW_THEME=light|dark env var override for terminals without auto-detection. Uses proper sRGB linearisation and WCAG 2.1 contrast ratios to pick whichever text palette (dark or light) has higher contrast against the detected background colour. Co-authored-by: ademczuk <[email protected]> * Update CHANGELOG.md --------- Co-authored-by: ademczuk <[email protected]> Co-authored-by: ademczuk <[email protected]> (cherry picked from commit a3dc4b5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream Cherry-Pick
Commit:
a3dc4b5a5Author: vincentkoc (Vincent Koc), ademczuk
Tier: AUTO-PICK (alive=6)
Issue: #910
Depends on: #1324
Detect light terminal backgrounds via COLORFGBG and apply a WCAG AA-compliant light palette. Adds
REMOTECLAW_THEME=light|darkenv var override for terminals without auto-detection.Conflict Resolution
CHANGELOG.md(DU): deleted in fork, removedOPENCLAW_THEME→REMOTECLAW_THEMEacross all filesopenclaw tui→remoteclaw tuiin docs🤖 Generated with Claude Code