return { "mellow-theme/mellow.nvim", disable = not vim.fn.has("nvim-0.8.0"), requires = "nvim-treesitter/nvim-treesitter", function() vim.g.mellow_variant = "dark" local c = require("mellow.colors")[vim.g.mellow_variant] vim.g.mellow_highlight_overrides = { -- stop inactive windows from having a darker bg ["NormalNC"] = { link = "Normal" }, -- make floats darker ["NormalFloat"] = { fg = c.fg, bg = "#111111" }, ["FloatBorder"] = { link = "NormalFloat" }, -- make diagnostics have an undercurl ["DiagnosticUnderlineError"] = { fg = c.red, undercurl = true }, ["DiagnosticUnderlineWarn"] = { fg = c.yellow, undercurl = true }, ["DiagnosticUnderlineInfo"] = { fg = c.blue, undercurl = true }, ["DiagnosticUnderlineHint"] = { fg = c.cyan, undercurl = true }, -- make blink actually look nice ["BlinkCmpMenu"] = { link = "NormalFloat" }, ["BlinkCmpMenuBorder"] = { link = "BlinkCmpMenu" }, ["BlinkCmpMenuSelection"] = { bg = c.gray01 }, ["BlinkCmpLabelDeprecated"] = { link = "CmpItemAbbrDeprecated" } } end }