solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit 6bcf968a1e9a06fe8783940c5744f75729cf8691
parent c3edb6f8be3674375378674148164a0cfe8a8eec
Author: Vitalie Spinu <spinuvit@gmail.com>
Date:   Fri, 28 Dec 2012 16:54:49 +0100

Remove diff-added, diff-changed and diff-removed annoying backgrounds.

  Two reasons:
    1) With background, diffs are more difficult to read.

    2) In magit buffers, where highlighting is used to emphasize the current
    chunk, current chunk actually becomes less highlighted. During movement
    between chunks everything blinks

Diffstat:
Msolarized.el | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/solarized.el b/solarized.el @@ -303,9 +303,9 @@ `(custom-state ((,class (:foreground ,green)))) ;; diff - `(diff-added ((,class (:foreground ,green)))) - `(diff-changed ((,class (:foreground ,yellow)))) - `(diff-removed ((,class (:foreground ,red)))) + `(diff-added ((,class (:foreground ,green :background ,solarized-bg)))) + `(diff-changed ((,class (:foreground ,yellow :background ,solarized-bg)))) + `(diff-removed ((,class (:foreground ,red :background ,solarized-bg)))) `(diff-header ((,class (:background ,solarized-bg)))) `(diff-file-header ((,class (:background ,solarized-bg :foreground ,solarized-fg :weight bold))))