Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(transparency): remove more backgrounds #205

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions lua/rose-pine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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" },
}
Expand Down