From bfa2d2b2fb8b444cb3ff15792f14caaf3e9639e9 Mon Sep 17 00:00:00 2001 From: not Date: Sun, 7 Jan 2024 23:41:02 -0600 Subject: [PATCH] feat(transparency): remove more backgrounds (#205) * feat(transparency): remove border background * chore(transparency): remove telescope selection caret background --- lua/rose-pine.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 55e4c4f..795b9a1 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -9,7 +9,11 @@ local function set_highlights() local function make_border(fg) fg = fg or groups.border - return { fg = fg, bg = config.options.extend_background_behind_borders and palette.surface or "NONE" } + return { + fg = fg, + bg = (config.options.extend_background_behind_borders and not styles.transparency) and palette.surface + or "NONE", + } end local function make_title(fg) @@ -600,7 +604,7 @@ local function set_highlights() TelescopeNormal = { fg = palette.subtle, bg = "NONE" }, TelescopePromptNormal = { fg = palette.text, bg = "NONE" }, TelescopeSelection = { fg = palette.text, bg = "NONE", bold = styles.bold }, - TelescopeSelectionCaret = { fg = palette.rose, bg = palette.rose }, + TelescopeSelectionCaret = { fg = palette.rose }, WhichKeyFloat = { bg = "NONE" }, }