clipanion icon indicating copy to clipboard operation
clipanion copied to clipboard

Gradient incorrect on light terminal themes

Open cspotcode opened this issue 2 years ago • 3 comments

There's not really a fix for this other than to avoid gradients. On light terminal themes, the gradient should fade from black to white, not white to black. It ends up appearing like this:

image

cspotcode avatar Sep 14 '23 17:09 cspotcode

Since absolutely every reasonable person uses a dark terminal theme it should be fine

More seriously, the visual glitch is fairly minor, so I'd prefer to avoid removing gradients just for that - I guess there isn't an environment variable describing whether the terminal is light / dark ? 😅

arcanis avatar Sep 19 '23 09:09 arcanis

Interestingly, on my terminal (iTerm2) there's still a little visual glitch mid-way:

Screenshot 2023-09-19 at 11 22 08

arcanis avatar Sep 19 '23 09:09 arcanis

There's another issue concerning non-black-and-white terminals: the gradient color doesn't consistently match the color of the header line.

Here's how it renders in Jetbrains IDE terminals (default theme): image

Here's how it renders in Jetbrains IDE terminals (colored theme); image

And this is what it could render on colored terminal without the gradient: image

While this might not be sufficient for removing the gradients, it's good to known that this issue also exists.

romdej avatar Apr 25 '24 22:04 romdej