openclaw/docs/web
Vincent Koc a3dc4b5a57
fix(tui): improve color contrast for light-background terminals (#40345)
* fix(tui): improve colour contrast for light-background terminals (#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 <ademczuk@users.noreply.github.com>

* Update CHANGELOG.md

---------

Co-authored-by: ademczuk <andrew.demczuk@gmail.com>
Co-authored-by: ademczuk <ademczuk@users.noreply.github.com>
2026-03-08 16:17:28 -07:00
..
control-ui.md fix(dashboard): keep gateway tokens out of URL storage 2026-03-07 18:33:30 +00:00
dashboard.md fix(dashboard): keep gateway tokens out of URL storage 2026-03-07 18:33:30 +00:00
index.md feat(gateway)!: require explicit non-loopback control-ui origins 2026-02-24 01:57:11 +00:00
tui.md fix(tui): improve color contrast for light-background terminals (#40345) 2026-03-08 16:17:28 -07:00
webchat.md Gateway/UI: data-driven agents tools catalog with provenance (openclaw#24199) thanks @Takhoffman 2026-02-22 23:55:59 -06:00