mirror of
https://github.com/zebrajr/dotfiles.git
synced 2025-12-06 00:20:05 +01:00
update themeing to rose-pine and tokyonight
This commit is contained in:
parent
a325458251
commit
b567178136
46
config/nvim/lua/themes/colors.lua
Normal file
46
config/nvim/lua/themes/colors.lua
Normal 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,
|
||||
},
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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 },
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user