question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Handling transparent BG color when used as FG

See original GitHub issue

Nano displays its shortcuts with FG/BG colors reversed: image

However, when theme BG is transparent, following happens: image

The solution could be to have a separate flag that will render characters with no background as if background were transparent instead of theme.backgroundColor, but will still use the actual color for inverted elements.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:3
  • Comments:19 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
chaboucommented, Jan 27, 2019

@Eugeny That’s what I mean 😃

@Tyriar I’ll try to work on a PR with this solution soon.

2reactions
Eugenycommented, Jan 27, 2019

@Tyriar if you mean forcing the alpha component of backgroundColor to 1 while keeping its RGB as is, I’m in.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS opacity only to background color, not the text on it?
It sounds like you want to use a transparent background, in which case you could try using the rgba() function: rgba(R, G, B,...
Read more >
Solved: Change FG and BG Color of Individual Array Elements
When you get to the color picker, there is a T in the upper right hand corner. That is the transparent color. YOu...
Read more >
What color scheme do you use with transparent background ...
Yes, it is distracting if you can't choose the right wallpaper. I tried a transparent background a couple of months back but could...
Read more >
How to create a transparent background in Gimp - YouTube
In this tutorial I'll show you how to create a transparent background in Gimp using the Select by Color Tool.img used : ...
Read more >
background-color - CSS: Cascading Style Sheets | MDN
The uniform color of the background. It is rendered behind any background-image that is specified, although the color will still be visible ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found