From 8c2fe225c247ac5da42d8cf65f577f1d75a08818 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 23 Feb 2021 18:57:39 +0100 Subject: [PATCH] Emacs: Change hl-line to something lighter, more visible. --- init.d/basics/appearance.el | 1 + init.d/basics/ui.el | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/init.d/basics/appearance.el b/init.d/basics/appearance.el index 5cdc4b8..eab8999 100644 --- a/init.d/basics/appearance.el +++ b/init.d/basics/appearance.el @@ -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))) diff --git a/init.d/basics/ui.el b/init.d/basics/ui.el index 46d73ed..31e2b0d 100644 --- a/init.d/basics/ui.el +++ b/init.d/basics/ui.el @@ -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))