bbatsov / zenburn-emacs

The Zenburn colour theme ported to Emacs
GNU General Public License v3.0
990 stars 269 forks source link

Remove certain face customizations #237

Closed holocronweaver closed 7 years ago

holocronweaver commented 8 years ago

Is there a way to remove particular custom faces from a theme by adding lines to a user init file? Or is directly editing the theme source the only means?

Background: Recently org-habit-*-face customizations were added that resulted in org-habit bars being very hard to differentiate for someone who is red-green colorblind. I want to remove these custom faces since the default colors were easy to read and looked fine.

fice-t commented 8 years ago

You can use custom-theme-set-faces for this. For example:

(custom-theme-set-faces
 'zenburn
 '(org-habit-ready-face)
 '(org-habit-alert-face))
holocronweaver commented 7 years ago

For posterity, this did indeed solve my problem. Thanks!

impaktor commented 7 years ago

Possibly something to put in the README.md?