From 4cd552de28a326a68fed77bc48257d0f815d94c4 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 3 Oct 2020 18:14:34 +0100 Subject: [PATCH] Alter doom-acario-dark's font for comments Thanks to my newly acquired `Info-mode` navigation skills, I quickly learned how to alter fonts in Emacs! --- emacs/.emacs.d/wpc/wpc-ui.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el index e555936f7..0bfe6577c 100644 --- a/emacs/.emacs.d/wpc/wpc-ui.el +++ b/emacs/.emacs.d/wpc/wpc-ui.el @@ -167,7 +167,12 @@ (progn (fonts-whitelist-set "JetBrainsMono") (fonts-enable-ligatures) - (colorscheme-whitelist-set 'doom-acario-dark)) + (colorscheme-whitelist-set 'doom-acario-dark) + ;; the doom-acario-dark theme uses "Monospace Serif" as the font for + ;; comments, and I'd prefer JetBrainsMono (no italics). + (set-face-attribute font-lock-comment-face nil + :family "JetBrainsMono" + :slant 'normal)) (load-theme 'wombat)) (modeline-setup)