1
Fork 0

Lots of theming stuff

This commit is contained in:
Matei Adriel 2023-08-28 18:18:26 +03:00
commit 4e694ab3d7
No known key found for this signature in database
20 changed files with 152 additions and 69 deletions
dotfiles/neovim/lua/my/plugins/themes

View file

@ -0,0 +1,22 @@
local H = require("my.plugins.themes.helpers")
local T = require("nix.theme")
local M = {
"uloco/bluloco.nvim",
lazy = false,
dependencies = { "rktjmp/lush.nvim" },
enabled = H.theme_contains("Bluloco"),
}
function M.config()
local bluloco = require("bluloco")
bluloco.setup({
transparent = T.transparency.enable,
style = H.variant("Bluloco"),
})
vim.cmd("colorscheme bluloco")
end
return M

View file

@ -1,4 +1,5 @@
local H = require("my.plugins.themes.helpers")
local T = require("nix.theme")
local M = {
"catppuccin/nvim",
@ -12,7 +13,7 @@ function M.config()
vim.g.catppuccin_flavour = H.variant("Catppuccin")
catppuccin.setup({
transparent_background = true,
transparent_background = T.transparency.enable,
integrations = { nvimtree = true, telescope = true },
})
@ -20,6 +21,10 @@ function M.config()
vim.cmd([[highlight NotifyINFOTitle guifg=#d6b20f]])
vim.cmd("colorscheme catppuccin")
if T.transparency.enable then
vim.cmd([[highlight FloatBorder blend=0]])
end
end
return M

View file

@ -1,4 +1,5 @@
return {
require("my.plugins.themes.catppuccin"),
require("my.plugins.themes.rosepine"),
require("my.plugins.themes.bluloco"),
}