From 9f0e36631257ca104d3e9f2e4caf0041a37a08f8 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 30 Oct 2023 22:23:52 +0200 Subject: Changed foreground color for ViMode and Ruler to black --- lua/plugins/heirline.lua | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'lua/plugins') diff --git a/lua/plugins/heirline.lua b/lua/plugins/heirline.lua index 11356d9..c41aff3 100644 --- a/lua/plugins/heirline.lua +++ b/lua/plugins/heirline.lua @@ -776,13 +776,19 @@ end, { Space, LSPActive, hl = { bg = colors.darkgray, force = true } }) FileInfoBlock = utils.surround({ '', '' }, function(self) return self:mode_color() -end, { FileInfoBlock, Space, hl = { bg = colors.gray, force = true } }) +end, { FileInfoBlock, Space, hl = { bg = colors.black, force = true } }) -Ruler = utils.surround({ '', '' }, colors.black, { Ruler, hl = { fg = colors.black, force = true } }) +ViMode = utils.surround({ '', '' }, function(self) + return self:mode_color() +end, { ViMode, hl = { fg = colors.black, force = true } }) + +Ruler = utils.surround({ '', '' }, function(self) + return self:mode_color() +end, { Ruler, hl = { fg = colors.black, force = true } }) local left = { { RightSpace, hl = { bg = colors.nobg, force = true } }, - { ViMode, hl = { fg = utils.get_highlight('statusline').bg, force = true } }, + { ViMode, hl = { bg = utils.get_highlight('statusline').bg, bold = false } }, { LeftSpace, hl = { bg = colors.nobg, force = true } }, { Space, hl = { bg = colors.nobg, force = true } }, { FileNameBlock, hl = { bg = colors.nobg, force = true } }, @@ -805,7 +811,7 @@ local right = { { Space, hl = { bg = colors.nobg, force = true } }, { FileInfoBlock, hl = { bg = colors.nobg, force = true } }, { RightSpace, hl = { bg = colors.nobg, force = true } }, - { Ruler, hl = { fg = utils.get_highlight('statusline').bg, force = true } }, + { Ruler, hl = { fg = utils.get_highlight('statusline').bg, bold = false } }, { LeftSpace, hl = { bg = colors.nobg, force = true } }, } @@ -814,7 +820,7 @@ local DefaultStatusline = { sections } local specialleft = { { RightSpace, hl = { bg = colors.nobg, force = true } }, - { ViMode, hl = { fg = utils.get_highlight('statusline').bg, force = true } }, + { ViMode, hl = { bg = utils.get_highlight('statusline').bg, bold = false } }, { LeftSpace, hl = { bg = colors.nobg, force = true } }, } @@ -826,7 +832,7 @@ local specialmiddle = { local specialright = { { RightSpace, hl = { bg = colors.nobg, force = true } }, - { Ruler, hl = { fg = utils.get_highlight('statusline').bg, force = true } }, + { Ruler, hl = { fg = utils.get_highlight('statusline').bg, bold = false } }, { LeftSpace, hl = { bg = colors.nobg, force = true } }, } -- cgit v1.2.3