change colortheme to kanagawa dragon

This commit is contained in:
Jannik Donker
2025-02-21 07:31:41 +01:00
parent 8b199cd837
commit 7c0f452607
3 changed files with 51 additions and 17 deletions
-9
View File
@@ -1,9 +0,0 @@
return {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
config = function()
vim.cmd.colorscheme("catppuccin-macchiato")
end,
}
+43
View File
@@ -0,0 +1,43 @@
-- return {
-- "catppuccin/nvim",
-- name = "catppuccin",
-- lazy = false,
-- priority = 1000,
-- config = function()
-- vim.cmd.colorscheme("catppuccin-macchiato")
-- end,
-- }
return {
"rebelot/kanagawa.nvim",
name = "kanagawa",
lazy = false,
priority = 1000,
config = function()
require("kanagawa").setup({
compile = false, -- enable compiling the colorscheme
undercurl = true, -- enable undercurls
commentStyle = { italic = true },
functionStyle = {},
keywordStyle = { italic = true },
statementStyle = { bold = true },
typeStyle = {},
transparent = false, -- do not set background color
dimInactive = false, -- dim inactive window `:h hl-NormalNC`
terminalColors = true, -- define vim.g.terminal_color_{0,17}
colors = { -- add/modify theme and palette colors
palette = {},
theme = { wave = {}, lotus = {}, dragon = {}, all = {} },
},
overrides = function(colors) -- add/modify highlights
return {}
end,
theme = "dragon", -- Load "wave" theme when 'background' option is not set
background = { -- map the value of 'background' option to a theme
dark = "dragon", -- try "dragon" !
light = "lotus",
},
})
vim.cmd("colorscheme kanagawa")
end,
}