From a52e1e7cb67e8f890c6cc0dad7a48088ea3a7fcb Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Mon, 4 Apr 2022 14:08:51 +0200 Subject: [PATCH] Override weight settings for some faces in theme --- config.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.el b/config.el index 855186b..5759d54 100644 --- a/config.el +++ b/config.el @@ -33,6 +33,13 @@ ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: (setq doom-theme 'doom-one) +(add-hook 'doom-load-theme-hook + (lambda () + (progn + (set-face-attribute 'font-lock-constant-face nil :weight 'bold) + (set-face-attribute 'font-lock-function-name-face nil :weight 'bold) + (set-face-attribute 'font-lock-keyword-face nil :weight 'bold) + (set-face-attribute 'font-lock-type-face nil :weight 'bold)))) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'.