Change fonts
This commit is contained in:
parent
16604de818
commit
f4e794e9b0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue