From fe2d0ba5682c82d60dc64a4cc6a2bea7089d7322 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 2 May 2021 04:18:07 +0100 Subject: minibuffer colour vars --- lib/eos/jao-minibuffer.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index 599a333..d4a704b 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -32,6 +32,8 @@ (defvar jao-minibuffer-frame-width nil) (defvar jao-minibuffer-notification-timeout 5) (defvar jao-minibuffer-enabled-p t) +(defvar jao-minibuffer-active-buffer-line-color "lightsteelblue3") ;; "lightcyan3" +(defvar jao-minibuffer-inactive-buffer-line-color "grey90") (defconst jao-minibuffer--name " *Minibuf-0*") @@ -115,10 +117,10 @@ ;;;###autoload (defun jao-minibuffer-add-mode-line (order) (setq-default mode-line-format '(" ")) - (set-face-attribute 'mode-line nil - :box nil :height 1 :background "grey70") - (set-face-attribute 'mode-line-inactive nil - :box nil :height 1 :background "grey90") + (set-face-attribute 'mode-line nil :box nil :height 1 + :background jao-minibuffer-active-buffer-line-color) + (set-face-attribute 'mode-line-inactive nil :box nil :height 1 + :background jao-minibuffer-inactive-buffer-line-color) (advice-add 'force-mode-line-update :after #'jao-minibuffer-refresh) (add-hook 'buffer-list-update-hook #'jao-minibuffer-refresh) (jao-minibuffer-add-variable 'jao-minibuffer--mode-line-format order)) -- cgit v1.2.3