-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better default colours #1293
Comments
@esiegerman what do you think about this? |
That item is for after independence from py.io.terminalwriter |
@RonnyPfannschmidt huh - the choice of what color to use is independent from terminalwriter, no? |
Btw, here's hexdump -C for these colors:
|
@The-Compiler the current API is very limiting |
Hi everyone. What's the proposed solution for this case? Just changing the pure yellow to something else, or something more advanced like "themes" support, or something else? |
@nicoddemus i did a query to twitter - i'D like to employ a library to get the colors from that match the users terminal colors themes is definitively not an option |
Sounds good. Should we update this issue's title with that proposal, or create a new one?
Oh I didn't like that idea as well, just throwing it out there to see where it landed. |
Can I propose tracking this in this issue instead? I think that the proposal the issue poster made in #6984 (comment) would solve this issue |
IMHO it's the other way around |
Some of the colors have too low contrast with the background of my terminal theme: I think it might be caused by the fact that here we assume a dark background, while my background is light: pytest/src/_pytest/_io/terminalwriter.py Line 208 in f54ec30
|
After a bit more investigation I found out that my theme (base-16-default-light) uses bright color slots to store additional colors. Instead of what would normally be bright green this light grey is used. So not really an issue with |
I'm having the same issue as @rakyi, my terminal background is light so it's difficult to read some of the output. See below for an example: Would it be possible to have an option for light backgrounds? Or make use of an env variable like |
I'd love to see us migrate to rich there Im starting to get the impression that vendoring it may be OK |
pip vendors a trimmed-down version of rich: |
im pretty torn between having it a recommended to use extra and depending on it by default, but its like 1-2 years away before i can focus on that myself |
One of the default colours, yellow, is very hard to read on white background.
my $TERM is xterm-256color
The text was updated successfully, but these errors were encountered: