mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
add: update guvbox config
This commit is contained in:
parent
15bd56ecbd
commit
8f2a003224
1 changed files with 11 additions and 20 deletions
|
@ -1,4 +1,4 @@
|
||||||
local gruvbox = true
|
local gruvbox = false
|
||||||
local dracula = false
|
local dracula = false
|
||||||
local tokyonight = false
|
local tokyonight = false
|
||||||
local nord = false
|
local nord = false
|
||||||
|
@ -40,14 +40,11 @@ end
|
||||||
|
|
||||||
local color = vim.g.pcode_colorscheme or "gruvbox-baby"
|
local color = vim.g.pcode_colorscheme or "gruvbox-baby"
|
||||||
if substring(tostring(color), "tokyonight") then
|
if substring(tostring(color), "tokyonight") then
|
||||||
gruvbox = false
|
|
||||||
tokyonight = true
|
tokyonight = true
|
||||||
elseif substring(tostring(color), "sonokai") then
|
elseif substring(tostring(color), "sonokai") then
|
||||||
gruvbox = false
|
|
||||||
sonokai = true
|
sonokai = true
|
||||||
sonokai_style = extract(color)[2] or "default"
|
sonokai_style = extract(color)[2] or "default"
|
||||||
elseif substring(tostring(color), "material") then
|
elseif substring(tostring(color), "material") then
|
||||||
gruvbox = false
|
|
||||||
material = true
|
material = true
|
||||||
local materialstyle = extract(color)[2] or "oceanic"
|
local materialstyle = extract(color)[2] or "oceanic"
|
||||||
if materialstyle == "deepocean" then
|
if materialstyle == "deepocean" then
|
||||||
|
@ -56,68 +53,52 @@ elseif substring(tostring(color), "material") then
|
||||||
material_style = materialstyle
|
material_style = materialstyle
|
||||||
end
|
end
|
||||||
elseif substring(tostring(color), "onedark") then
|
elseif substring(tostring(color), "onedark") then
|
||||||
gruvbox = false
|
|
||||||
onedark = true
|
onedark = true
|
||||||
end
|
end
|
||||||
switch(color, {
|
switch(color, {
|
||||||
["lunar"] = function()
|
["lunar"] = function()
|
||||||
gruvbox = false
|
|
||||||
lunar = true
|
lunar = true
|
||||||
end,
|
end,
|
||||||
["nord"] = function()
|
["nord"] = function()
|
||||||
gruvbox = false
|
|
||||||
nord = true
|
nord = true
|
||||||
end,
|
end,
|
||||||
["catppuccin"] = function()
|
["catppuccin"] = function()
|
||||||
gruvbox = false
|
|
||||||
catppuccin = true
|
catppuccin = true
|
||||||
end,
|
end,
|
||||||
["catppuccin-latte"] = function()
|
["catppuccin-latte"] = function()
|
||||||
gruvbox = false
|
|
||||||
catppuccin = true
|
catppuccin = true
|
||||||
end,
|
end,
|
||||||
["catppuccin-frappe"] = function()
|
["catppuccin-frappe"] = function()
|
||||||
gruvbox = false
|
|
||||||
catppuccin = true
|
catppuccin = true
|
||||||
end,
|
end,
|
||||||
["catppuccin-macchiato"] = function()
|
["catppuccin-macchiato"] = function()
|
||||||
gruvbox = false
|
|
||||||
catppuccin = true
|
catppuccin = true
|
||||||
end,
|
end,
|
||||||
["catppuccin-mocha"] = function()
|
["catppuccin-mocha"] = function()
|
||||||
gruvbox = false
|
|
||||||
catppuccin = true
|
catppuccin = true
|
||||||
end,
|
end,
|
||||||
["dracula"] = function()
|
["dracula"] = function()
|
||||||
gruvbox = false
|
|
||||||
dracula = true
|
dracula = true
|
||||||
end,
|
end,
|
||||||
["nightfox"] = function()
|
["nightfox"] = function()
|
||||||
gruvbox = false
|
|
||||||
nightfox = true
|
nightfox = true
|
||||||
end,
|
end,
|
||||||
["dayfox"] = function()
|
["dayfox"] = function()
|
||||||
gruvbox = false
|
|
||||||
nightfox = true
|
nightfox = true
|
||||||
end,
|
end,
|
||||||
["dawnfox"] = function()
|
["dawnfox"] = function()
|
||||||
gruvbox = false
|
|
||||||
nightfox = true
|
nightfox = true
|
||||||
end,
|
end,
|
||||||
["duskfox"] = function()
|
["duskfox"] = function()
|
||||||
gruvbox = false
|
|
||||||
nightfox = true
|
nightfox = true
|
||||||
end,
|
end,
|
||||||
["nordfox"] = function()
|
["nordfox"] = function()
|
||||||
gruvbox = false
|
|
||||||
nightfox = true
|
nightfox = true
|
||||||
end,
|
end,
|
||||||
["terafox"] = function()
|
["terafox"] = function()
|
||||||
gruvbox = false
|
|
||||||
nightfox = true
|
nightfox = true
|
||||||
end,
|
end,
|
||||||
["carbonfox"] = function()
|
["carbonfox"] = function()
|
||||||
gruvbox = false
|
|
||||||
nightfox = true
|
nightfox = true
|
||||||
end,
|
end,
|
||||||
["gruvbox-baby"] = function()
|
["gruvbox-baby"] = function()
|
||||||
|
@ -151,6 +132,16 @@ return {
|
||||||
BufferLineFillNC = { bg = colors.bg },
|
BufferLineFillNC = { bg = colors.bg },
|
||||||
BufferLineUnfocusedFill = { bg = colors.bg },
|
BufferLineUnfocusedFill = { bg = colors.bg },
|
||||||
TabLine = { bg = colors.bg, fg = colors.fg },
|
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 },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue