From 77a28aea38726dc4a3fcac208cc9e7a07c4f6636 Mon Sep 17 00:00:00 2001
From: Jessie Hildebrandt <jessieh@jessieh.net>
Date: Thu, 22 Dec 2022 06:10:01 -0500
Subject: [PATCH] Tweak magit diff faces

---
 adwaita-dark-theme.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/adwaita-dark-theme.el b/adwaita-dark-theme.el
index 25d7bb9..71cb372 100644
--- a/adwaita-dark-theme.el
+++ b/adwaita-dark-theme.el
@@ -658,12 +658,12 @@
    `(magit-branch-remote ((,class (:foreground ,blue))))
    `(magit-cherry-equivalent ((,class (:foreground ,violet))))
    `(magit-cherry-unmatched ((,class (:foreground ,cyan))))
-   `(magit-diff-added ((,class (:foreground ,teal))))
-   `(magit-diff-added-highlight ((,class (:inherit (magit-diff-added hl-line)))))
-   `(magit-diff-removed ((,class (:foreground ,red))))
-   `(magit-diff-removed-highlight ((,class (:inherit (magit-diff-removed hl-line)))))
-   `(magit-diff-base ((,class (:foreground ,yellow))))
-   `(magit-diff-base-highlight ((,class (:inherit (magit-diff-base hl-line)))))
+   `(magit-diff-added ((,class (:background ,base-0 :foreground ,teal))))
+   `(magit-diff-removed ((,class (:background ,base-0 :foreground ,red))))
+   `(magit-diff-base ((,class (:background ,base-0 :foreground ,yellow))))
+   `(magit-diff-added-highlight ((,class (:background ,base-2 :inherit magit-diff-added))))
+   `(magit-diff-removed-highlight ((,class (:background ,base-2 :inherit magit-diff-removed))))
+   `(magit-diff-base-highlight ((,class (:background ,base-2 :inherit magit-diff-base))))
    `(magit-diff-context ((,class (:foreground ,fg-alt))))
    `(magit-diff-context-highlight ((,class (:inherit hl-line :foreground ,base-6))))
    `(magit-diff-file-heading ((,class (:foreground ,fg :extend t :box ,(when flat-button-available-p '(:line-width 2 :style flat-button))))))