Skip to content

Commit

Permalink
fix: improved git signs colors
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 14, 2021
1 parent b5a9a78 commit 1e7f849
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lua/tokyonight/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function M.setup(config)
red = "#f7768e",
red1 = "#db4b4b",
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
colors.bg = "#1a1b26"
Expand All @@ -56,9 +57,9 @@ function M.setup(config)
}

colors.gitSigns = {
add = util.brighten(colors.diff.add, 0.2),
change = util.brighten(colors.diff.change, 0.2),
delete = util.brighten(colors.diff.delete, 0.2),
add = util.brighten(colors.gitSigns.add, 0.2),
change = util.brighten(colors.gitSigns.change, 0.2),
delete = util.brighten(colors.gitSigns.delete, 0.2),
}

colors.git.ignore = colors.dark3
Expand Down

0 comments on commit 1e7f849

Please sign in to comment.