Skip to content

Commit

Permalink
feat: style faces for changed parts of diffs
Browse files Browse the repository at this point in the history
Not sure where these are used, never seen them in use before but it's
nice to have them styled in case external packages use them.
  • Loading branch information
jtbx committed Aug 13, 2024
1 parent 95269f7 commit a28936f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions catppuccin-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ or `mocha'."
(diff-indicator-removed :foreground ,ctp-red)
(diff-refine-added :background ,(catppuccin-darken ctp-green 40))
(diff-refine-removed :background ,(catppuccin-darken ctp-red 40))
(diff-refine-changed :background ,ctp-yellow
:foreground ,ctp-base)

;; eshell
(eshell-ls-archive :foreground ,ctp-mauve)
Expand Down Expand Up @@ -1100,6 +1102,7 @@ or `mocha'."
:background nil)
(smerge-refined-removed :inherit diff-refine-removed
:background nil)
(smerge-base :inherit diff-refine-changed :background nil)

;; swiper
;;(swiper-line-face :inherit swiper-match-face1)
Expand Down

0 comments on commit a28936f

Please sign in to comment.