update some hlgroups for stl

v2.5
siduck 2 years ago
parent 4f54e4d4db
commit eafffd4c1f

@ -51,7 +51,7 @@ local cmp_ui = require("nvconfig").ui.cmp
local styles = {
default = {
CmpBorder = { fg = colors[cmp_ui.border_color] },
CmpBorder = { fg = colors.grey_fg },
},
atom = {
@ -117,9 +117,4 @@ end
highlights = vim.tbl_deep_extend("force", highlights, styles[cmp_ui.style] or {})
highlights = vim.tbl_deep_extend("force", highlights, item_kinds)
if cmp_ui.selected_item_bg == "simple" then
highlights.CmpSel =
{ fg = colors.white, bg = (highlights.CmpPmenu.bg == colors.black2 and colors.grey or colors.one_bg3), bold = true }
end
return highlights

@ -18,21 +18,16 @@ local M = {
bold = true,
},
St_LspStatus = {
St_Lsp = {
fg = colors.nord_blue,
bg = statusline_bg,
},
St_LspProgress = {
St_LspMsg = {
fg = colors.green,
bg = statusline_bg,
},
St_LspStatus_Icon = {
fg = colors.black,
bg = colors.nord_blue,
},
St_EmptySpace = {
fg = colors.grey,
bg = colors.lightbg,
@ -43,7 +38,7 @@ local M = {
bg = statusline_bg,
},
St_file_info = {
St_file = {
bg = colors.lightbg,
fg = colors.white,
},

@ -36,14 +36,12 @@ local M = {
bg = "none",
},
St_LspProgress = {
St_LspMsg = {
fg = colors.green,
bg = "none",
},
St_LspStatus_Icon = {
fg = colors.black,
bg = colors.nord_blue,
St_Lsp = {
fg = colors.green,
},
St_EmptySpace = {
@ -55,7 +53,7 @@ local M = {
fg = colors.black,
},
St_file_info = {
St_file = {
fg = colors.white,
bg = "none",
},
@ -72,9 +70,9 @@ local M = {
}
local function genModes_hl(modename, col)
M["St_" .. modename .. "Mode"] = { fg = colors.black, bg = colors[col], bold = true }
M["St_" .. modename .. "ModeSep"] = { fg = colors[col], bg = colors.black, bold = true }
M["St_" .. modename .. "modeText"] = { fg = colors[col], bg = colors.one_bg, bold = true }
M["St_" .. modename .. "Mode"] = { fg = colors.black, bg = colors[col] }
M["St_" .. modename .. "ModeSep"] = { fg = colors[col], bg = colors.black }
M["St_" .. modename .. "modeText"] = { fg = colors[col], bg = colors.one_bg }
end
genModes_hl("Normal", "blue")

@ -19,7 +19,7 @@ local M = {
St_Mode = {
fg = light_grey,
bg = colors.one_bg3,
bg = colors.one_bg2,
},
StText = {

@ -26,33 +26,24 @@ local M = {
St_lspError = {
fg = colors.red,
bg = statusline_bg,
bold = true,
},
St_lspWarning = {
fg = colors.yellow,
bg = statusline_bg,
bold = true,
},
St_LspHints = {
fg = colors.purple,
bg = statusline_bg,
bold = true,
},
St_LspInfo = {
St_Lsp = {
fg = colors.green,
bg = statusline_bg,
bold = true,
},
St_LspStatus = {
fg = colors.green,
bg = statusline_bg,
},
St_LspProgress = {
St_LspMsg = {
fg = colors.red,
bg = statusline_bg,
},
@ -62,11 +53,6 @@ local M = {
bg = colors.one_bg3,
},
St_encode = {
fg = colors.orange,
bg = statusline_bg,
},
St_ft = {
fg = colors.blue,
bg = statusline_bg,

Loading…
Cancel
Save