1
0
Fork 0

fix(emacs): use roboto for variable pitch font

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-08-12 23:32:42 -07:00
parent 60eed90964
commit 22632d0ad2
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@
(cond ((eq system-type 'gnu/linux)
(setf priime-fixed-font "JetBrains Mono SemiBold")
(setf priime-variable-font "Newsreader")
(setf priime-variable-font "Roboto")
(setf priime-font-size 10)
(setf priime-fixed-height 0.8))
((eq system-type 'darwin)
@ -79,7 +79,7 @@
(custom-set-faces
'(region ((t (:inherit nano-subtle :background "#EBE5F5"))))
'(lazy-highlight ((t (:inherit region))))
`(variable-pitch ((t (:family ,priime-variable-font :height 125 :weight medium))))
`(variable-pitch ((t (:family ,priime-variable-font :height 125 :weight regular))))
`(fixed-pitch ((t (:family ,priime-fixed-font :height ,priime-fixed-height :inherit nil))))
`(shr-text ((t (:inherit variable-pitch-text :family ,priime-variable-font)))))
(set-face-attribute 'italic nil

View file

@ -165,7 +165,7 @@
;; Theme
(custom-set-faces
'(org-document-info ((t (:inherit nano-strong :height 1.0))))
'(org-document-title ((t (:inherit nano-strong :height 1.5 :family "Newsreader"))))
'(org-document-title ((t (:inherit nano-strong :height 1.5 :family "Roboto"))))
'(org-document-info-keyword ((t :inherit (nano-faded fixed-pitch))))
'(org-level-1 ((t (:inherit nano-strong :extend nil :height 1.4))))
'(org-level-2 ((t (:inherit nano-strong :extend nil :height 1.3))))