Override weight settings for some faces in theme

This commit is contained in:
Wojciech Kozlowski 2022-04-04 14:08:51 +02:00
parent 2bd6881742
commit a52e1e7cb6

View File

@ -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'.