Fix theme customizations
This commit is contained in:
parent
0fcb2d02ca
commit
605ecc863b
25
config.el
25
config.el
@ -33,18 +33,19 @@
|
||||
;; 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 ()
|
||||
(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)
|
||||
(set-face-attribute 'line-number-current-line nil :inherit
|
||||
(remq 'hl-line (internal-get-lisp-face-attribute
|
||||
'line-number-current-line
|
||||
:inherit)))
|
||||
(set-face-attribute 'show-paren-match nil :background nil)))
|
||||
(after! whitespace (set-face-attribute 'whitespace-line nil :background nil))
|
||||
(custom-theme-set-faces! nil
|
||||
'((font-lock-constant-face
|
||||
font-lock-function-name-face
|
||||
font-lock-keyword-face
|
||||
font-lock-type-face)
|
||||
:weight bold)
|
||||
'((show-paren-match
|
||||
whitespace-line)
|
||||
:background nil)
|
||||
`((line-number-current-line)
|
||||
:inherit ,(remq 'hl-line (internal-get-lisp-face-attribute
|
||||
'line-number-current-line
|
||||
:inherit))))
|
||||
|
||||
;; 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'.
|
||||
|
Loading…
Reference in New Issue
Block a user