I'd like to write a theme from all known faces (face colors and styles - as one would typically find in a theme).
There is a way to write themes customize-create-theme
, however it only writes some colors, not all the colors listed from list-faces-display
.
How can I do this?
Example snippet (not )
(deftheme my-theme "Description.")
(custom-theme-set-faces 'my-theme
'(font-lock-keyword-face ((t (:foreground "#808bed"))))
'(font-lock-preprocessor-face ((t (:foreground "#409090"))))
'(font-lock-reference-face ((t (:bold t :foreground "#808bed"))))
'(font-lock-string-face ((t (:foreground "#ffcd8b" :background "#404040"))))
;; -- snip --
)
To give some context, I have my own theme which I'd like to update with some existing colors & face (bold/italic etc).