You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed alot doesn't work well on black-on-white terminals.
I know there are light themes available and I know how I can fix this for myself but I think alot should use a default theme which works well in dark and in light mode.
I think this is caused by using default foreground and background colors described as following in the urwid manual:
'default' may be specified as a foreground or background to use a terminal’s default color. For terminals with transparent backgrounds 'default' is the only way to show the transparent background. There is no way to tell what the default colors are, so it is best to use default foregrounds and backgrounds together (not with other colors) to ensure good contrast.
The default theme from alot uses default foregrounds and backgrounds with other colors, probably due to transparent backgrounds.
My suggestion is to make dedicated dark and light themes and make the default theme a bit more boring (limiting to only using default foreground with a default background and make more use of Bold, Underline, Standout "colors".
I'd gladly do create a PR for this, please let me know how you think about this.
I've created a simple test script to test a theme, I will share this as well if you like. It will show you what's barely/un-readable.
The text was updated successfully, but these errors were encountered:
I don't have any attachment to the default themes as I use a custom solarized theme. I don't even know which the default theme is. So I would be fine with PRs to fix stuff.
My guess would be that trouble arises if the theme mixes explicit 256-palette colors and predefined 16 colors. This is because the 16 color palette can be configured in the terminal emulator and we can not know how these values contrast with any 256-palette value.
This issue is related to #33
I've noticed alot doesn't work well on black-on-white terminals.
I know there are light themes available and I know how I can fix this for myself but I think alot should use a default theme which works well in dark and in light mode.
I think this is caused by using default foreground and background colors described as following in the urwid manual:
The default theme from alot uses default foregrounds and backgrounds with other colors, probably due to transparent backgrounds.
My suggestion is to make dedicated dark and light themes and make the default theme a bit more boring (limiting to only using default foreground with a default background and make more use of Bold, Underline, Standout "colors".
I'd gladly do create a PR for this, please let me know how you think about this.
I've created a simple test script to test a theme, I will share this as well if you like. It will show you what's barely/un-readable.
The text was updated successfully, but these errors were encountered: