Skip to content

Commit

Permalink
fix: improve diff-hl gutter readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbx committed Aug 27, 2024
1 parent 177ecee commit d7428ef
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions catppuccin-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,12 @@ FLAVOR defaults to the value of `catppuccin-flavor'."
(completions-first-difference :foreground ,ctp-text)

;; diff-hl
(diff-hl-change :inherit fringe :foreground ,ctp-blue)
(diff-hl-delete :inherit fringe :foreground ,ctp-red)
(diff-hl-insert :inherit fringe :foreground ,ctp-green)
(diff-hl-change :background ,ctp-blue
:foreground ,(catppuccin-darken ctp-blue 50))
(diff-hl-delete :background ,ctp-red
:foreground ,(catppuccin-darken ctp-red 50))
(diff-hl-insert :background ,ctp-green
:foreground ,(catppuccin-darken ctp-green 50))

;; diff-mode
(diff-header :foreground ,ctp-blue)
Expand Down

0 comments on commit d7428ef

Please sign in to comment.