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

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

[nongnu] elpa/material-theme 625864a 077/118: Add diff-hl faces and make


From: ELPA Syncer
Subject: [nongnu] elpa/material-theme 625864a 077/118: Add diff-hl faces and make consistent with other diff faces
Date: Thu, 21 Oct 2021 18:06:24 -0400 (EDT)

branch: elpa/material-theme
commit 625864ab6ffe56c59fe5ff031c1933742b40a88c
Author: Christoph Paulik <cpaulik@gmail.com>
Commit: Christoph Paulik <cpaulik@gmail.com>

    Add diff-hl faces and make consistent with other diff faces
---
 material-light-theme.el | 7 +++++--
 material-theme.el       | 6 +++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/material-light-theme.el b/material-light-theme.el
index 2099b1c..d9a157e 100644
--- a/material-light-theme.el
+++ b/material-light-theme.el
@@ -263,11 +263,14 @@
 
    `(csv-separator-face ((,class (:foreground ,orange))))
 
+   `(diff-hl-insert ((,class (:background ,green :foreground ,green))))
+   `(diff-hl-change ((,class (:background ,blue :foreground ,blue))))
+   `(diff-hl-delete ((,class (:background ,orange :foreground ,orange))))
+
    `(diff-added ((,class (:foreground ,green))))
-   `(diff-changed ((,class (:foreground ,purple))))
+   `(diff-changed ((,class (:foreground ,blue))))
    `(diff-removed ((,class (:foreground ,orange))))
    `(diff-header ((,class (:foreground ,aqua :background nil))))
-   `(diff-file-header ((,class (:foreground ,blue :background nil))))
    `(diff-hunk-header ((,class (:foreground ,purple))))
    `(diff-refine-added ((,class (:inherit diff-added :inverse-video t))))
    `(diff-refine-removed ((,class (:inherit diff-removed :inverse-video t))))
diff --git a/material-theme.el b/material-theme.el
index 795425f..f4891e4 100644
--- a/material-theme.el
+++ b/material-theme.el
@@ -259,8 +259,12 @@
 
    `(csv-separator-face ((,class (:foreground ,orange))))
 
+   `(diff-hl-insert ((,class (:background ,green :foreground ,green))))
+   `(diff-hl-change ((,class (:background ,aqua :foreground ,aqua))))
+   `(diff-hl-delete ((,class (:background ,orange :foreground ,orange))))
+
    `(diff-added ((,class (:foreground ,green))))
-   `(diff-changed ((,class (:foreground ,purple))))
+   `(diff-changed ((,class (:foreground ,aqua))))
    `(diff-removed ((,class (:foreground ,orange))))
    `(diff-header ((,class (:foreground ,aqua :background nil))))
    `(diff-file-header ((,class (:foreground ,blue :background nil))))



reply via email to

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