summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2014-03-23 07:56:08 -0700
committerCraig Earls <enderw88@gmail.com>2014-03-23 07:56:08 -0700
commit48bf26688cdc20e96d62318272a09adb8cd3f2e3 (patch)
tree2da3e3705bfd0bb4a54a64b6dbf5fd22126587cb
parent8cc9521a9aa8f1c677dfb17fff20ae403f499e55 (diff)
parentcdeed89dbd87ee98138177741a9526390359b36c (diff)
downloadfork-ledger-48bf26688cdc20e96d62318272a09adb8cd3f2e3.tar.gz
fork-ledger-48bf26688cdc20e96d62318272a09adb8cd3f2e3.tar.bz2
fork-ledger-48bf26688cdc20e96d62318272a09adb8cd3f2e3.zip
Merge pull request #259 from vincentbernat/fix/dark-background
lisp: use more legible colors on dark backgrounds Merged. I will forward any complaints your direction.
-rw-r--r--lisp/ledger-fonts.el6
1 files 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)