fix: diffs

dev-remaster
Pocco81 3 years ago
parent a33c884701
commit a693442c0b

@ -2,9 +2,9 @@ local M = {}
function M.get(cp) function M.get(cp)
return { return {
GitGutterAdd = { fg = cp.diff.add }, GitGutterAdd = { fg = cp.catppuccino10 },
GitGutterChange = { fg = cp.diff.change }, GitGutterChange = { fg = cp.catppuccino9 },
GitGutterDelete = { fg = cp.diff.delete }, GitGutterDelete = { fg = cp.catppuccino6 },
} }
end end
return M return M

@ -2,9 +2,9 @@ local M = {}
function M.get(cp) function M.get(cp)
return { return {
GitSignsAdd = { fg = cp.diff.add, bg = cnf.transparency and cp.none or cp.catppuccino2 }, -- diff mode: Added line |diff.txt| GitSignsAdd = { fg = cp.catppuccino10, bg = cnf.transparency and cp.none or cp.catppuccino2 }, -- diff mode: Added line |diff.txt|
GitSignsChange = { fg = cp.diff.change, bg = cnf.transparency and cp.none or cp.catppuccino2 }, -- diff mode: Changed line |diff.txt| GitSignsChange = { fg = cp.catppuccino9, bg = cnf.transparency and cp.none or cp.catppuccino2 }, -- diff mode: Changed line |diff.txt|
GitSignsDelete = { fg = cp.diff.remove, bg = cnf.transparency and cp.none or cp.catppuccino2 }, -- diff mode: Deleted line |diff.txt| GitSignsDelete = { fg = cp.catppuccino6, bg = cnf.transparency and cp.none or cp.catppuccino2 }, -- diff mode: Deleted line |diff.txt|
} }
end end

@ -8,8 +8,8 @@ function M.get(cp)
NeogitHunkHeader = { bg = cp.catppuccino10, fg = cp.catppuccino11 }, NeogitHunkHeader = { bg = cp.catppuccino10, fg = cp.catppuccino11 },
NeogitHunkHeaderHighlight = { bg = cp.catppuccino13, fg = cp.catppuccino10 }, NeogitHunkHeaderHighlight = { bg = cp.catppuccino13, fg = cp.catppuccino10 },
NeogitDiffContextHighlight = { bg = util.darken(cp.catppuccino13, 0.5), fg = cp.catppuccino0 }, NeogitDiffContextHighlight = { bg = util.darken(cp.catppuccino13, 0.5), fg = cp.catppuccino0 },
NeogitDiffDeleteHighlight = { fg = cp.diff.delete, bg = cp.catppuccino2 }, NeogitDiffDeleteHighlight = { fg = cp.catppuccino6, bg = cp.catppuccino2 },
NeogitDiffAddHighlight = { fg = cp.diff.add, bg = cp.catppuccino2 }, NeogitDiffAddHighlight = { fg = cp.catppuccino10, bg = cp.catppuccino2 },
} }
end end

@ -20,9 +20,9 @@ function M.get(cp)
NvimTreeRootFolder = { fg = root_dir_color, style = "bold" }, NvimTreeRootFolder = { fg = root_dir_color, style = "bold" },
NvimTreeSymlink = { fg = cp.catppuccino5 }, NvimTreeSymlink = { fg = cp.catppuccino5 },
NvimTreeStatuslineNc = { fg = cp.black, bg = cp.black }, NvimTreeStatuslineNc = { fg = cp.black, bg = cp.black },
NvimTreeGitDirty = { fg = cp.diff.change }, NvimTreeGitDirty = { fg = cp.catppuccino9 },
NvimTreeGitNew = { fg = cp.diff.add }, NvimTreeGitNew = { fg = cp.catppuccino10 },
NvimTreeGitDeleted = { fg = cp.diff.delete }, NvimTreeGitDeleted = { fg = cp.catppuccino6 },
NvimTreeSpecialFile = { fg = cp.catppuccino3 }, NvimTreeSpecialFile = { fg = cp.catppuccino3 },
NvimTreeImageFile = { fg = cp.catppuccino11 }, NvimTreeImageFile = { fg = cp.catppuccino11 },
NvimTreeOpenedFile = { fg = cp.catppuccino5 }, NvimTreeOpenedFile = { fg = cp.catppuccino5 },

@ -142,18 +142,18 @@ local function get_base()
illuminatedWord = { bg = cp.catppuccino13 }, illuminatedWord = { bg = cp.catppuccino13 },
illuminatedCurWord = { bg = cp.catppuccino13 }, illuminatedCurWord = { bg = cp.catppuccino13 },
-- diff -- diff
diffAdded = { fg = cp.diff.add }, diffAdded = { fg = cp.catppuccino10 },
diffRemoved = { fg = cp.diff.delete }, diffRemoved = { fg = cp.catppuccino6 },
diffChanged = { fg = cp.diff.change }, diffChanged = { fg = cp.catppuccino9 },
diffOldFile = { fg = cp.catppuccino9 }, diffOldFile = { fg = cp.catppuccino9 },
diffNewFile = { fg = cp.catppuccino7 }, diffNewFile = { fg = cp.catppuccino7 },
diffFile = { fg = cp.catppuccino10 }, diffFile = { fg = cp.catppuccino10 },
diffLine = { fg = cp.catppuccino12 }, diffLine = { fg = cp.catppuccino12 },
diffIndexLine = { fg = cp.catppuccino5 }, diffIndexLine = { fg = cp.catppuccino5 },
DiffAdd = { fg = cp.diff.add, bg = cp.catppuccino2 }, -- diff mode: Added line |diff.txt| DiffAdd = { fg = cp.catppuccino10, bg = cp.catppuccino2 }, -- diff mode: Added line |diff.txt|
DiffChange = { fg = cp.diff.change, bg = cp.catppuccino2 }, -- diff mode: Changed line |diff.txt| DiffChange = { fg = cp.catppuccino9, bg = cp.catppuccino2 }, -- diff mode: Changed line |diff.txt|
DiffDelete = { fg = cp.diff.delete, bg = cp.catppuccino2 }, -- diff mode: Deleted line |diff.txt| DiffDelete = { fg = cp.catppuccino6, bg = cp.catppuccino2 }, -- diff mode: Deleted line |diff.txt|
DiffText = { fg = cp.diff.text, bg = cp.catppuccino2 }, -- diff mode: Changed text within a changed line |diff.txt| DiffText = { fg = cp.catppuccino10, bg = cp.catppuccino2 }, -- diff mode: Changed text within a changed line |diff.txt|
-- NeoVim -- NeoVim
healthError = { fg = cp.error }, healthError = { fg = cp.error },
healthSuccess = { fg = cp.catppuccino8 }, healthSuccess = { fg = cp.catppuccino8 },

Loading…
Cancel
Save