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
553 stars 30 forks source link

Error (use-package): modus-themes/:config: Face height does not produce a positive integer #93

Closed emacsomancer closed 10 months ago

emacsomancer commented 10 months ago

on the latest version, it does not set theme colours properly, and produces an error:

Debugger entered--Lisp error: (error "Face height does not produce a positive integer")
  set-face-attribute(org-agenda-structure #<frame *mu4e-headers* 0x55f5813b6a80> :inherit bold :background unspecified :foreground "#c6daff" :overline unspecified :height nil :weight unspecified)
  face-spec-set-2(org-agenda-structure #<frame *mu4e-headers* 0x55f5813b6a80> (:inherit bold :background unspecified :foreground "#c6daff" :overline unspecified :height nil :weight unspecified))
  face-spec-recalc(org-agenda-structure #<frame *mu4e-headers* 0x55f5813b6a80>)
  custom-theme-recalc-face(org-agenda-structure)
  #<subr enable-theme>(modus-vivendi)
  apply(#<subr enable-theme> modus-vivendi)
  #f(advice meow--enable-theme-advice :after #<subr enable-theme>)(modus-vivendi)
  apply(#f(advice meow--enable-theme-advice :after #<subr enable-theme>) modus-vivendi)
  enable-theme(modus-vivendi)
  load-theme(modus-vivendi t)
  (progn (load-theme 'modus-vivendi t))
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  command-execute(eval-last-sexp)
protesilaos commented 10 months ago

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

emacsomancer commented 10 months ago

Thanks, @protesilaos ! That seems to have resolved it.