kennethreitz / crayons

Text UI colors for Python.
https://pypi.python.org/pypi/crayons
MIT License
424 stars 30 forks source link

allow light background by white <-> black #10

Closed bosr closed 7 years ago

bosr commented 7 years ago

Hi,

Thanks for Pipenv!

When reading https://github.com/kennethreitz/pipenv/issues/545, I understood that I was one of "the 1%" ;) , well it's more the 1% who use light background terminals during the day and dark during the night (solarized).

This PR

Here is a basic way to handle light/dark backgrounds in pipenv:

Yielding this

instead of this

I put the code as far as possible, close to the call site.

Alternatives

I hope this helps a bit light backgrounders, Cheers

bosr commented 7 years ago

Thank you for the update in pipenv 7.9.3! It works great.