tune font config for org mode and code
This commit is contained in:
parent
e05cd09a53
commit
1053fcd711
|
@ -277,23 +277,24 @@ position between last non-whitespace and `end-of-line'."
|
||||||
|
|
||||||
(custom-theme-set-faces
|
(custom-theme-set-faces
|
||||||
'user
|
'user
|
||||||
'(variable-pitch ((t (:family "Atkinson Hyperlegible"))))
|
'(variable-pitch ((t (:family "Atkinson Hyperlegible" :height 120))))
|
||||||
'(fixed-pitch ((t ( :family "MonoLisa Variable"))))
|
'(fixed-pitch ((t ( :family "MonoLisa Variable" :height 120))))
|
||||||
)
|
)
|
||||||
|
|
||||||
(custom-theme-set-faces
|
(custom-theme-set-faces
|
||||||
'user
|
'user
|
||||||
'(org-block ((t (:inherit fixed-pitch))))
|
'(org-block ((t (:inherit fixed-pitch))))
|
||||||
'(org-code ((t (:inherit (fixed-pitch)))))
|
'(org-code ((t (:inherit (shadow fixed-pitch)))))
|
||||||
'(org-document-info ((t (:inherit (fixed-pitch)))))
|
'(org-document-info ((t (:inherit fixed-pitch))))
|
||||||
'(org-document-info-keyword ((t (:inherit (fixed-pitch)))))
|
'(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
|
||||||
'(org-link ((t (:inherit (fixed-pitch)))))
|
'(org-indent ((t (:inherit (org-hide fixed-pitch)))))
|
||||||
'(org-meta-line ((t (:inherit (fixed-pitch)))))
|
'(org-link ((t (:inherit (shadow fixed-pitch)))))
|
||||||
'(org-property-value ((t (:inherit (fixed-pitch)))))
|
'(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
|
||||||
'(org-verbatim ((t (:inherit (fixed-pitch)))))
|
'(org-property-value ((t (:inherit fixed-pitch))) t)
|
||||||
'(org-tag ((t (:inherit (fixed-pitch)))))
|
'(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
|
||||||
'(line-number ((t (:inherit (fixed-pitch)))))
|
'(org-table ((t (:inherit fixed-pitch))))
|
||||||
'(line-number-current-line ((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)
|
(add-hook 'org-mode-hook 'variable-pitch-mode)
|
||||||
|
|
Reference in a new issue