♻️ refactor(themes)!: name and lazy-load all themes

Give all the themes definitive names and lazy-load all but the main
ones.
This commit is contained in:
2024-08-07 08:22:17 -04:00
parent 7cd893a4c1
commit a323b3b4d6
+62 -1
View File
@@ -4,64 +4,120 @@
return { return {
{ -- Tokyonight { -- Tokyonight
"folke/tokyonight.nvim", "folke/tokyonight.nvim",
lazy = false, -- Override lazy = true, -- Override
name = "tokyonight",
opts = {
style = "night",
},
}, },
{ -- Catppuccin { -- Catppuccin
"catppuccin/nvim", "catppuccin/nvim",
lazy = false, -- Override lazy = false, -- Override
priority = 1000,
name = "catppuccin",
background = { -- :h background
light = "latte",
dark = "frappe",
},
integrations = { integrations = {
indent_blankline = { indent_blankline = {
enabled = true, enabled = true,
scope_color = "mauve", scope_color = "mauve",
colored_indent_levels = false, colored_indent_levels = false,
}, },
grug_far = true,
mason = true,
mini = {
enabled = true,
indentscope_color = "lavender", -- catppuccin color (eg. `lavender`) Default: text
},
neotree = true,
noice = true,
nvim_surround = true,
octo = true,
overseer = true,
which_key = true,
}, },
}, },
{ -- Ayu { -- Ayu
"Shatur/neovim-ayu", "Shatur/neovim-ayu",
lazy = true,
name = "ayu",
}, },
{ -- Dracula { -- Dracula
"Mofiqul/dracula.nvim", "Mofiqul/dracula.nvim",
lazy = true,
name = "dracula",
}, },
{ -- Eldritch { -- Eldritch
"eldritch-theme/eldritch.nvim", "eldritch-theme/eldritch.nvim",
lazy = true,
name = "eldritch",
},
{ -- Flow
"0xstepit/flow.nvim",
lazy = true,
name = "flow",
}, },
{ -- Github-theme { -- Github-theme
"projekt0n/github-nvim-theme", "projekt0n/github-nvim-theme",
lazy = true,
name = "github-nvim-theme",
}, },
{ -- Gruvbox { -- Gruvbox
"ellisonleao/gruvbox.nvim", "ellisonleao/gruvbox.nvim",
lazy = true,
name = "gruvbox",
}, },
{ -- Kanagawa { -- Kanagawa
"rebelot/kanagawa.nvim", "rebelot/kanagawa.nvim",
lazy = true,
name = "kanagawa",
}, },
{ -- Monochrome { -- Monochrome
"kdheepak/monochrome.nvim", "kdheepak/monochrome.nvim",
lazy = true,
name = "monochrome",
}, },
{ -- NeoFusion { -- NeoFusion
"diegoulloao/neofusion.nvim", "diegoulloao/neofusion.nvim",
lazy = true,
name = "neofusion",
}, },
{ -- Nord { -- Nord
"shaunsingh/nord.nvim", "shaunsingh/nord.nvim",
lazy = true,
name = "nord",
}, },
{ -- One Dark Pro { -- One Dark Pro
"olimorris/onedarkpro.nvim", "olimorris/onedarkpro.nvim",
lazy = true,
name = "onedarkpro",
}, },
{ -- Oxocarbon { -- Oxocarbon
"nyoom-engineering/oxocarbon.nvim", "nyoom-engineering/oxocarbon.nvim",
lazy = true,
name = "oxocarbon",
}, },
{ -- Paper { -- Paper
"https://gitlab.com/yorickpeterse/vim-paper.git", "https://gitlab.com/yorickpeterse/vim-paper.git",
lazy = true,
name = "vim-paper",
}, },
{ -- Rose-Pine { -- Rose-Pine
"rose-pine/neovim", "rose-pine/neovim",
name = "rose-pine", name = "rose-pine",
lazy = true,
}, },
{ -- Umbra { -- Umbra
"LZDQ/umbra.nvim", "LZDQ/umbra.nvim",
lazy = true,
name = "umbra",
}, },
{ -- Zenbones { -- Zenbones
"zenbones-theme/zenbones.nvim", "zenbones-theme/zenbones.nvim",
name = "zenbones",
lazy = true,
dependencies = { "rktjmp/lush.nvim" }, dependencies = { "rktjmp/lush.nvim" },
}, },
-- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ UTILITIES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ UTILITIES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
@@ -78,6 +134,11 @@ return {
desc = "Toggle Transparency", desc = "Toggle Transparency",
}, },
}, },
cmd = {
"TransparentEnable",
"TransparentDisable",
"TransparentToggle",
},
}, },
{ -- Auto Dark Mode { -- Auto Dark Mode
"f-person/auto-dark-mode.nvim", "f-person/auto-dark-mode.nvim",