From 22632d0ad2bcf47847d3d1cae82eabce8514f4bb Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Mon, 12 Aug 2024 23:32:42 -0700 Subject: [PATCH] fix(emacs): use roboto for variable pitch font Signed-off-by: Lucas Sta Maria --- .emacs.d/include/general.el | 4 ++-- .emacs.d/include/orgconfig.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.emacs.d/include/general.el b/.emacs.d/include/general.el index bc0b8f9..b3356b9 100644 --- a/.emacs.d/include/general.el +++ b/.emacs.d/include/general.el @@ -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 diff --git a/.emacs.d/include/orgconfig.el b/.emacs.d/include/orgconfig.el index c784db0..00dcd87 100644 --- a/.emacs.d/include/orgconfig.el +++ b/.emacs.d/include/orgconfig.el @@ -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))))