sellout / emacs-color-theme-solarized

Emacs highlighting using Ethan Schoonover’s Solarized color scheme
http://ethanschoonover.com/solarized
MIT License
1.15k stars 201 forks source link

disable changing font weight #97

Closed s9gf4ult closed 9 years ago

s9gf4ult commented 11 years ago

When I load solarized theme it redefines many faces and font weight as well. I would like in light theme my Terminus would bold, but solarized force it to be medium. How to change ?

seh commented 11 years ago

I noticed a similar problem. After loading the Solarized theme, I have to go back and set the weight on a few faces like this:

(eval-after-load "font-lock"
  (dolist (face '(font-lock-function-name-face
                  font-lock-string-face
                  message-header-to))
    (make-face-bold face)))

(eval-after-load "message"
  (dolist (face '(message-header-to
                  message-header-cc))
    (make-face-bold face)))

It would be better if the Solarized theme would just leave all the existing face properties but color alone.

sellout commented 9 years ago

@s9gf4ult You can customize-theme solarized and override those settings.

@seh that might also be nicer than the eval-after-load stuff, since it’s local to the theme.

The original Solarized theme for Vim is very explicit about controlling all the font properties, not just colors. One of the goals of this project is to maintain as much similarity to the Vim version as possible.

There are also a couple customizable variables, like solarized-bold, but if you set that to nil, then it will force medium weight, not just ignore the bold settings.