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

Error loading modus-operandi-tritanopia #92

Closed rhstanton closed 5 months ago

rhstanton commented 8 months ago

Starting today, when I load this theme in init.el, I get the following error:

Debugger entered--Lisp error: (error "Face height does not produce a positive integer") set-face-attribute(modus-themes-heading-8 #<frame emacs 0x7fb23713be30> :inherit nil :background unspecified :foreground "#595959" :overline unspecified :height nil :weight semilight) face-spec-set-2(modus-themes-heading-8 #<frame emacs 0x7fb23713be30> (:inherit nil :background unspecified :foreground "#595959" :overline unspecified :height nil :weight semilight)) face-spec-recalc(modus-themes-heading-8 #<frame emacs 0x7fb23713be30>) custom-theme-recalc-face(modus-themes-heading-8) enable-theme(modus-operandi-tritanopia) load-theme(modus-operandi-tritanopia t)

protesilaos commented 8 months ago

Thank you @rhstanton! I just pushed a change. Please let me know if it fixes the issue on your end.

rhstanton commented 8 months ago

Works now. Thanks!