[Emacs] Better faces for diff-mode

This commit is contained in:
Lucien Cartier-Tilet 2021-01-21 14:36:16 +01:00
parent eff1d942a8
commit 026b005cd0
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -4212,11 +4212,25 @@ Sometimes, some visual properties just dont fit right for me and I need to ed
)
(custom-theme-set-faces
'user
<<face-generate(input=diff-faces)>>
<<face-generate(input=mu4e-faces)>>
<<face-generate(input=org-faces)>>
))
#+END_SRC
**** Diff and Magit
:PROPERTIES:
:CUSTOM_ID: User-Configuration-Visual-configuration-Better-faces-Diff-6ac98986
:END:
Apparently, diff and Magit faces do not follow the nord themes color scheme, so lets redefine their background and sometimes their foreground.
#+tblname: diff-faces
| / | | |
| Name | background | foreground |
|----------------------+------------------+------------|
| ediff-current-diff-A | ,phundrak/nord11 | |
| ediff-current-diff-C | ,phundrak/nord13 | |
| ediff-current-diff-C | ,phundrak/nord14 | |
**** Mu4e
:PROPERTIES:
:CUSTOM_ID: User-Configuration-Visual-configuration-Better-faces-Mu4e-7b52d940