refactor: gitSigns

This commit is contained in:
Folke Lemaitre
2022-09-05 12:33:12 +02:00
parent bd4e3d58e2
commit 3c05c5ad8e

View File

@@ -41,7 +41,6 @@ function M.setup(config)
red = "#f7768e", red = "#f7768e",
red1 = "#db4b4b", red1 = "#db4b4b",
git = { change = "#6183bb", add = "#449dab", delete = "#914c54", conflict = "#bb7a61" }, git = { change = "#6183bb", add = "#449dab", delete = "#914c54", conflict = "#bb7a61" },
gitSigns = { add = "#164846", change = "#394b70", delete = "#823c41" },
} }
if config.style == "night" or config.style == "day" or vim.o.background == "light" then if config.style == "night" or config.style == "day" or vim.o.background == "light" then
colors.bg = "#1a1b26" colors.bg = "#1a1b26"
@@ -58,9 +57,9 @@ function M.setup(config)
} }
colors.gitSigns = { colors.gitSigns = {
add = util.brighten(colors.gitSigns.add, 0.2), add = util.brighten("#164846", 0.2),
change = util.brighten(colors.gitSigns.change, 0.2), change = util.brighten("#394b70", 0.2),
delete = util.brighten(colors.gitSigns.delete, 0.2), delete = util.brighten("#823c41", 0.2),
} }
colors.git.ignore = colors.dark3 colors.git.ignore = colors.dark3