protesilaos / modus-themes

Highly accessible themes for GNU Emacs, conforming with the highest standard for colour contrast between background and foreground values (WCAG AAA).
https://protesilaos.com/emacs/modus-themes
GNU General Public License v3.0
526 stars 29 forks source link

How to override a face? #82

Closed QiangF closed 1 year ago

QiangF commented 1 year ago

I am trying add underline to "ivy-current-match" and "iedit-occurrence" to both the light and dark theme, for an eink display. I could do:

(set-face-attribute 'ivy-current-match nil :weight 'bold :underline t)
(set-face-attribute 'iedit-occurrence nil :weight 'bold :underline t)

But the face is still undefined when the theme loades. Since the face is defined in modus-themes-faces, I am wondering is there a convenient way to change one item in that huge list, to give the user more control?

QiangF commented 1 year ago

https://github.com/protesilaos/modus-themes/issues/57