Support dark theme in org files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user