--- Rosé Pine for bufferline --- https://github.com/akinsho/bufferline.nvim --- --- @usage --- local highlights = require('rose-pine.plugins.bufferline') --- require('bufferline').setup({ highlights = highlights }) local p = require('rose-pine.palette') local sel_text = p.text local is_bold = true return { -- fill = { -- fg = '', -- bg = '', -- }, background = { fg = p.subtle, bg = p.surface, }, tab = { fg = p.muted, bg = p.surface, }, tab_selected = { fg = sel_text, bg = p.overlay, }, -- tab_close = { -- fg = '', -- bg = '', -- }, close_button = { -- fg = '', bg = p.surface, }, close_button_visible = { -- fg = p.iris, bg = p.highlight_low, }, close_button_selected = { fg = p.subtle, bg = p.overlay, }, numbers = { fg = p.subtle, bg = p.surface, }, numbers_selected = { fg = p.sel_text, bg = p.overlay, bold = is_bold, italic = false, -- sp = '', -- underline = '', }, numbers_visible = { fg = p.subtle, bg = p.surface, }, buffer = { -- new fg = p.subtle, bg = p.surface, }, buffer_visible = { fg = p.text, bg = p.highlight_low, -- bold = true, }, buffer_selected = { fg = sel_text, bg = p.overlay, bold = is_bold, italic = false, }, -- diagnostic = { -- fg = '', -- bg = '', -- }, -- diagnostic_visible = { -- fg = '', -- bg = '', -- }, -- diagnostic_selected = { -- fg = '', -- bg = '', -- bold = true, -- italic = true, -- }, -- info = { -- fg = '', -- sp = '', -- bg = '', -- }, -- info_visible = { -- fg = '', -- bg = '', -- }, -- info_selected = { -- fg = '', -- bg = '', -- bold = true, -- italic = true, -- sp = '', -- }, -- info_diagnostic = { -- fg = '', -- sp = '', -- bg = '', -- }, -- info_diagnostic_visible = { -- fg = '', -- bg = '', -- }, -- info_diagnostic_selected = { -- fg = '', -- bg = '', -- bold = true, -- italic = true, -- sp = '', -- }, -- warning = { -- fg = '', -- sp = '', -- bg = '', -- }, -- warning_visible = { -- fg = '', -- bg = '', -- }, -- warning_selected = { -- fg = '', -- bg = '', -- bold = true, -- italic = true, -- sp = '', -- }, -- warning_diagnostic = { -- fg = '', -- sp = '', -- bg = '', -- }, -- warning_diagnostic_visible = { -- fg = '', -- bg = '', -- }, -- warning_diagnostic_selected = { -- fg = '', -- bg = '', -- bold = true, -- italic = true, -- sp = warning_diagnostic_fg, -- }, -- error = { -- fg = '', -- bg = '', -- sp = '', -- }, -- error_visible = { -- fg = '', -- bg = '', -- }, -- error_selected = { -- fg = '', -- bg = '', -- bold = true, -- italic = true, -- sp = '', -- }, -- error_diagnostic = { -- fg = '', -- bg = '', -- sp = '', -- }, -- error_diagnostic_visible = { -- fg = '', -- bg = '', -- }, -- error_diagnostic_selected = { -- fg = '', -- bg = '', -- bold = true, -- italic = true, -- sp = '', -- }, modified = { fg = p.muted, bg = p.surface, }, modified_visible = { fg = p.muted, bg = p.highlight_low, }, modified_selected = { fg = p.text, bg = p.overlay, }, duplicate_selected = { fg = p.subtle, italic = false, bg = p.overlay, }, duplicate_visible = { fg = p.subtle, italic = false, bg = p.highlight_low, }, duplicate = { fg = p.muted, italic = false, bg = p.surface, }, separator_selected = { fg = p.foam, -- bg = '', }, -- separator_visible = { -- fg = '', -- bg = '', -- }, -- separator = { -- fg = '', -- bg = '', -- }, tab_separator = { fg = p.base, bg = p.surface, }, tab_separator_selected = { fg = p.base, bg = p.overlay, -- sp = underline_sp, -- underline = has_underline_indicator, }, indicator_selected = { fg = p.rose, bg = p.overlay, }, indicator_visible = { fg = p.muted, bg = p.overlay, }, pick_selected = { fg = p.love, bg = p.overlay, italic = true, }, pick_visible = { fg = p.love, bg = p.surface, bold = is_bold, italic = true, }, pick = { fg = p.love, bg = p.surface, bold = is_bold, italic = true, }, offset_separator = { fg = p.iris, -- bg = '', }, }