emacs: use Roboto Mono as fixed-pitch font
This commit is contained in:
parent
19705b5aa9
commit
94eb4246c7
1 changed files with 10 additions and 5 deletions
|
@ -154,11 +154,16 @@
|
|||
(package-install 'magit)
|
||||
|
||||
;; fonts
|
||||
(add-to-list 'default-frame-alist '(font . "Iosevka"))
|
||||
(set-face-attribute 'default t :height 140)
|
||||
(set-face-attribute 'fixed-pitch t :family "Iosevka")
|
||||
(set-face-attribute 'variable-pitch t :family "Roboto")
|
||||
(set-face-attribute 'fixed-pitch-serif t :family "Roboto Mono" :weight 'regular)
|
||||
(let
|
||||
((font-fixed "Roboto Mono")
|
||||
(font-varpt "Roboto"))
|
||||
(add-to-list 'default-frame-alist '(font . "Roboto Mono"))
|
||||
(set-face-attribute 'default t :height 140)
|
||||
(set-face-attribute 'fixed-pitch t :family font-fixed)
|
||||
(set-face-attribute 'variable-pitch t :family font-varpt)
|
||||
(set-face-attribute 'fixed-pitch-serif t
|
||||
:family font-fixed
|
||||
:weight 'regular))
|
||||
;; make comments italic
|
||||
(set-face-attribute 'font-lock-comment-face t :slant 'italic)
|
||||
(set-face-attribute 'font-lock-keyword-face t :slant 'italic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue