From 1053fcd711aea3a6247635908b0bb6d216890dd2 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 14 Jan 2023 23:54:23 -0500 Subject: [PATCH] tune font config for org mode and code --- common/_global.el | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/common/_global.el b/common/_global.el index 62c6722..df3811c 100644 --- a/common/_global.el +++ b/common/_global.el @@ -277,23 +277,24 @@ position between last non-whitespace and `end-of-line'." (custom-theme-set-faces 'user - '(variable-pitch ((t (:family "Atkinson Hyperlegible")))) - '(fixed-pitch ((t ( :family "MonoLisa Variable")))) + '(variable-pitch ((t (:family "Atkinson Hyperlegible" :height 120)))) + '(fixed-pitch ((t ( :family "MonoLisa Variable" :height 120)))) ) -(custom-theme-set-faces + (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))))) + '(org-code ((t (:inherit (shadow fixed-pitch))))) + '(org-document-info ((t (:inherit fixed-pitch)))) + '(org-document-info-keyword ((t (:inherit (shadow fixed-pitch))))) + '(org-indent ((t (:inherit (org-hide fixed-pitch))))) + '(org-link ((t (:inherit (shadow fixed-pitch))))) + '(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch))))) + '(org-property-value ((t (:inherit fixed-pitch))) t) + '(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch))))) + '(org-table ((t (:inherit fixed-pitch)))) + '(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8)))) + '(org-verbatim ((t (:inherit (shadow fixed-pitch))))) ) (add-hook 'org-mode-hook 'variable-pitch-mode)