mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat: improve float transparency
This commit is contained in:
parent
fe716930ed
commit
8f2d70a70d
1 changed files with 9 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ local function set_highlights()
|
||||||
-- EndOfBuffer = {},
|
-- EndOfBuffer = {},
|
||||||
ErrorMsg = { fg = groups.error, bold = styles.bold },
|
ErrorMsg = { fg = groups.error, bold = styles.bold },
|
||||||
FloatBorder = make_border(),
|
FloatBorder = make_border(),
|
||||||
FloatTitle = { link = "Directory" },
|
FloatTitle = { fg = palette.foam, bg = groups.panel, bold = styles.bold },
|
||||||
FoldColumn = { fg = palette.muted },
|
FoldColumn = { fg = palette.muted },
|
||||||
Folded = { fg = palette.text, bg = groups.panel },
|
Folded = { fg = palette.text, bg = groups.panel },
|
||||||
IncSearch = { link = "CurSearch" },
|
IncSearch = { link = "CurSearch" },
|
||||||
|
|
@ -800,8 +800,8 @@ local function set_highlights()
|
||||||
MiniFilesDirectory = { link = "Directory" },
|
MiniFilesDirectory = { link = "Directory" },
|
||||||
MiniFilesFile = { fg = palette.text },
|
MiniFilesFile = { fg = palette.text },
|
||||||
MiniFilesNormal = { link = "NormalFloat" },
|
MiniFilesNormal = { link = "NormalFloat" },
|
||||||
MiniFilesTitle = { bg = groups.panel, fg = palette.foam, bold = styles.bold },
|
MiniFilesTitle = { link = "FloatTitle" },
|
||||||
MiniFilesTitleFocused = { bg = groups.panel, fg = palette.rose, bold = styles.bold },
|
MiniFilesTitleFocused = { fg = palette.rose, bg = groups.panel, bold = styles.bold },
|
||||||
|
|
||||||
MiniHipatternsFixme = { fg = palette.base, bg = groups.error, bold = styles.bold },
|
MiniHipatternsFixme = { fg = palette.base, bg = groups.error, bold = styles.bold },
|
||||||
MiniHipatternsHack = { fg = palette.base, bg = groups.warn, bold = styles.bold },
|
MiniHipatternsHack = { fg = palette.base, bg = groups.warn, bold = styles.bold },
|
||||||
|
|
@ -926,6 +926,7 @@ local function set_highlights()
|
||||||
DiagnosticVirtualTextWarn = { fg = groups.warn },
|
DiagnosticVirtualTextWarn = { fg = groups.warn },
|
||||||
|
|
||||||
FloatBorder = { fg = palette.muted, bg = "NONE" },
|
FloatBorder = { fg = palette.muted, bg = "NONE" },
|
||||||
|
FloatTitle = { fg = palette.foam, bg = "NONE", bold = styles.bold },
|
||||||
Folded = { fg = palette.text, bg = "NONE" },
|
Folded = { fg = palette.text, bg = "NONE" },
|
||||||
NormalFloat = { bg = "NONE" },
|
NormalFloat = { bg = "NONE" },
|
||||||
Normal = { fg = palette.text, bg = "NONE" },
|
Normal = { fg = palette.text, bg = "NONE" },
|
||||||
|
|
@ -957,6 +958,11 @@ local function set_highlights()
|
||||||
|
|
||||||
TreesitterContext = { bg = "NONE" },
|
TreesitterContext = { bg = "NONE" },
|
||||||
TreesitterContextLineNumber = { fg = palette.rose, bg = "NONE" },
|
TreesitterContextLineNumber = { fg = palette.rose, bg = "NONE" },
|
||||||
|
|
||||||
|
MiniFilesTitleFocused = { fg = palette.rose, bg = "NONE", bold = styles.bold },
|
||||||
|
|
||||||
|
MiniPickPrompt = { bg = "NONE", bold = styles.bold },
|
||||||
|
MiniPickBorderText = { bg = "NONE" },
|
||||||
}
|
}
|
||||||
|
|
||||||
if config.options.enable.legacy_highlights then
|
if config.options.enable.legacy_highlights then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue