Emacs: Change hl-line to something lighter, more visible.

This commit is contained in:
tastytea 2021-02-23 18:57:39 +01:00
parent 9dda5dc7a3
commit 8c2fe225c2
2 changed files with 1 additions and 2 deletions

View File

@ -69,6 +69,7 @@
(defun my/fix-theme ()
"Fix some colors, needed the for the first frame after server start."
(when my/run-fix-theme
(set-face-background 'hl-line "#140f50")
(when (display-graphic-p)
(set-face-background 'scroll-bar (face-background 'default))
(set-face-foreground 'scroll-bar (face-foreground 'shadow)))

View File

@ -17,8 +17,6 @@
:config (progn
;; (treemacs-tag-follow-mode)
(make-face 'hl-line-treemacs-face)
(set-face-attribute 'hl-line-treemacs-face nil
:background "#080011")
(when (>= emacs-major-version 27)
(set-face-attribute 'hl-line-treemacs-face nil
:extend t))