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/catppuccino/core/integrations/bufferline.lua

29 lines
1.0 KiB
Lua

local M = {}
local util = require("catppuccino.utils.util")
function M.get(cp)
local inactive_clr = util.darken("#000000", 0.56)
return {
BufferLineFill = { bg = util.brighten(cp.bg, 0.05) },
BufferLineBackground = { fg = cp.gray, bg = inactive_clr },
BufferLineBufferVisible = { fg = cp.gray, bg = inactive_clr },
BufferLineBufferSelected = { fg = cp.fg, bg = cp.bg },
BufferLineTab = { fg = cp.gray, bg = cp.bg },
BufferLineTabSelected = { fg = cp.red, bg = cp.blue },
BufferLineTabClose = { fg = cp.red, bg = inactive_clr },
BufferLineIndicatorSelected = { fg = cp.bg, bg = cp.bg },
-- separators
BufferLineSeparator = { fg = inactive_clr, bg = inactive_clr },
BufferLineSeparatorVisible = { fg = inactive_clr, bg = inactive_clr },
BufferLineSeparatorSelected = { fg = inactive_clr, bg = inactive_clr },
-- close buttons
BufferLineCloseButton = { fg = cp.gray, bg = inactive_clr },
BufferLineCloseButtonVisible = { fg = cp.gray, bg = inactive_clr },
BufferLineCloseButtonSelected = { fg = cp.red, bg = cp.bg },
}
end
return M