diff --git a/common/_global.el b/common/_global.el index 63049e7..62c6722 100644 --- a/common/_global.el +++ b/common/_global.el @@ -274,6 +274,30 @@ position between last non-whitespace and `end-of-line'." ;; http://ergoemacs.org/misc/emacs_macos_emoji.html ;; ) + +(custom-theme-set-faces + 'user + '(variable-pitch ((t (:family "Atkinson Hyperlegible")))) + '(fixed-pitch ((t ( :family "MonoLisa Variable")))) +) + +(custom-theme-set-faces + 'user + '(org-block ((t (:inherit fixed-pitch)))) + '(org-code ((t (:inherit (fixed-pitch))))) + '(org-document-info ((t (:inherit (fixed-pitch))))) + '(org-document-info-keyword ((t (:inherit (fixed-pitch))))) + '(org-link ((t (:inherit (fixed-pitch))))) + '(org-meta-line ((t (:inherit (fixed-pitch))))) + '(org-property-value ((t (:inherit (fixed-pitch))))) + '(org-verbatim ((t (:inherit (fixed-pitch))))) + '(org-tag ((t (:inherit (fixed-pitch))))) + '(line-number ((t (:inherit (fixed-pitch))))) + '(line-number-current-line ((t (:inherit (fixed-pitch))))) +) + +(add-hook 'org-mode-hook 'variable-pitch-mode) + ) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;