From cdeed89dbd87ee98138177741a9526390359b36c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 23 Mar 2014 02:09:49 +0100 Subject: lisp: use more legible colors on dark backgrounds On dark backgrounds, the color for the current transaction makes the text quite unreadable. Let's use a darker color in this case. Maybe some other colors could be adjusted. --- lisp/ledger-fonts.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/ledger-fonts.el b/lisp/ledger-fonts.el index 41c7a4aa..70c05428 100644 --- a/lisp/ledger-fonts.el +++ b/lisp/ledger-fonts.el @@ -40,7 +40,8 @@ :group 'ledger-faces) (defface ledger-font-xact-highlight-face - `((t :background "#eee8d5")) + `((((background dark)) :background "#1a1a1a" ) + (t :background "#eee8d5")) "Default face for transaction under point" :group 'ledger-faces) @@ -80,7 +81,8 @@ :group 'ledger-faces) (defface ledger-occur-xact-face - `((t :background "#eee8d5" )) + `((((background dark)) :background "#1a1a1a" ) + (t :background "#eee8d5" )) "Default face for Ledger occur mode shown transactions" :group 'ledger-faces) -- cgit v1.2.3