From d30df22ff2c949d4b6445b0f4a091d8005301656 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 8 Dec 2023 22:07:20 +0100 Subject: colors/twilight256.vim: Increase contrast of diff background colours Change the diff background colours from their defaults to make the text in the foreground easier to read. --- colors/twilight256.vim | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/colors/twilight256.vim b/colors/twilight256.vim index 0d5d58b..83e7114 100644 --- a/colors/twilight256.vim +++ b/colors/twilight256.vim @@ -37,6 +37,11 @@ " * Use a lighter grey for comments to increase contrast and make text " easier to read. " +" 2023.12.08: +" * Use darker background colours for DiffAdd, DiffChange, and DiffText to +" increase contrast and reduce vibration relative to the foreground +" text. This makes the text with diff highlighting easier to read. +" set background=dark if version > 580 @@ -269,10 +274,10 @@ if has("gui_running") || &t_Co == 88 || &t_Co == 256 "call X("Cursor", "708090", "f0e68c", "") "CursorIM "Directory - "DiffAdd - "DiffChange + highlight DiffAdd term=bold ctermbg=17 guibg=DarkBlue + highlight DiffChange term=bold ctermbg=53 guibg=DarkMagenta "DiffDelete - "DiffText + highlight DiffText term=reverse cterm=bold ctermbg=1 gui=bold guibg=Red "ErrorMsg "call X("VertSplit", "c2bfa5", "7f7f7f", "reverse") "call X("Folded", "ffd700", "4d4d4d", "") -- cgit v1.2.3