These statements lets you set foreground and background colours in a straight forward syntax:
(set-face-foreground 'font-lock-constant-face "brightwhite")
(set-face-background 'font-lock-constant-face "cyan")
...
When using custom-set-faces
, statements are automatically made like below, in a somewhat more complex form. If I want to re-create the same faces, without relying on custom-set-faces
, but using simple statements like above, how can I do this for for example these statements?
(custom-set-faces
'(dired-directory ((t (:inherit (font-lock-function-name-face default) :foreground "cyan"))))
'(header-line ((t (:inherit mode-line :inverse-video nil))))
...