Fix theme customizations

This commit is contained in:
Wojciech Kozlowski 2022-04-11 12:54:16 +02:00
parent 0fcb2d02ca
commit 605ecc863b

View File

@ -33,18 +33,19 @@
;; available. You can either set `doom-theme' or manually load a theme with the ;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default: ;; `load-theme' function. This is the default:
(setq doom-theme 'doom-one) (setq doom-theme 'doom-one)
(add-hook 'doom-load-theme-hook (custom-theme-set-faces! nil
(lambda () '((font-lock-constant-face
(set-face-attribute 'font-lock-constant-face nil :weight 'bold) font-lock-function-name-face
(set-face-attribute 'font-lock-function-name-face nil :weight 'bold) font-lock-keyword-face
(set-face-attribute 'font-lock-keyword-face nil :weight 'bold) font-lock-type-face)
(set-face-attribute 'font-lock-type-face nil :weight 'bold) :weight bold)
(set-face-attribute 'line-number-current-line nil :inherit '((show-paren-match
(remq 'hl-line (internal-get-lisp-face-attribute whitespace-line)
'line-number-current-line :background nil)
:inherit))) `((line-number-current-line)
(set-face-attribute 'show-paren-match nil :background nil))) :inherit ,(remq 'hl-line (internal-get-lisp-face-attribute
(after! whitespace (set-face-attribute 'whitespace-line nil :background nil)) 'line-number-current-line
:inherit))))
;; This determines the style of line numbers in effect. If set to `nil', line ;; 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'. ;; numbers are disabled. For relative line numbers, set this to `relative'.