Skip to content

Is it possible to detect console's default background color (dark vs light)? #2807

Answered by willmcgugan
plannigan asked this question in Q&A
Discussion options

You must be logged in to vote

It's possible on some terminals, but not all. This is outside of the scope of Rich, but you could implement the method that gets the current theme on supported terminals.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@plannigan
Comment options

Answer selected by plannigan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants