summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/mellow.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/conf/plugins/mellow.lua35
1 files changed, 35 insertions, 0 deletions
diff --git a/lua/conf/plugins/mellow.lua b/lua/conf/plugins/mellow.lua
new file mode 100644
index 0000000..af805ed
--- /dev/null
+++ b/lua/conf/plugins/mellow.lua
@@ -0,0 +1,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
+}