mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 09:18:44 +02:00
add: update config colorscheme
This commit is contained in:
parent
4bbbf4bc75
commit
07c6b8ce49
19 changed files with 911 additions and 766 deletions
34
lua/plugins/themes/gruvbox.lua
Normal file
34
lua/plugins/themes/gruvbox.lua
Normal file
|
@ -0,0 +1,34 @@
|
|||
local color = vim.g.pcode_colorscheme or "gruvbox-baby"
|
||||
local transparent_mode = vim.g.pcode_transparent_mode or 0
|
||||
if (color == "gruvbox-baby") and true or false then
|
||||
return {
|
||||
"luisiacc/gruvbox-baby",
|
||||
priority = 1000,
|
||||
lazy = true,
|
||||
enabled = (color == "gruvbox-baby") and true or false,
|
||||
config = function()
|
||||
local colors = require("gruvbox-baby.colors").config()
|
||||
vim.g.gruvbox_baby_highlights = {
|
||||
StatusLine = { fg = colors.fg, bg = colors.bg },
|
||||
WinBarNC = { fg = colors.fg, bg = colors.bg },
|
||||
BufferLineFill = { bg = colors.bg },
|
||||
BufferLineFillNC = { bg = colors.bg },
|
||||
BufferLineUnfocusedFill = { bg = colors.bg },
|
||||
TabLine = { bg = colors.bg, fg = colors.fg },
|
||||
NvimTreeNormal = { bg = colors.bg, fg = colors.fg },
|
||||
NvimTreeNormalNC = { bg = colors.bg, fg = colors.fg },
|
||||
NvimTreeWinSeparator = { fg = colors.fg },
|
||||
Pmenu = { fg = colors.fg, bg = colors.bg },
|
||||
WhichKeyFloat = { fg = colors.fg, bg = colors.bg },
|
||||
WhichKeyBorder = { fg = colors.fg, bg = colors.bg },
|
||||
NormalFloat = { fg = colors.fg, bg = colors.bg },
|
||||
NormalNC = { fg = colors.fg, bg = colors.bg },
|
||||
FloatBorder = { fg = colors.fg, bg = colors.bg },
|
||||
LspInfoBorder = { fg = colors.fg, bg = colors.bg },
|
||||
}
|
||||
vim.g.gruvbox_baby_transparent_mode = transparent_mode
|
||||
end,
|
||||
}
|
||||
else
|
||||
return {}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue