Ease up diff backgrounds (#104)

Lower the blend intensity to leave sufficient colour difference for the eye to catch on.
This commit is contained in:
Slotos 2022-11-09 03:39:38 +02:00 committed by GitHub
commit 02fa3a0368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,10 +29,10 @@ function M.get(config)
CursorLineNr = { fg = p.text },
DarkenedPanel = { bg = groups.panel },
DarkenedStatusline = { bg = groups.panel },
DiffAdd = { bg = blend(groups.git_add, groups.background, 0.5) },
DiffAdd = { bg = blend(groups.git_add, groups.background, 0.2) },
DiffChange = { bg = p.overlay },
DiffDelete = { bg = blend(groups.git_delete, groups.background, 0.5) },
DiffText = { bg = blend(groups.git_text, groups.background, 0.5) },
DiffDelete = { bg = blend(groups.git_delete, groups.background, 0.2) },
DiffText = { bg = blend(groups.git_text, groups.background, 0.2) },
diffAdded = { link = 'DiffAdd' },
diffChanged = { link = 'DiffChange' },
diffRemoved = { link = 'DiffDelete' },