feat(version-control): improve styling of diff-hl indicators

This commit is contained in:
2021-05-15 01:00:27 +01:00
parent f50e2d925e
commit e434e41d97
2 changed files with 8 additions and 10 deletions

View File

@@ -20,9 +20,9 @@
(diff-hl-fringe-bmp-function 'siren-diff-hl-fringe-bmp-from-type)
(diff-hl-fringe-face-function 'siren-diff-hl-fringe-face-from-type)
(diff-hl-margin-symbols-alist
'((insert . "+")
(delete . "-")
(change . "=")
'((insert . "")
(delete . "")
(change . "")
(unknown . "?")
(ignored . "i")))

View File

@@ -35,20 +35,18 @@
`(siren-diff-hl-insert ((t ( :foreground ,(doom-blend 'vc-added 'bg 0.7)
:background ,(doom-color 'bg)))))
`(siren-diff-hl-delete ((t ( :foreground ,(doom-blend 'vc-deleted 'bg 0.7)
`(siren-diff-hl-delete ((t ( :foreground ,(doom-blend 'vc-deleted 'bg 0.8)
:background ,(doom-color 'bg)))))
`(siren-diff-hl-change ((t ( :foreground ,(doom-blend 'vc-modified 'bg 0.7)
:background ,(doom-color 'bg)))))
;; diff-hl-margin
`(diff-hl-margin-insert ((t ( :foreground ,(doom-blend 'vc-added 'bg 0.6)
:background ,(doom-blend 'vc-added 'bg 0.1) ))))
:background ,(doom-color 'bg)))))
`(diff-hl-margin-delete ((t ( :foreground ,(doom-blend 'vc-deleted 'bg 0.7)
:background
,(doom-blend 'vc-deleted 'bg 0.1) ))))
`(diff-hl-margin-change ((t ( :foreground ,(doom-blend 'vc-modified 'bg 0.5)
:background
,(doom-blend 'vc-modified 'bg 0.1) ))))
:background ,(doom-color 'bg)))))
`(diff-hl-margin-change ((t ( :foreground ,(doom-blend 'vc-modified 'bg 0.6)
:background ,(doom-color 'bg)))))
;; git-gutter
`(git-gutter:added ((t ( :foreground ,(doom-blend 'vc-added 'bg 0.9) ))))