feat(emacs): variable face in org-mode
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
20d2bb941e
commit
df1b455081
2 changed files with 20 additions and 9 deletions
|
@ -57,9 +57,11 @@
|
||||||
(defvar font-family "JetBrains Mono SemiBold")
|
(defvar font-family "JetBrains Mono SemiBold")
|
||||||
(set-frame-font (format "%s %d" font-family font-size))
|
(set-frame-font (format "%s %d" font-family font-size))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(shr-text ((t (:inherit variable-pitch-text :family "Noto Sans Light")))))
|
'(variable-pitch ((t (:family "Linux Libertine" :height 125 :weight medium))))
|
||||||
|
'(fixed-pitch ((t (:family "JetBrains Mono SemiBold" :height 100))))
|
||||||
|
'(shr-text ((t (:inherit variable-pitch-text :family "Linux Libertine")))))
|
||||||
(set-face-attribute 'italic nil
|
(set-face-attribute 'italic nil
|
||||||
:family "JetBrains Mono"
|
:family 'inherit
|
||||||
:slant 'italic
|
:slant 'italic
|
||||||
:weight 'semi-bold
|
:weight 'semi-bold
|
||||||
:foreground nano-light-foreground)
|
:foreground nano-light-foreground)
|
||||||
|
|
|
@ -65,6 +65,7 @@
|
||||||
(add-hook 'org-mode-hook #'olivetti-mode)
|
(add-hook 'org-mode-hook #'olivetti-mode)
|
||||||
(add-hook 'org-mode-hook #'org-modern-mode)
|
(add-hook 'org-mode-hook #'org-modern-mode)
|
||||||
(add-hook 'org-mode-hook #'org-recur-mode)
|
(add-hook 'org-mode-hook #'org-recur-mode)
|
||||||
|
(add-hook 'org-mode-hook #'variable-pitch-mode)
|
||||||
(add-hook 'org-agenda-mode-hook #'org-recur-mode)
|
(add-hook 'org-agenda-mode-hook #'org-recur-mode)
|
||||||
(add-hook 'org-mode-hook #'org-modern-indent-mode 90)
|
(add-hook 'org-mode-hook #'org-modern-indent-mode 90)
|
||||||
(add-hook 'org-agenda-finalize-hook #'org-modern-agenda)
|
(add-hook 'org-agenda-finalize-hook #'org-modern-agenda)
|
||||||
|
@ -100,13 +101,21 @@
|
||||||
|
|
||||||
;; Theme
|
;; Theme
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-document-info ((t (:inherit nano-strong :height 1.0 :family "Roboto Mono"))))
|
'(org-document-info ((t (:inherit nano-strong :height 1.0 :family "JetBrains Mono SemiBold"))))
|
||||||
'(org-document-title ((t (:inherit nano-strong :height 1.5 :family "Roboto Mono"))))
|
'(org-document-title ((t (:inherit nano-strong :height 1.5 :family "JetBrains Mono SemiBold"))))
|
||||||
'(org-level-1 ((t (:inherit nano-strong :extend nil :height 1.4 :family "Inter"))))
|
'(org-document-info-keyword ((t :inherit (nano-faded fixed-pitch))))
|
||||||
'(org-level-2 ((t (:inherit nano-strong :extend nil :height 1.3 :family "Inter"))))
|
'(org-level-1 ((t (:inherit nano-strong :extend nil :height 1.4 :family "Linux Libertine"))))
|
||||||
'(org-level-3 ((t (:inherit nano-strong :extend nil :height 1.2 :family "Inter"))))
|
'(org-level-2 ((t (:inherit nano-strong :extend nil :height 1.3 :family "Linux Libertine"))))
|
||||||
'(org-level-4 ((t (:inherit nano-strong :extend nil :height 1.1 :family "Inter"))))
|
'(org-level-3 ((t (:inherit nano-strong :extend nil :height 1.2 :family "Linux Libertine"))))
|
||||||
'(org-link ((t (:inherit nano-salient :underline t)))))
|
'(org-level-4 ((t (:inherit nano-strong :extend nil :height 1.1 :family "Linux Libertine"))))
|
||||||
|
'(org-link ((t (:inherit nano-salient :underline t))))
|
||||||
|
'(org-block ((t :inherit fixed-pitch)))
|
||||||
|
'(org-code ((t :inherit (nano-salient fixed-pitch))))
|
||||||
|
'(org-indent ((t :inherit (org-hide fixed-pitch))))
|
||||||
|
'(org-table ((t :inherit fixed-pitch)))
|
||||||
|
'(org-block-begin-line ((t :inherit (nano-faded fixed-pitch) :extend t)))
|
||||||
|
'(org-block-end-line ((t :inherit (nano-faded fixed-pitch) :extend t)))
|
||||||
|
'(org-meta-line ((t :inherit (nano-faded fixed-pitch)))))
|
||||||
|
|
||||||
|
|
||||||
(provide 'orgconfig)
|
(provide 'orgconfig)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue