'CSS: how do I make the background of Atom text editor seethrough?

I have a compositor, picom, and with everything else, it seems to work. I have tried to do the following:

atom-text-editor {
  background-color: rgba(0, 0, 0, 0);
}

But that makes it a little darker, not even black. Any ideas what I may be doing wrong?

Thanks!

Edit: I also have a theme, do I have to change something with that?



Solution 1:[1]

Technically this (background-color: rgba(0, 0, 0, 0);) is not even a color. This is equal to transparent.


You can use something like this:

atom-text-editor {
  background-color: #1f2229;
}

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Manas Khandelwal