From b6a53a45d8a23fc3b7ec651079b536cea1cd8673 Mon Sep 17 00:00:00 2001 From: mvllow Date: Sun, 7 Jan 2024 19:39:06 -0600 Subject: [PATCH 1/2] feat(transparency): remove border background --- lua/rose-pine.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index 55e4c4f9..fbf780df 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) From 4f0768c43cd53bc9351c4e03beaed0832e214027 Mon Sep 17 00:00:00 2001 From: mvllow Date: Sun, 7 Jan 2024 20:25:43 -0600 Subject: [PATCH 2/2] chore(transparency): remove telescope selection caret background --- lua/rose-pine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index fbf780df..795b9a18 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -604,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" }, }