7

The title says it all. How to change face in specific color theme locally, in my configuration?

8

Use custom-theme-set-faces in a with-eval-after-load to easily customize a theme.

For example, this modifies ample-theme to have a lighter background and green keywords instead of the defaults.

(with-eval-after-load "ample-theme"
  (custom-theme-set-faces
   'ample
   '(default ((t (:foreground "#bdbdb3" :background "gray15"))))
   '(font-lock-keyword-face ((t (:foreground "#818053"))))))

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.