Terminal Auto Dark/Light Mode Agenda
Goal: Terminal Applications Should Automatically Adapt To Dark/Light Mode.
This page is a place for me to collect links / resources and have a direct jumping off point to the different PRs / issues.
Products
- terminal-colorsaurus: A Rust library that answers the question "Is this terminal dark or light?".
- xterm-color: A Rust library that parses the color specs returned by terminals in response to OSC queries.
- terminal-trx: A Rust library that provides a readable and writable handle to the current tty.
- Continuous Color Reporting: Specification for an extension to OSC 4, 10...19 for continously receiving updates when the color changes.
- Exhaustive List of DEC Modes: An exhaustive list of all DEC (private) modes that are encountered in the wild.
Contributions
- (PR) delta: Detect Dark/Light Mode from Terminal
- (PR) bat: Choose Theme Based on The Terminal's Color Scheme
- (PR) zed: terminal: Retain relative order of responses
- (PR) lazygit: Set the
TERM
env variable - (PR) terminology: Unify format of responses to OSC 10 and OSC 11 / 12 queries
- (Issue) cosmic-term: Terminal reports incorrect background color
- (PR) contour: docs: Add adoption state for dark/light mode notifications
- (Issue) tabby: Terminal reports incorrect background color when queried with
OSC 11