修复主题非活动窗口颜色混乱

This commit is contained in:
Sakura 2022-09-23 10:27:05 +08:00
parent c80163eef1
commit f21794c35c
2 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ vim.cmd [[
-- 文件树
vim.cmd [[
" 打开或者关闭文件树
map t :NvimTreeOpen<CR>
map t :NvimTreeToggle<CR>
map <leader>t :NvimTreeClose<CR>
]]

View File

@ -8,7 +8,7 @@ catppuccin.setup({
-- 自定义背景carbonfox
carbonfox = {
-- bg0, bg1, bg2, bg3, bg4, fg0, fg1, fg2, fg3, sel0, sel1, comment
bg0 = "#1d2021", -- 替代背景(浮动,状态线,...)
bg0 = "#040912", -- 替代背景(浮动,状态线,...)
bg1 = "#0c0e12", -- 黑色背景
-- bg2 = "",
bg3 = "#29354d", -- 光标栏所在行颜色
@ -19,8 +19,8 @@ catppuccin.setup({
fg3 = '#FE894B', -- 行号,折叠列
sel0 = "#185864", -- 文本选择颜色
sel1 = "#525253", -- 弹出选择背景, 搜索背景
comment = '#4e555d' -- 注释颜色
sel1 = "#fff799", -- 弹出选择背景, 搜索背景
comment = '#ff0000' -- 注释颜色
}
},
specs = {
@ -32,8 +32,8 @@ catppuccin.setup({
carbonfox = {
-- 非当前窗口
NormalNC = {
fg = "#16171a",
bg = "#16171a"
fg = "#185864", -- 非活动窗口前景色
bg = "#0c0c0c" -- 非活动窗口背景色
}
}
}