1

screenshot

If you can't see the screenshot in full resolution, click here

So you may or may not see that the background color "behind" the text (including the linum) is lighter (#20292D) than the window's background color (#20282C).

Please note that the background color set in my theme is the latter, #20282C, as seen here.

My question is, what is causing the text to have a lighter background color and how can I make it to be the same as the window's color?

1

Put your cursor on a character in the text, and hit C-u C-x =. That will tell you what face, if any, is used at that position.

Then click that face name in buffer *Help* (or use M-x customize-face) to look at the definition of that face. Probably it specifies a background, and that background color is similar to but not quite the same as the background color of the frame.

You can check the background color of the frame by M-x pp-eval-expression RET (frame-parameters) RET - look for background-color.

Use M-x customize-face to remove the background attribute from the face (or make it the same as the background of face default, which is used for the frame, including non-text areas).

  • With C-u C-x = I found out that the background color of the text is correct, while the color of the frame itself is a bit darker. After further investigation, I discovered that I am affected by this bug. Thanks anyway – tudor May 30 '17 at 8:25
  • Interesting. I guess you can set the face to whatever color you want, but because of a GTK bug you cannot set the frame background to the same color. – Drew May 30 '17 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.