fix: darken function not working
This commit is contained in:
parent
88e805af35
commit
30b6e1bdec
1 changed files with 5 additions and 5 deletions
|
|
@ -45,8 +45,8 @@ local p = {
|
|||
-- Diff Colors
|
||||
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_del = hsl("#632F34"), -- Background color for deleted lines in a diff view.
|
||||
diff_text_bg = hsl("#4A6E8E"), -- Background for specific changed text within a modified line.
|
||||
diff_text = hsl("#A9B7C6"), -- Text color for diffs, typically the default foreground.
|
||||
|
||||
-- UI Border
|
||||
|
|
@ -370,10 +370,10 @@ return lush(function()
|
|||
GitSignsChange({ fg = p.warning }),
|
||||
GitSignsDelete({ fg = p.error }),
|
||||
GitSignsCurrentLineBlame({ fg = p.comment }),
|
||||
DiffAdd({ bg = p.diff_add:darken(25) }),
|
||||
DiffChange({ bg = p.diff_mod:darken(25) }),
|
||||
DiffDelete({ bg = p.diff_del:darken(25) }),
|
||||
DiffText({ bg = p.diff_mod:darken(10) }),
|
||||
DiffAdd({ bg = p.diff_add }),
|
||||
DiffChange({ bg = p.diff_mod }),
|
||||
DiffDelete({ bg = p.diff_del }),
|
||||
DiffText({ bg = p.diff_text_bg }),
|
||||
|
||||
-- indent-blankline
|
||||
IndentBlanklineChar({ fg = p.gutter_bg }),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue