Change fonts

This commit is contained in:
Case Duckworth 2022-02-06 22:15:17 -06:00
parent 16604de818
commit f4e794e9b0
1 changed files with 6 additions and 8 deletions

View File

@ -9,13 +9,11 @@
;; [[https://twitter.com/NPRougier/status/1488570192561160195][from Nic Rougier]]
(add-function :after machine-after-load-theme
(defun +bob-set-faces (&rest _)
(+set-faces
'((default :family "Roboto Mono" :weight regular :height 110)
(bold :family "Roboto Mono" :weight medium)
(italic :family "Victor Mono" :weight medium :slant italic)))))
(+with-ensure-after-init
(set-fontset-font t 'unicode
(font-spec :name "Inconsolata Light" :size 10) nil))
(let ((mono-face "Roboto Mono"))
(+set-faces
`((default :family ,mono-face :weight regular :height 110)
(bold :family ,mono-face :weight medium)
(fixed-pitch :inherit default)
(italic :family "Victor Mono" :weight medium :slant italic :height 1.1))))))
;;; bob.el ends here