From eef9245eb810820643a5960426265edd5578c656 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Mon, 11 Feb 2013 09:11:03 -0700 Subject: Face reorganization and better color theme Moved all face definitions to leg-fonts.el. Change default colors to Solarize color theme http://ethanschoonover.com/solarized --- lisp/ldg-fonts.el | 14 ++++++++++++-- lisp/ldg-occur.el | 10 ---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lisp/ldg-fonts.el b/lisp/ldg-fonts.el index 6ddc811c..d72c9403 100644 --- a/lisp/ldg-fonts.el +++ b/lisp/ldg-fonts.el @@ -22,7 +22,7 @@ (defgroup ledger-faces nil "Ledger mode highlighting" :group 'ledger) (defface ledger-font-uncleared-face - `((t :foreground "green" :weight bold )) + `((t :foreground "#dc322f" :weight bold )) "Default face for Ledger" :group 'ledger-faces) @@ -32,7 +32,7 @@ :group 'ledger-faces) (defface ledger-font-highlight-face - `((t :background "#eee8d5")) + `((t :background "white")) "Default face for transaction under point" :group 'ledger-faces) @@ -56,6 +56,16 @@ "Face for Ledger amounts" :group 'ledger-faces) +(defface ledger-occur-folded-face + `((t :foreground "grey70" :invisible t )) + "Default face for Ledger occur mode hidden transactions" + :group 'ledger-faces) + +(defface ledger-occur-xact-face + `((t :background "#eee8d5" )) + "Default face for Ledger occur mode shown transactions" + :group 'ledger-faces) + (defface ledger-font-comment-face `((t :foreground "#93a1a1" :slant italic)) "Face for Ledger comments" diff --git a/lisp/ldg-occur.el b/lisp/ldg-occur.el index 1afb0e90..bd5a49b1 100644 --- a/lisp/ldg-occur.el +++ b/lisp/ldg-occur.el @@ -32,16 +32,6 @@ ;;; Code: -(defface ledger-occur-folded-face - `((t :foreground "grey70" :invisible t )) - "Default face for Ledger occur mode hidden transactions" - :group 'ledger-faces) - -(defface ledger-occur-xact-face - `((t :background "blue" :weight normal )) - "Default face for Ledger occur mode shown transactions" - :group 'ledger-faces) - (defconst ledger-occur-overlay-property-name 'ledger-occur-custom-buffer-grep) (defcustom ledger-occur-use-face-unfolded t -- cgit v1.2.3