Skip to content

Commit

Permalink
update gitsigns
Browse files Browse the repository at this point in the history
  • Loading branch information
theJian committed Dec 18, 2023
1 parent d80388a commit e1f840c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
12 changes: 8 additions & 4 deletions lua/moonwalk/palette/light.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ local C = {
gold = '#61330e',
gold_bold = '#965c12',
gold_bolder = '#ff9d1e',
inc_search = '#f9aa43',
visual = '#ffc375',
gold_soft = '#f9aa43',
gold_softer = '#ffc375',
gold_bg = '#ffebd1',
green = '#174A24',
green_bold = '#29783b',
Expand Down Expand Up @@ -57,6 +57,8 @@ M.default = {
fg_softest = C.gray_light,

white = C.white,
gray = C.gray,
gray_dark = C.gray_dark,
primary_bold = C.primary_bold,
primary = C.primary,
alt_bg = C.alt_bg,
Expand All @@ -75,6 +77,8 @@ M.default = {
gold_bolder = C.gold_bolder,
gold_bold = C.gold_bold,
gold = C.gold,
gold_soft = C.gold_soft,
gold_softer = C.gold_softer,
gold_bg = C.gold_bg,
green_soft = C.green_soft,
green_softer = C.green_softer,
Expand All @@ -92,8 +96,8 @@ M.default = {
diff_removed = C.red,

search = C.gold_bg,
inc_search = C.inc_search,
visual = C.visual,
inc_search = C.gold_soft,
visual = C.gold_softer,
current_line = C.gray_lighter,

term_black = C.bg,
Expand Down
4 changes: 2 additions & 2 deletions lua/moonwalk/schemes/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ local function base(opts, c)

MsgArea = { bg = c.current_line },

FloatShadow = { bg = c.bg2, blend = 80 },
FloatShadowThrough = { bg = c.bg2, blend = 100 },
FloatShadow = { bg = c.bg2 },
FloatShadowThrough = { bg = c.none, blend = 100 },

MoreMsg = { fg = c.green, bold = true },
ModeMsg = { fg = c.fg, bold = true },
Expand Down
14 changes: 11 additions & 3 deletions lua/moonwalk/schemes/gitsigns.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
function gitsigns(opts, c)
return {
GitSignsAdd = { fg = c.green_soft },
GitSignsAddNr = { fg = c.green_softer, bg = c.none },
GitSignsAddNr = { fg = c.green_soft },
GitSignsAddLn = { bg = c.green_bg },
GitSignsChange = { fg = c.gold_bolder },
GitSignsChangeNr = { fg = c.green_softer, bg = c.none },
GitSignsChangeLn = { bg = c.green_bg },
GitSignsChangeNr = { fg = c.gold_softer },
GitSignsChangeLn = { bg = c.gold_bg },
GitSignsDelete = { fg = c.red_bolder },
GitSignsDeleteNr = { fg = c.red_soft, bg = c.none },
GitSignsAddPreview = { link = 'DiffAdded' },
GitSignsDeletePreview = { link = 'DiffRemoved' },
GitSignsAddInline = { link = 'DiffAdd' },
GitSignsDeleteInline = { link = 'DiffDelete' },
GitSignsChangeInline = { link = 'DiffChange' },
GitSignsDeleteVirtLn = { link = 'DiffRemoved' },
GitSignsDeleteVirtLnInLine = { link = 'DiffRemoved' },
}
end

Expand Down

0 comments on commit e1f840c

Please sign in to comment.