fix: color scheme that used hsl for dff
This commit is contained in:
parent
a430881a53
commit
88e805af35
1 changed files with 5 additions and 4 deletions
|
|
@ -45,6 +45,7 @@ local p = {
|
||||||
-- Diff Colors
|
-- Diff Colors
|
||||||
diff_add = hsl("#4A8F4A"), -- Background color for added lines in a diff view.
|
diff_add = hsl("#4A8F4A"), -- Background color for added lines in a diff view.
|
||||||
diff_mod = hsl("#385570"), -- Background color for modified lines in a diff view.
|
diff_mod = hsl("#385570"), -- Background color for modified lines in a diff view.
|
||||||
|
|
||||||
diff_del = hsl("#632F34"), -- Background color for deleted lines in a diff view.
|
diff_del = hsl("#632F34"), -- Background color for deleted lines in a diff view.
|
||||||
diff_text = hsl("#A9B7C6"), -- Text color for diffs, typically the default foreground.
|
diff_text = hsl("#A9B7C6"), -- Text color for diffs, typically the default foreground.
|
||||||
|
|
||||||
|
|
@ -369,10 +370,10 @@ return lush(function()
|
||||||
GitSignsChange({ fg = p.warning }),
|
GitSignsChange({ fg = p.warning }),
|
||||||
GitSignsDelete({ fg = p.error }),
|
GitSignsDelete({ fg = p.error }),
|
||||||
GitSignsCurrentLineBlame({ fg = p.comment }),
|
GitSignsCurrentLineBlame({ fg = p.comment }),
|
||||||
DiffAdd({ bg = hsl(p.diff_add):darken(25) }),
|
DiffAdd({ bg = p.diff_add:darken(25) }),
|
||||||
DiffChange({ bg = hsl(p.diff_mod):darken(25) }),
|
DiffChange({ bg = p.diff_mod:darken(25) }),
|
||||||
DiffDelete({ bg = hsl(p.diff_del):darken(25) }),
|
DiffDelete({ bg = p.diff_del:darken(25) }),
|
||||||
DiffText({ bg = hsl(p.diff_mod):darken(10) }),
|
DiffText({ bg = p.diff_mod:darken(10) }),
|
||||||
|
|
||||||
-- indent-blankline
|
-- indent-blankline
|
||||||
IndentBlanklineChar({ fg = p.gutter_bg }),
|
IndentBlanklineChar({ fg = p.gutter_bg }),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue