Adjust your application for a light or dark terminal
6 minute read Published: 2022-07-16So you want your unix application to select different sets of colors depending on whether the terminal is set to a light or dark theme ?
Here's an how-to. It's first targeted at Rust programmers but each step can be ported to other languages.