aboutsummaryrefslogtreecommitdiff
path: root/ef-themes.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2022-08-22 15:41:10 +0300
committerProtesilaos Stavrou <info@protesilaos.com>2022-08-22 15:41:10 +0300
commit21fc1761e8e5e7fc090dcebc8399c1c9f7f9f629 (patch)
tree4239208c61b991f913ef47a0edf2cabc036a1f0e /ef-themes.el
parent40a2f56761d9ea15246b3053a775744d68a1877e (diff)
Make diff-mode hunk headers stand out a bit more
This way they look like headings in the structure. Otherwise they are lost in the context. I would have used ':extend t' here, but the underlying construct needs to cover the newline character for it to work.
Diffstat (limited to 'ef-themes.el')
-rw-r--r--ef-themes.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/ef-themes.el b/ef-themes.el
index b48d0d4..514dfcf 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -710,9 +710,9 @@ Helper function for `ef-themes-preview-colors'."
`(diff-context (( )))
`(diff-error ((,c :inherit error)))
`(diff-file-header ((,c :inherit bold)))
- `(diff-function ((,c :inherit shadow)))
+ `(diff-function ((,c :inherit bold)))
`(diff-header (( )))
- `(diff-hunk-header ((,c :inherit bold)))
+ `(diff-hunk-header ((,c :inherit bold :background ,bg-alt)))
`(diff-index ((,c :inherit italic)))
`(diff-nonexistent ((,c :inherit bold)))
;;;; dired