summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/mellow.lua
blob: af805ed96d6bb41cdbf1075b2ba48a3fb43e6b42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
return { 'mellow-theme/mellow.nvim',
  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" }
    }
  end
}