Support dark theme in org files

This commit is contained in:
m.fries
2024-07-03 15:11:17 +02:00
parent 0e9e2e90cd
commit 1b88d163b2

View File

@@ -237,13 +237,11 @@ Set up the fonts to use.
(set-face-attribute 'fixed-pitch nil :font "Iosevka Term-12")
(set-face-attribute 'variable-pitch nil :font "Iosevka Aile")
(let* ((variable-tuple
(cond ((x-list-fonts "Iosevka Aile") '(:font "Iosevka Aile"))
((x-family-fonts "Sans Serif") '(:family "Sans Serif"))
(nil (warn "Cannot find a Sans Serif Font. Install Source Sans Pro."))))
(base-font-color (face-foreground 'default nil 'default))
(headline `(:inherit default :weight bold :foreground ,base-font-color)))
(nil (warn "Cannot find a Sans Serif Font. Install Iosevka Aile."))))
(headline `(:inherit default :weight bold)))
(custom-theme-set-faces
'user