Advertisement
Guest User

Untitled

a guest
Mar 16th, 2022
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 2.45 KB | None | 0 0
  1.   (let* ((variable-tuple
  2.         (cond
  3.          ((x-list-fonts "Noto Sans Mono")   '(:family "Noto Sans Mono"))
  4.          ((x-list-fonts "Source Sans Pro")   '(:family "Source Sans Pro"))))
  5.        (fixed-tuple
  6.         (cond
  7.          ((x-list-fonts "Noto Sans Mono")   '(:family "Noto Sans Mono"   :height 160))
  8.          ((x-list-fonts "Source Sans Pro")               '(:family "Source Sans Pro"    :height 120))))
  9.        (headline `(:inherit default :weight bold)))
  10.   (custom-theme-set-faces
  11.    'user
  12.    `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.75))))
  13.    `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.5))))
  14.    `(org-level-3 ((t (,@headline ,@variable-tuple :height 1.25))))
  15.    `(org-level-4 ((t (,@headline ,@variable-tuple :height 1.1))))
  16.    `(org-level-5 ((t (,@headline ,@variable-tuple))))
  17.    `(org-level-6 ((t (,@headline ,@variable-tuple))))
  18.    `(org-level-7 ((t (,@headline ,@variable-tuple))))
  19.    `(org-level-8 ((t (,@headline ,@variable-tuple))))
  20.    `(org-document-title ((t (,@headline ,@variable-tuple :height 2.0 :underline nil))))
  21.  
  22.    `(variable-pitch     ((t ,@variable-tuple)))
  23.    `(fixed-pitch        ((t ,@fixed-tuple)))
  24.  
  25.    '(org-ellipsis ((t (:inherit fixed-pitch :foreground "gray40" :underline nil))))
  26.    '(org-block            ((t (:inherit fixed-pitch))))
  27.    '(org-block-begin-line ((t (:inherit fixed-pitch))))
  28.    '(org-block-end-line   ((t (:inherit fixed-pitch))))
  29.    '(org-src              ((t (:inherit fixed-pitch))))
  30.    '(org-properties       ((t (:inherit fixed-pitch))))
  31.    '(org-code             ((t (:inherit (shadow fixed-pitch)))))
  32.    '(org-date             ((t (:inherit (shadow fixed-pitch)))))
  33.    '(org-document-info    ((t (:inherit (shadow fixed-pitch)))))
  34.    '(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
  35.    '(org-drawer           ((t (:inherit (shadow fixed-pitch)))))
  36.    '(org-indent           ((t (:inherit (org-hide fixed-pitch)))))
  37.    `(org-link             ((t (:inherit fixed-pitch :foreground ,(doom-color 'blue) :underline t))))
  38.    '(org-meta-line        ((t (:inherit (font-lock-comment-face fixed-pitch)))))
  39.    '(org-property-value   ((t (:inherit fixed-pitch))) t)
  40.    '(org-special-keyword  ((t (:inherit (font-lock-comment-face fixed-pitch)))))
  41.    '(org-table            ((t (:inherit fixed-pitch))))
  42.    '(org-tag              ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8))))
  43.    '(org-verbatim         ((t (:inherit (shadow fixed-pitch)))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement