Weird error with customized theme (not sure what it means)

Customizing the theme has been the hardest thing I’ve done on Doom Emacs and it still doesn’t quite seem to work. It’s giving now this error:

 ■  Error (doom-load-theme-hook): Error running hook "doom-apply-customized-faces-h" because: (wrong-type-argument listp doom-city-lights)

My configs.

(setq doom-theme 'doom-city-lights)

(custom-theme-set-faces! 'doom-city-lights
  '(default :background "#10151a")
  '(default :foreground "#ffffff")
  '(org-level-1 :inherit outline-1 :height 1.2)
  '(org-level-2 :inherit outline-2 :height 1.0)
  '(org-level-3 :inherit outline-3 :height 1.0)
  )

Seems like it was caused by this snippet:

 (custom-set-faces! 'doom-city-lights
   '(default :background "#10151a")
   )

changing this to custom-theme-set-faces! removes the error, but may cause huge issues on Wayland (the entire background goes white).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.