update themeing to rose-pine and tokyonight

This commit is contained in:
Carlos Sousa 2024-12-24 16:19:26 +01:00
parent a325458251
commit b567178136
3 changed files with 49 additions and 22 deletions

View File

@ -0,0 +1,46 @@
function color_my_vim(color)
color = color or "rose-pine"
vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
end
return {
{
"rose-pine/neovim",
name = "rose-pine",
config = function()
local rose = require('rose-pine')
rose.setup({
variant = "main",
dim_inactive_windows = true,
styles = {
transparency = false,
},
highlight_groups = {
TelescopeNormal = { fg = "subtle", bg = "overlay" },
TelescopeSelection = { fg = "text", bg = "highlight_med" },
TelescopeSelectionCaret = { fg = "love", bg = "highlight_med" },
TelescopeMultiSelection = { fg = "text", bg = "highlight_high" },
TelescopeTitle = { fg = "base", bg = "love" },
TelescopePromptTitle = { fg = "base", bg = "pine" },
TelescopePreviewTitle = { fg = "base", bg = "iris" },
},
})
color_my_vim()
end
},
{
"folke/tokyonight.nvim",
lazy = false,
config = function ()
require("tokyonight").setup({
style = "storm",
transparent = true,
})
end,
},
}

View File

@ -1,21 +0,0 @@
return {
"rose-pine/neovim",
name = "rose-pine",
config = function()
styles = {
transparency = true,
}
highlight_groups = {
TelescopeBorder = { fg = "highlight_high", bg = "none" },
TelescopeNormal = { bg = "none" },
TelescopePromptNormal = { bg = "base" },
TelescopeResultsNormal = { fg = "subtle", bg = "none" },
TelescopeSelection = { fg = "text", bg = "base" },
TelescopeSelectionCaret = { fg = "rose", bg = "rose" },
},
vim.cmd("colorscheme rose-pine")
end
}

View File

@ -25,7 +25,9 @@ require("lazy").setup({
},
-- Configure any other settings here. See the documentation for more details.
-- colorscheme that will be used when installing plugins.
install = { colorscheme = { "rose-pine" } },
install = {
colorscheme = { "tokyonight-storm" }
},
-- automatically check for plugin updates
checker = { enabled = true },
})