0

I want to change the foreground color of my fringes, in my theme file.

I changed (line 84):

- `(fringe ((t (:foreground ,bisque-fg :background ,bisque-bg))))

to

+ `(fringe ((t (:foreground ,bisque-red :background ,bisque-bg))))
                                    ^^^

Then with customize-group I removed what was manually changed. Now, the sample field for Fringe in the customize window reflects the bisque-red color in my theme file.


This is the result:

enter image description here

The foreground color is honored, but what the foreground is isn't what I expected.

The line continuation arrows have the foreground color I set.

What I want is to change the color of the vertical line itself.


I even manually removed the fringe-related things in the custom-set-faces section of my init file.

However when I load the theme (or start a new emacs), the fringes still have the default foreground face color.

If I do the same thing with the fringes' background color, all works well.

Something takes precedence over the foreground color of the fringes, although Customize shows the right one. What is it? How do I make sure the fringe foreground in my theme file works?

2
  • 1
    Have you tried loading the theme after starting emacs with emacs -q?
    – caisah
    Sep 21, 2017 at 15:50
  • Good call, you made me aware of what the foreground color of fringes actually are. Edited accordingly, and found my answer, thanks!
    – Gauthier
    Sep 22, 2017 at 7:07

1 Answer 1

1

I thought the window separators used the fringes' foreground color. They don't.

The fringe foreground color is for continuation lines in the fringe.

The face I was trying to change is vertical-border.

This in my theme:

`(vertical-border ((t (:foreground ,bisque-fg-2))))

(with (bisque-fg-2 "#5f5549")) gave what I wanted (a darker separator):

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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