fix mellow theming
This commit is contained in:
@ -5,12 +5,17 @@ return { "mellow-theme/mellow.nvim",
|
|||||||
vim.g.mellow_variant = "dark"
|
vim.g.mellow_variant = "dark"
|
||||||
local c = require("mellow.colors")[vim.g.mellow_variant]
|
local c = require("mellow.colors")[vim.g.mellow_variant]
|
||||||
|
|
||||||
|
if vim.g.mellow_variant == "dark" then
|
||||||
vim.g.mellow_highlight_overrides = {
|
vim.g.mellow_highlight_overrides = {
|
||||||
-- stop inactive windows from having a darker bg
|
-- stop inactive windows from having a darker bg
|
||||||
["NormalNC"] = { link = "Normal" },
|
["NormalNC"] = { link = "Normal" },
|
||||||
|
|
||||||
|
-- revert change with statusline coloring
|
||||||
|
["StatusLine"] = { fg = c.white, bg = c.gray01 },
|
||||||
|
["StatusLineNC"] = { fg = c.bg_dark },
|
||||||
|
|
||||||
-- make splits look cleaner
|
-- make splits look cleaner
|
||||||
["WinSeparator"] = { link = "Normal" },
|
["WinSeparator"] = { fg = c.gray01 },
|
||||||
|
|
||||||
-- make floats darker
|
-- make floats darker
|
||||||
["NormalFloat"] = { fg = c.fg, bg = "#111111" },
|
["NormalFloat"] = { fg = c.fg, bg = "#111111" },
|
||||||
@ -21,12 +26,14 @@ return { "mellow-theme/mellow.nvim",
|
|||||||
["DiagnosticUnderlineWarn"] = { fg = c.yellow, undercurl = true },
|
["DiagnosticUnderlineWarn"] = { fg = c.yellow, undercurl = true },
|
||||||
["DiagnosticUnderlineInfo"] = { fg = c.blue, undercurl = true },
|
["DiagnosticUnderlineInfo"] = { fg = c.blue, undercurl = true },
|
||||||
["DiagnosticUnderlineHint"] = { fg = c.cyan, undercurl = true },
|
["DiagnosticUnderlineHint"] = { fg = c.cyan, undercurl = true },
|
||||||
|
["DiagnosticHint"] = { fg = c.cyan }, -- revert
|
||||||
|
|
||||||
-- make blink actually look nice
|
-- make blink actually look nice
|
||||||
["BlinkCmpMenu"] = { link = "NormalFloat" },
|
["BlinkCmpMenu"] = { link = "NormalFloat" },
|
||||||
["BlinkCmpMenuBorder"] = { link = "BlinkCmpMenu" },
|
["BlinkCmpMenuBorder"] = { link = "BlinkCmpMenu" },
|
||||||
["BlinkCmpMenuSelection"] = { bg = c.gray01 },
|
["BlinkCmpMenuSelection"] = { bg = c.gray01 },
|
||||||
["BlinkCmpLabelDeprecated"] = { link = "CmpItemAbbrDeprecated" },
|
["BlinkCmpLabelDeprecated"] = { link = "CmpItemAbbrDeprecated" },
|
||||||
|
["BlinkCmpLabelMatch"] = { link = "NormalFloat" }, -- reverted
|
||||||
|
|
||||||
-- telescope styling so I can see when coding outside (real)
|
-- telescope styling so I can see when coding outside (real)
|
||||||
["TelescopeResultsNormal"] = { bg = c.bg_dark },
|
["TelescopeResultsNormal"] = { bg = c.bg_dark },
|
||||||
@ -39,4 +46,5 @@ return { "mellow-theme/mellow.nvim",
|
|||||||
["TelescopePreviewBorder"] = { link = "TelescopePreviewNormal" }
|
["TelescopePreviewBorder"] = { link = "TelescopePreviewNormal" }
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
end
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user