fix mellow theming
This commit is contained in:
@ -5,38 +5,46 @@ 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]
|
||||||
|
|
||||||
vim.g.mellow_highlight_overrides = {
|
if vim.g.mellow_variant == "dark" then
|
||||||
-- stop inactive windows from having a darker bg
|
vim.g.mellow_highlight_overrides = {
|
||||||
["NormalNC"] = { link = "Normal" },
|
-- stop inactive windows from having a darker bg
|
||||||
|
["NormalNC"] = { link = "Normal" },
|
||||||
|
|
||||||
-- make splits look cleaner
|
-- revert change with statusline coloring
|
||||||
["WinSeparator"] = { link = "Normal" },
|
["StatusLine"] = { fg = c.white, bg = c.gray01 },
|
||||||
|
["StatusLineNC"] = { fg = c.bg_dark },
|
||||||
|
|
||||||
-- make floats darker
|
-- make splits look cleaner
|
||||||
["NormalFloat"] = { fg = c.fg, bg = "#111111" },
|
["WinSeparator"] = { fg = c.gray01 },
|
||||||
["FloatBorder"] = { link = "NormalFloat" },
|
|
||||||
|
|
||||||
-- make diagnostics have an undercurl
|
-- make floats darker
|
||||||
["DiagnosticUnderlineError"] = { fg = c.red, undercurl = true },
|
["NormalFloat"] = { fg = c.fg, bg = "#111111" },
|
||||||
["DiagnosticUnderlineWarn"] = { fg = c.yellow, undercurl = true },
|
["FloatBorder"] = { link = "NormalFloat" },
|
||||||
["DiagnosticUnderlineInfo"] = { fg = c.blue, undercurl = true },
|
|
||||||
["DiagnosticUnderlineHint"] = { fg = c.cyan, undercurl = true },
|
|
||||||
|
|
||||||
-- make blink actually look nice
|
-- make diagnostics have an undercurl
|
||||||
["BlinkCmpMenu"] = { link = "NormalFloat" },
|
["DiagnosticUnderlineError"] = { fg = c.red, undercurl = true },
|
||||||
["BlinkCmpMenuBorder"] = { link = "BlinkCmpMenu" },
|
["DiagnosticUnderlineWarn"] = { fg = c.yellow, undercurl = true },
|
||||||
["BlinkCmpMenuSelection"] = { bg = c.gray01 },
|
["DiagnosticUnderlineInfo"] = { fg = c.blue, undercurl = true },
|
||||||
["BlinkCmpLabelDeprecated"] = { link = "CmpItemAbbrDeprecated" },
|
["DiagnosticUnderlineHint"] = { fg = c.cyan, undercurl = true },
|
||||||
|
["DiagnosticHint"] = { fg = c.cyan }, -- revert
|
||||||
|
|
||||||
-- telescope styling so I can see when coding outside (real)
|
-- make blink actually look nice
|
||||||
["TelescopeResultsNormal"] = { bg = c.bg_dark },
|
["BlinkCmpMenu"] = { link = "NormalFloat" },
|
||||||
["TelescopeResultsBorder"] = { link = "TelescopeResultsNormal" },
|
["BlinkCmpMenuBorder"] = { link = "BlinkCmpMenu" },
|
||||||
["TelescopeResultsTitle"] = {
|
["BlinkCmpMenuSelection"] = { bg = c.gray01 },
|
||||||
bg = core.color.copyhl("TelescopeResultsNormal").background,
|
["BlinkCmpLabelDeprecated"] = { link = "CmpItemAbbrDeprecated" },
|
||||||
fg = core.color.copyhl("TelescopeResultsNormal").background
|
["BlinkCmpLabelMatch"] = { link = "NormalFloat" }, -- reverted
|
||||||
},
|
|
||||||
["TelescopePreviewNormal"] = { link = "NormalFloat" },
|
-- telescope styling so I can see when coding outside (real)
|
||||||
["TelescopePreviewBorder"] = { link = "TelescopePreviewNormal" }
|
["TelescopeResultsNormal"] = { bg = c.bg_dark },
|
||||||
}
|
["TelescopeResultsBorder"] = { link = "TelescopeResultsNormal" },
|
||||||
|
["TelescopeResultsTitle"] = {
|
||||||
|
bg = core.color.copyhl("TelescopeResultsNormal").background,
|
||||||
|
fg = core.color.copyhl("TelescopeResultsNormal").background
|
||||||
|
},
|
||||||
|
["TelescopePreviewNormal"] = { link = "NormalFloat" },
|
||||||
|
["TelescopePreviewBorder"] = { link = "TelescopePreviewNormal" }
|
||||||
|
}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user