Login
From:
dystroy|Canop / blog
(Uncensored)
subscribe
Adjust your application for a light or dark terminal
https://dystroy.org/blog/terminal-light/
links
backlinks
Roast topics
Find topics
Find it!
So 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.