mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
enc: add gruvbox color scheme
This commit is contained in:
parent
177cf190df
commit
826cbfe9f8
3 changed files with 34 additions and 3 deletions
28
lua/pcode/plugins/theme/gruvbox.lua
Normal file
28
lua/pcode/plugins/theme/gruvbox.lua
Normal file
|
@ -0,0 +1,28 @@
|
|||
return {
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
priority = 1000,
|
||||
opts = function()
|
||||
local color = require("gruvbox").palette
|
||||
return {
|
||||
terminal_colors = true, -- add neovim terminal colors
|
||||
undercurl = false,
|
||||
underline = false,
|
||||
bold = false,
|
||||
contrast = "", -- can be "hard", "soft" or empty string
|
||||
palette_overrides = {},
|
||||
overrides = {
|
||||
["NormalFloat"] = { bg = "NONE" },
|
||||
["NormalNC"] = { bg = "NONE" },
|
||||
["MiniIndentscopeSymbol"] = { fg = color.bright_yellow },
|
||||
["StatusLine"] = { bg = "NONE" },
|
||||
["FoldColumn"] = { bg = "NONE" },
|
||||
["Folded"] = { bg = "NONE" },
|
||||
["SignColumn"] = { bg = "NONE" },
|
||||
},
|
||||
}
|
||||
end,
|
||||
config = function(_, opts)
|
||||
vim.o.background = "dark"
|
||||
require("gruvbox").setup(opts)
|
||||
end,
|
||||
}
|
|
@ -79,6 +79,9 @@ pcode.themes = {
|
|||
-- catppuccin = "catppuccin-frappe",
|
||||
-- catppuccin = "catppuccin-macchiato",
|
||||
-- catppuccin = "catppuccin-macchiato",
|
||||
--
|
||||
-- **:: Gruvbox Theme ::** --
|
||||
-- gruvbox = "gruvbox",
|
||||
}
|
||||
-- activate config transparent_bg
|
||||
pcode.transparent = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue