Add bg-diff-context palette entry; implement it

This commit is contained in:
Protesilaos Stavrou 2023-02-04 09:09:31 +02:00
parent 1ee4c9576f
commit 21099418eb
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
7 changed files with 17 additions and 5 deletions

View file

@ -203,6 +203,8 @@ standard).")
(fg-removed "#553d00")
(fg-removed-intense "#7f6f00")
(bg-diff-context "#f3f3f3")
;;; Paren match
(bg-paren-match "#5fcfff")

View file

@ -201,6 +201,8 @@ which corresponds to a minimum contrast in relative luminance of
(fg-removed "#8f1313")
(fg-removed-intense "#aa2222")
(bg-diff-context "#f3f3f3")
;;; Paren match
(bg-paren-match "#5fcfff")

View file

@ -200,6 +200,8 @@ which corresponds to a minimum contrast in relative luminance of
(fg-removed "#8f1313")
(fg-removed-intense "#aa2222")
(bg-diff-context "#efe9df")
;;; Paren match
(bg-paren-match "#7fdfcf")

View file

@ -2126,10 +2126,10 @@ FG and BG are the main colors."
`(ediff-current-diff-Ancestor ((,c :background ,bg-region))) ; TODO 2022-11-29: Needs review
`(ediff-current-diff-B ((,c :inherit diff-added)))
`(ediff-current-diff-C ((,c :inherit diff-changed)))
`(ediff-even-diff-A ((,c :background ,bg-dim)))
`(ediff-even-diff-Ancestor ((,c :background ,bg-dim)))
`(ediff-even-diff-B ((,c :background ,bg-dim)))
`(ediff-even-diff-C ((,c :background ,bg-dim)))
`(ediff-even-diff-A ((,c :background ,bg-diff-context)))
`(ediff-even-diff-Ancestor ((,c :background ,bg-diff-context)))
`(ediff-even-diff-B ((,c :background ,bg-diff-context)))
`(ediff-even-diff-C ((,c :background ,bg-diff-context)))
`(ediff-fine-diff-A ((,c :inherit diff-refine-removed)))
`(ediff-fine-diff-Ancestor ((,c :inherit diff-refine-cyan)))
`(ediff-fine-diff-B ((,c :inherit diff-refine-added)))
@ -2715,7 +2715,7 @@ FG and BG are the main colors."
`(magit-diff-base ((,c :background ,bg-changed-faint :foreground ,fg-changed)))
`(magit-diff-base-highlight ((,c :background ,bg-changed :foreground ,fg-changed)))
`(magit-diff-context ((,c :inherit shadow)))
`(magit-diff-context-highlight ((,c :background ,bg-dim)))
`(magit-diff-context-highlight ((,c :background ,bg-diff-context)))
`(magit-diff-file-heading ((,c :inherit bold :foreground ,accent-0)))
`(magit-diff-file-heading-highlight ((,c :inherit magit-diff-file-heading :background ,bg-inactive)))
`(magit-diff-file-heading-selection ((,c :inherit bold :background ,bg-hover-secondary)))

View file

@ -202,6 +202,8 @@ standard).")
(fg-removed "#d4d48f")
(fg-removed-intense "#d0b05f")
(bg-diff-context "#1a1a1a")
;;; Paren match
(bg-paren-match "#2f7f9f")

View file

@ -200,6 +200,8 @@ which corresponds to a minimum contrast in relative luminance of
(fg-removed "#ffbfbf")
(fg-removed-intense "#ff9095")
(bg-diff-context "#1a1a1a")
;;; Paren match
(bg-paren-match "#2f7f9f")

View file

@ -194,6 +194,8 @@ which corresponds to a minimum contrast in relative luminance of
(fg-removed "#ffbfbf")
(fg-removed-intense "#ff9095")
(bg-diff-context "#1a1f30")
;;; Uncommon accent backgrounds
(bg-ochre "#442c2f")