1
0
Fork 0

fix(emacs): tweak fixed-pitch face

This commit is contained in:
Lucas Sta Maria 2024-12-22 17:35:16 +08:00
parent 3ed9ba7f37
commit ef04d84715
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -8,7 +8,7 @@
;;; Font ;;; Font
(defvar priime--font-config (defvar priime--font-config
(cond ((string= (system-name) "framework") '("JetBrains Mono Medium" "Roboto" 10 0.8)) (cond ((string= (system-name) "framework") '("JetBrains Mono Medium" "Roboto" 10 0.9))
((eq system-type 'gnu/linux) '("Roboto Mono Medium" "Roboto" 12 0.8)) ((eq system-type 'gnu/linux) '("Roboto Mono Medium" "Roboto" 12 0.8))
((eq system-type 'darwin) '("Menlo" "Verdana" 12 1)) ((eq system-type 'darwin) '("Menlo" "Verdana" 12 1))
(t '("Roboto Mono" "Roboto" 10 0.8)))) (t '("Roboto Mono" "Roboto" 10 0.8))))
@ -156,7 +156,7 @@
(italic ((t (:inherit nano-default :slant italic)))) (italic ((t (:inherit nano-default :slant italic))))
(lazy-highlight ((t (:inherit region)))) (lazy-highlight ((t (:inherit region))))
(variable-pitch ((t (:inherit default :family ,priime-variable-font :height 1.25 :weight regular)))) (variable-pitch ((t (:inherit default :family ,priime-variable-font :height 1.25 :weight regular))))
(fixed-pitch ((t (:family ,priime-fixed-font :height ,priime-fixed-height :inherit nil)))) (fixed-pitch ((t (:family ,priime-fixed-font :height ,priime-fixed-height :inherit default))))
(shr-text ((t (:inherit variable-pitch-text :family ,priime-variable-font)))) (shr-text ((t (:inherit variable-pitch-text :family ,priime-variable-font))))
(line-number ((t (:inherit default :foreground "#98A4AE")))) (line-number ((t (:inherit default :foreground "#98A4AE"))))
(line-number-current-line ((t (:inherit default :foreground "#98A4AE")))) (line-number-current-line ((t (:inherit default :foreground "#98A4AE"))))