summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorSteve Purcell <steve@sanityinc.com>2014-12-05 09:41:00 +0000
committerSteve Purcell <steve@sanityinc.com>2014-12-05 09:41:00 +0000
commitdef0a8421d9f3792fcb04349c7204f89572c7611 (patch)
treed8438f441835c84e832a5a5244d774bf40530e87 /lisp
parentbb38cda880f8abeb75570246b79935e437741afa (diff)
downloadfork-ledger-def0a8421d9f3792fcb04349c7204f89572c7611.tar.gz
fork-ledger-def0a8421d9f3792fcb04349c7204f89572c7611.tar.bz2
fork-ledger-def0a8421d9f3792fcb04349c7204f89572c7611.zip
Inherit standard font lock faces where appropriate
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ledger-fonts.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/ledger-fonts.el b/lisp/ledger-fonts.el
index d054a9b0..0ac603b1 100644
--- a/lisp/ledger-fonts.el
+++ b/lisp/ledger-fonts.el
@@ -216,18 +216,17 @@
:group 'ledger-faces)
(defface ledger-occur-narrowed-face
- `((t :foreground "grey70" :invisible t ))
+ `((t :inherit font-lock-comment-face :invisible t))
"Default face for Ledger occur mode hidden transactions"
:group 'ledger-faces)
(defface ledger-occur-xact-face
- `((((background dark)) :background "#1a1a1a" )
- (t :background "#eee8d5" ))
+ `((t :inherit highlight))
"Default face for Ledger occur mode shown transactions"
:group 'ledger-faces)
(defface ledger-font-comment-face
- `((t :foreground "#93a1a1" :slant italic))
+ `((t :inherit font-lock-comment-face))
"Face for Ledger comments"
:group 'ledger-faces)