Skip to content
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

Feature request: fallback for less capable terminals #33

Closed
lifepillar opened this issue Sep 22, 2020 · 1 comment
Closed

Feature request: fallback for less capable terminals #33

lifepillar opened this issue Sep 22, 2020 · 1 comment

Comments

@lifepillar
Copy link
Contributor

I see that the remade colorschemes support millions of colors and 256-color palettes. Are you planning for a fallback for less capable terminals? For instance, when t_Co is 0, Shine looks like this:

Screenshot 2020-09-22 at 09 24 37

By explicitly supporting a fallback, it might look a bit better (this is using _bw.colortemplate from Colortemplate, but I am not necessarily recommending using that):

Screenshot 2020-09-22 at 09 24 45

By "explicitly supporting a fallback", I mean that there could be a b/w color scheme, which other color schemes could source when they detect that there are too few colors. The b/w color scheme could support a wide range of terminals, e.g., with millions or 256 colors it could use shades of gray, with 16 (resp., 8) colors it could use only ANSI 0,7,8,15 (resp., 0 and 7), and without colors it would only define term entries. This would give a somewhat consistent appearance across all color schemes and across all environments (sure, ANSI colors are arbitrary, but usually 0, 7, 8, and 15 are the darkest/lightest). Then, all other color schemes should only define true colors and xterm colors.

@romainl
Copy link
Collaborator

romainl commented Sep 22, 2020

@lifepillar, could you take a look at #26?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants