|
|
|
@ -1,11 +1,13 @@
|
|
|
|
|
local M = {}
|
|
|
|
|
|
|
|
|
|
function M.get(cp)
|
|
|
|
|
local transparent_background = require("catppuccin.config").options.transparent_background
|
|
|
|
|
local bg_highlight = transparent_background and "NONE" or cp.base
|
|
|
|
|
|
|
|
|
|
local inactive_bg = cp.mantle
|
|
|
|
|
local inactive_bg = transparent_background and "NONE" or cp.mantle
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
BufferLineFill = { bg = cp.crust },
|
|
|
|
|
BufferLineFill = { bg = bg_highlight },
|
|
|
|
|
BufferLineBackcrust = { fg = cp.text, bg = inactive_bg }, -- others
|
|
|
|
|
BufferLineBufferVisible = { fg = cp.surface1, bg = inactive_bg },
|
|
|
|
|
BufferLineBufferSelected = { fg = cp.text, bg = cp.base, style = "bold,italic" }, -- current
|
|
|
|
|