-
Notifications
You must be signed in to change notification settings - Fork 230
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
Light themes are using badly supported urwid "bright background colors" #668
Comments
Thanks for flagging that discussion in the Urwid docs! I agree that these light backgrounds are... not as beautiful as they could be. A PR to fix this would be very welcome, even if it only works in high-color modes. |
Oh interesting! I use xfce-terminal in my home setup and haven't encountered this.
A new light theme would definitely be welcome! I'll have to think about that bright colour support thing. I added the mono theme specifically to make sure there's always at least one useful theme. The themes are very susceptible to user's settings. Does it make more sense to use the foreground/background colours instead of black/white? And if so, for which parts of the UI? For some terminals the default fore/background could be problematic for syntax highlighting (e.g. if Ubuntu still uses a purple default). It might be neat if we had a theme that only used 8 colours + the foreground & background, for impacted users. It would be interesting to see if it could work as either light or dark. |
I set my theme in ~/.Xdefaults
Works for both xfce-terminal and urxvt. xfce4-terminal 1.1.3 (Xfce 4.18) rxvt-unicode (urxvt) v9.30 - released: 2021-11-27 I believe setting the "selectable" to use the default background and text would be a good idea, and then the "background" to a color or just "light gray". And also things like input and command line to defaults then. But I am just not sure what is all affected by what. A guide on that would be nice. My "midday" (old pudb midnight) works pretty good on black and white backgrounds. Here it is if you want to give it a spin, can be perfected I believe, but I just have a hard time understanding what every element is.
|
Describe the bug
The light themes of pudb use badly supported "bright background colors" https://urwid.org/manual/displayattributes.html#bright-background-colors
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I hope that there can at least be some nice light themes that does not use the badly supported "bright background colors". Now the only ones are mono and gray-light-256, which is not a great selection.
Screenshots
This is the theme "vim" on urxvt:
Solution
We could revert to a supported background color from urwid. But I do not know how well the "light gray" works with the current light themes. The alternative is to set the background color of the themes to just "default" and let the terminal set the correct background color for the theme.
I can make also make a PR with a light theme of my own hand which relies on the background of the terminal instead.
Versions
This problem arised after the theme overhaul after version 2021.1. Before that, some themes used "default" instead for the background color and I have always been a happy user of midnight on my light themed terminal that worked just fine. I made a new "midday" theme in the new framework that looks just like that.
@mvanderkamp I believe you did the theme overhaul.
The text was updated successfully, but these errors were encountered: