[Emacs] Better faces for diff-mode
This commit is contained in:
		
							parent
							
								
									eff1d942a8
								
							
						
					
					
						commit
						026b005cd0
					
				@ -4212,11 +4212,25 @@ Sometimes, some visual properties just don’t 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 theme’s color scheme, so let’s 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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user