Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (let* ((variable-tuple
- (cond
- ((x-list-fonts "Noto Sans Mono") '(:family "Noto Sans Mono"))
- ((x-list-fonts "Source Sans Pro") '(:family "Source Sans Pro"))))
- (fixed-tuple
- (cond
- ((x-list-fonts "Noto Sans Mono") '(:family "Noto Sans Mono" :height 160))
- ((x-list-fonts "Source Sans Pro") '(:family "Source Sans Pro" :height 120))))
- (headline `(:inherit default :weight bold)))
- (custom-theme-set-faces
- 'user
- `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.75))))
- `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.5))))
- `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25))))
- `(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1))))
- `(org-level-5 ((t (,@headline ,@variable-tuple))))
- `(org-level-6 ((t (,@headline ,@variable-tuple))))
- `(org-level-7 ((t (,@headline ,@variable-tuple))))
- `(org-level-8 ((t (,@headline ,@variable-tuple))))
- `(org-document-title ((t (,@headline ,@variable-tuple :height 2.0 :underline nil))))
- `(variable-pitch ((t ,@variable-tuple)))
- `(fixed-pitch ((t ,@fixed-tuple)))
- '(org-ellipsis ((t (:inherit fixed-pitch :foreground "gray40" :underline nil))))
- '(org-block ((t (:inherit fixed-pitch))))
- '(org-block-begin-line ((t (:inherit fixed-pitch))))
- '(org-block-end-line ((t (:inherit fixed-pitch))))
- '(org-src ((t (:inherit fixed-pitch))))
- '(org-properties ((t (:inherit fixed-pitch))))
- '(org-code ((t (:inherit (shadow fixed-pitch)))))
- '(org-date ((t (:inherit (shadow fixed-pitch)))))
- '(org-document-info ((t (:inherit (shadow fixed-pitch)))))
- '(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
- '(org-drawer ((t (:inherit (shadow fixed-pitch)))))
- '(org-indent ((t (:inherit (org-hide fixed-pitch)))))
- `(org-link ((t (:inherit fixed-pitch :foreground ,(doom-color 'blue) :underline t))))
- '(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)))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement