return { 'mellow-theme/mellow.nvim', disable = vim.version().minor < 8, 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 = c.bg_dark }, ["FloatBorder"] = { link = "NormalFloat" }, -- neorg headings, looks extra good with lukas-reineke/headlines.nvim ["@neorg.headings.1.title"] = { fg = c.yellow, bg = "#2a211c" }, ["@neorg.headings.1.icon"] = { link = "@neorg.headings.1.title" }, ["@neorg.headings.2.title"] = { fg = c.blue, bg = '#201e25' }, ["@neorg.headings.2.icon"] = { link = "@neorg.headings.2.title" }, ["@neorg.headings.3.title"] = { fg = c.cyan, bg = '#2b1b20' }, ["@neorg.headings.3.icon"] = { link = "@neorg.headings.3.title" }, ["@neorg.headings.4.title"] = { fg = c.green, bg = '#1d201e' }, ["@neorg.headings.4.icon"] = { link = "@neorg.headings.4.title" }, ["@neorg.headings.5.title"] = { fg = c.magenta, bg = '#251a21' }, ["@neorg.headings.5.icon"] = { link = "@neorg.headings.5.title" }, ["@neorg.headings.6.title"] = { fg = c.white, bg = '#212126' }, ["@neorg.headings.6.icon"] = { link = "@neorg.headings.6.title" }, -- make blink actually look nice ["BlinkCmpMenu"] = { bg = c.bg_dark }, ["BlinkCmpMenuBorder"] = { link = "BlinkCmpMenu" }, ["BlinkCmpMenuSelection"] = { bg = c.gray02 } } end }