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

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

[elpa] externals/modus-operandi-theme de1fbdf 003/112: General refinemen


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme de1fbdf 003/112: General refinements to built-in DIFF faces
Date: Mon, 30 Mar 2020 15:59:26 -0400 (EDT)

branch: externals/modus-operandi-theme
commit de1fbdf1fcb7a693534709d9c7ab0af72ab5cf43
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>

    General refinements to built-in DIFF faces
---
 modus-operandi-theme.el | 16 ++++++++--------
 modus-vivendi-theme.el  | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 617bcba..1776806 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -778,22 +778,22 @@ between foreground and background is >= 7:1)."
    `(diff-hl-insert ((,class (:inherit modus-theme-intense-green))))
    `(diff-hl-reverted-hunk-highlight ((,class (:inherit 
modus-theme-intense-magenta))))
    ;;;; diff-mode
-   `(diff-added ((,class (:inherit modus-theme-subtle-green))))
-   `(diff-changed ((,class (:inherit modus-theme-subtle-yellow))))
-   `(diff-context ((,class (:background ,bg-dim :foreground ,fg-alt))))
+   `(diff-added ((,class (:inherit modus-theme-refine-green))))
+   `(diff-changed ((,class (:inherit modus-theme-refine-yellow))))
+   `(diff-context ((,class (:foreground ,fg-alt))))
    `(diff-file-header ((,class (:inherit modus-theme-special-cold :weight 
bold))))
-   `(diff-function ((,class (:inherit modus-theme-special-cold :weight bold))))
-   `(diff-header ((,class (:inherit modus-theme-special-cold :weight bold))))
+   `(diff-function ((,class (:inherit modus-theme-subtle-neutral))))
+   `(diff-header ((,class (:foreground ,fg-special-cold))))
    `(diff-hunk-header ((,class (:inherit modus-theme-special-warm :weight 
bold))))
-   `(diff-index-header ((,class (:inherit diff-function))))
+   `(diff-index ((,class (:inherit modus-theme-special-cold :weight bold))))
    `(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-subtle-neutral))))
+   `(diff-nonexistent ((,class (:inherit modus-theme-intense-neutral :weight 
bold))))
    `(diff-refine-added ((,class (:inherit modus-theme-intense-green))))
    `(diff-refine-changed ((,class (:inherit modus-theme-intense-yellow))))
    `(diff-refine-removed ((,class (:inherit modus-theme-intense-red))))
-   `(diff-removed ((,class (:inherit modus-theme-subtle-red))))
+   `(diff-removed ((,class (:inherit modus-theme-refine-red))))
    ;;;; dim-autoload
    `(dim-autoload-cookie-line ((,class (:foreground ,fg-alt :slant 
,modus-theme-slant))))
    ;;;; dired
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 87e63d5..4f00c9c 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -778,22 +778,22 @@ between foreground and background is >= 7:1)."
    `(diff-hl-insert ((,class (:inherit modus-theme-intense-green))))
    `(diff-hl-reverted-hunk-highlight ((,class (:inherit 
modus-theme-intense-magenta))))
    ;;;; diff-mode
-   `(diff-added ((,class (:inherit modus-theme-subtle-green))))
-   `(diff-changed ((,class (:inherit modus-theme-subtle-yellow))))
-   `(diff-context ((,class (:background ,bg-dim :foreground ,fg-alt))))
+   `(diff-added ((,class (:inherit modus-theme-refine-green))))
+   `(diff-changed ((,class (:inherit modus-theme-refine-yellow))))
+   `(diff-context ((,class (:foreground ,fg-alt))))
    `(diff-file-header ((,class (:inherit modus-theme-special-cold :weight 
bold))))
-   `(diff-function ((,class (:inherit modus-theme-special-cold :weight bold))))
-   `(diff-header ((,class (:inherit modus-theme-special-cold :weight bold))))
+   `(diff-function ((,class (:inherit modus-theme-subtle-neutral))))
+   `(diff-header ((,class (:foreground ,fg-special-cold))))
    `(diff-hunk-header ((,class (:inherit modus-theme-special-warm :weight 
bold))))
-   `(diff-index-header ((,class (:inherit diff-function))))
+   `(diff-index ((,class (:inherit modus-theme-special-cold :weight bold))))
    `(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-subtle-neutral))))
+   `(diff-nonexistent ((,class (:inherit modus-theme-intense-neutral :weight 
bold))))
    `(diff-refine-added ((,class (:inherit modus-theme-intense-green))))
    `(diff-refine-changed ((,class (:inherit modus-theme-intense-yellow))))
    `(diff-refine-removed ((,class (:inherit modus-theme-intense-red))))
-   `(diff-removed ((,class (:inherit modus-theme-subtle-red))))
+   `(diff-removed ((,class (:inherit modus-theme-refine-red))))
    ;;;; dim-autoload
    `(dim-autoload-cookie-line ((,class (:foreground ,fg-alt :slant 
,modus-theme-slant))))
    ;;;; dired



reply via email to

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