You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvim/lua/catppuccin/core/integrations/bufferline.lua

28 lines
1.1 KiB
Lua

local M = {}
function M.get(cp)
3 years ago
local inactive_clr = cp.catppuccin14
return {
3 years ago
BufferLineFill = { bg = cp.catppuccin13 },
BufferLineBackground = { fg = cp.catppuccin10, bg = inactive_clr },
BufferLineBufferVisible = { fg = cp.catppuccin12, bg = inactive_clr },
BufferLineBufferSelected = { fg = cp.catppuccin0, bg = cp.catppuccin1, style = "bold,italic" },
3 years ago
BufferLineTab = { fg = cp.catppuccin12, bg = cp.catppuccin1 },
BufferLineTabSelected = { fg = cp.catppuccin5, bg = cp.catppuccin9 },
BufferLineTabClose = { fg = cp.catppuccin5, bg = inactive_clr },
BufferLineIndicatorSelected = { fg = cp.catppuccin6, bg = cp.catppuccin1 },
-- separators
BufferLineSeparator = { fg = inactive_clr, bg = inactive_clr },
BufferLineSeparatorVisible = { fg = inactive_clr, bg = inactive_clr },
BufferLineSeparatorSelected = { fg = inactive_clr, bg = inactive_clr },
-- close buttons
3 years ago
BufferLineCloseButton = { fg = cp.catppuccin12, bg = inactive_clr },
BufferLineCloseButtonVisible = { fg = cp.catppuccin12, bg = inactive_clr },
BufferLineCloseButtonSelected = { fg = cp.catppuccin5, bg = cp.catppuccin1 },
}
end
return M