fix(emacs): change font from Libertine to Newsreader for variable fonts
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
7957924ede
commit
6b8313b007
2 changed files with 7 additions and 4 deletions
|
@ -49,6 +49,9 @@
|
||||||
(load-theme 'nano t)
|
(load-theme 'nano t)
|
||||||
(nano-light)
|
(nano-light)
|
||||||
|
|
||||||
|
(defvar priime-fixed-font "Jetbrains Mono Semibold")
|
||||||
|
(defvar priime-variable-font "Newsreader")
|
||||||
|
|
||||||
(add-to-list 'default-frame-alist '(font . "JetBrains Mono SemiBold-10"))
|
(add-to-list 'default-frame-alist '(font . "JetBrains Mono SemiBold-10"))
|
||||||
(defvar font-size 10)
|
(defvar font-size 10)
|
||||||
(defvar font-family "JetBrains Mono SemiBold")
|
(defvar font-family "JetBrains Mono SemiBold")
|
||||||
|
@ -56,9 +59,9 @@
|
||||||
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(region ((t (:inherit nano-subtle :background "#EBE5F5"))))
|
'(region ((t (:inherit nano-subtle :background "#EBE5F5"))))
|
||||||
'(variable-pitch ((t (:family "Linux Libertine" :height 125 :weight medium))))
|
`(variable-pitch ((t (:family ,priime-variable-font :height 125 :weight medium))))
|
||||||
'(fixed-pitch ((t (:family "JetBrains Mono SemiBold" :height 100))))
|
`(fixed-pitch ((t (:family ,priime-fixed-font :height 100))))
|
||||||
'(shr-text ((t (:inherit variable-pitch-text :family "Linux Libertine")))))
|
`(shr-text ((t (:inherit variable-pitch-text :family ,priime-variable-font)))))
|
||||||
(set-face-attribute 'italic nil
|
(set-face-attribute 'italic nil
|
||||||
:family 'inherit
|
:family 'inherit
|
||||||
:slant 'italic
|
:slant 'italic
|
||||||
|
|
|
@ -176,7 +176,7 @@
|
||||||
;; Theme
|
;; Theme
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-document-info ((t (:inherit nano-strong :height 1.0))))
|
'(org-document-info ((t (:inherit nano-strong :height 1.0))))
|
||||||
'(org-document-title ((t (:inherit nano-strong :height 1.5 :family "Linux Libertine"))))
|
'(org-document-title ((t (:inherit nano-strong :height 1.5 :family "Newsreader"))))
|
||||||
'(org-document-info-keyword ((t :inherit (nano-faded fixed-pitch))))
|
'(org-document-info-keyword ((t :inherit (nano-faded fixed-pitch))))
|
||||||
'(org-level-1 ((t (:inherit nano-strong :extend nil :height 1.4))))
|
'(org-level-1 ((t (:inherit nano-strong :extend nil :height 1.4))))
|
||||||
'(org-level-2 ((t (:inherit nano-strong :extend nil :height 1.3))))
|
'(org-level-2 ((t (:inherit nano-strong :extend nil :height 1.3))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue