emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-vivendi-theme 9b8c0c8 20/35: Make diff indicators


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 9b8c0c8 20/35: Make diff indicators better for subtle diff option
Date: Wed, 24 Jun 2020 12:42:49 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit 9b8c0c81d8e610aea72582009063ac36b665d2a8
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make diff indicators better for subtle diff option
    
    The symbols for the "subtle diffs" option are:
    
    * modus-operandi-theme-subtle-diffs
    * modus-vivendi-theme-subtle-diffs
    
    Now diff-mode will only apply a background to an indicator when a
    word-wise (refined) change has occurred across multiple lines.
---
 modus-operandi-theme.el | 6 +++---
 modus-vivendi-theme.el  | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 17cc96c..ab0b382 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1313,9 +1313,9 @@ Also bind `class' to ((class color) (min-colors 89))."
                                  bg-alt blue-alt
                                  bg-diff-heading fg-diff-heading))))
    `(diff-index ((,class (:foreground ,blue-alt :weight bold))))
-   `(diff-indicator-added ((,class (:inherit modus-theme-diff-focus-added))))
-   `(diff-indicator-changed ((,class (:inherit 
modus-theme-diff-focus-changed))))
-   `(diff-indicator-removed ((,class (:inherit 
modus-theme-diff-focus-removed))))
+   `(diff-indicator-added ((,class (:inherit diff-added))))
+   `(diff-indicator-changed ((,class (:inherit diff-changed))))
+   `(diff-indicator-removed ((,class (:inherit diff-removed))))
    `(diff-nonexistent ((,class (:inherit modus-theme-neutral :weight bold))))
    `(diff-refine-added ((,class ,(modus-operandi-theme-diffs
                                   bg-diff-added fg-diff-added
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 52efcde..84fe31e 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1313,9 +1313,9 @@ Also bind `class' to ((class color) (min-colors 89))."
                                  bg-alt blue-alt
                                  bg-diff-heading fg-diff-heading))))
    `(diff-index ((,class (:foreground ,blue-alt :weight bold))))
-   `(diff-indicator-added ((,class (:inherit modus-theme-diff-focus-added))))
-   `(diff-indicator-changed ((,class (:inherit 
modus-theme-diff-focus-changed))))
-   `(diff-indicator-removed ((,class (:inherit 
modus-theme-diff-focus-removed))))
+   `(diff-indicator-added ((,class (:inherit diff-added))))
+   `(diff-indicator-changed ((,class (:inherit diff-changed))))
+   `(diff-indicator-removed ((,class (:inherit diff-removed))))
    `(diff-nonexistent ((,class (:inherit modus-theme-neutral :weight bold))))
    `(diff-refine-added ((,class ,(modus-vivendi-theme-diffs
                                   bg-diff-added fg-diff-added



reply via email to

[Prev in Thread] Current Thread [Next in Thread]