mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
Merge branch 'rose-pine:main' into main
This commit is contained in:
commit
69ff130cb2
3 changed files with 39 additions and 13 deletions
|
|
@ -1,4 +1,10 @@
|
|||
local p = require("rose-pine.palette")
|
||||
local config = require("rose-pine.config")
|
||||
|
||||
local bg_base = p.base
|
||||
if config.options.styles.transparency then
|
||||
bg_base = "NONE"
|
||||
end
|
||||
|
||||
return {
|
||||
normal = {
|
||||
|
|
@ -19,8 +25,8 @@ return {
|
|||
a = { bg = p.surface, fg = p.love, gui = "bold" },
|
||||
},
|
||||
inactive = {
|
||||
a = { bg = p.base, fg = p.subtle, gui = "bold" },
|
||||
b = { bg = p.base, fg = p.subtle },
|
||||
c = { bg = p.base, fg = p.subtle, gui = "italic" },
|
||||
a = { bg = bg_base, fg = p.subtle, gui = "bold" },
|
||||
b = { bg = bg_base, fg = p.subtle },
|
||||
c = { bg = bg_base, fg = p.subtle, gui = "italic" },
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,34 +1,40 @@
|
|||
local p = require("rose-pine.palette")
|
||||
local config = require("rose-pine.config")
|
||||
|
||||
local bg_base = p.base
|
||||
if config.options.styles.transparency then
|
||||
bg_base = "NONE"
|
||||
end
|
||||
|
||||
return {
|
||||
normal = {
|
||||
a = { bg = p.rose, fg = p.base, gui = "bold" },
|
||||
b = { bg = p.overlay, fg = p.rose },
|
||||
c = { bg = p.base, fg = p.text },
|
||||
c = { bg = bg_base, fg = p.text },
|
||||
},
|
||||
insert = {
|
||||
a = { bg = p.foam, fg = p.base, gui = "bold" },
|
||||
b = { bg = p.overlay, fg = p.foam },
|
||||
c = { bg = p.base, fg = p.text },
|
||||
c = { bg = bg_base, fg = p.text },
|
||||
},
|
||||
visual = {
|
||||
a = { bg = p.iris, fg = p.base, gui = "bold" },
|
||||
b = { bg = p.overlay, fg = p.iris },
|
||||
c = { bg = p.base, fg = p.text },
|
||||
c = { bg = bg_base, fg = p.text },
|
||||
},
|
||||
replace = {
|
||||
a = { bg = p.pine, fg = p.base, gui = "bold" },
|
||||
b = { bg = p.overlay, fg = p.pine },
|
||||
c = { bg = p.base, fg = p.text },
|
||||
c = { bg = bg_base, fg = p.text },
|
||||
},
|
||||
command = {
|
||||
a = { bg = p.love, fg = p.base, gui = "bold" },
|
||||
b = { bg = p.overlay, fg = p.love },
|
||||
c = { bg = p.base, fg = p.text },
|
||||
c = { bg = bg_base, fg = p.text },
|
||||
},
|
||||
inactive = {
|
||||
a = { bg = p.base, fg = p.muted, gui = "bold" },
|
||||
b = { bg = p.base, fg = p.muted },
|
||||
c = { bg = p.base, fg = p.muted },
|
||||
a = { bg = bg_base, fg = p.muted, gui = "bold" },
|
||||
b = { bg = bg_base, fg = p.muted },
|
||||
c = { bg = bg_base, fg = p.muted },
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ local function set_highlights()
|
|||
TabLineSel = { fg = palette.text, bg = palette.overlay, bold = styles.bold },
|
||||
Title = { fg = palette.foam, bold = styles.bold },
|
||||
VertSplit = { fg = groups.border },
|
||||
Visual = { bg = palette.highlight_med },
|
||||
Visual = { bg = palette.iris, blend = 15 },
|
||||
-- VisualNOS = {},
|
||||
WarningMsg = { fg = groups.warn, bold = styles.bold },
|
||||
-- Whitespace = {},
|
||||
|
|
@ -692,22 +692,28 @@ local function set_highlights()
|
|||
FzfLuaTitle = { link = "FloatTitle" },
|
||||
|
||||
-- rcarriga/nvim-notify
|
||||
NotifyBackground = { link = "NormalFloat" },
|
||||
NotifyDEBUGBody = { link = "NormalFloat" },
|
||||
NotifyDEBUGBorder = make_border(),
|
||||
NotifyDEBUGIcon = { link = "NotifyDEBUGTitle" },
|
||||
NotifyDEBUGTitle = { fg = palette.muted },
|
||||
NotifyERRORBody = { link = "NormalFloat" },
|
||||
NotifyERRORBorder = make_border(groups.error),
|
||||
NotifyERRORIcon = { link = "NotifyERRORTitle" },
|
||||
NotifyERRORTitle = { fg = groups.error },
|
||||
NotifyINFOBody = { link = "NormalFloat" },
|
||||
NotifyINFOBorder = make_border(groups.info),
|
||||
NotifyINFOIcon = { link = "NotifyINFOTitle" },
|
||||
NotifyINFOTitle = { fg = groups.info },
|
||||
NotifyTRACEBody = { link = "NormalFloat" },
|
||||
NotifyTRACEBorder = make_border(palette.iris),
|
||||
NotifyTRACEIcon = { link = "NotifyTRACETitle" },
|
||||
NotifyTRACETitle = { fg = palette.iris },
|
||||
NotifyWARNBody = { link = "NormalFloat" },
|
||||
NotifyWARNBorder = make_border(groups.warn),
|
||||
NotifyWARNIcon = { link = "NotifyWARNTitle" },
|
||||
NotifyWARNTitle = { fg = groups.warn },
|
||||
NotifyBackground = { bg = palette.surface },
|
||||
|
||||
-- rcarriga/nvim-dap-ui
|
||||
DapUIBreakpointsCurrentLine = { fg = palette.gold, bold = styles.bold },
|
||||
DapUIBreakpointsDisabledLine = { fg = palette.muted },
|
||||
|
|
@ -1030,6 +1036,14 @@ local function set_highlights()
|
|||
BlinkCmpKindCopilot = { fg = palette.foam },
|
||||
BlinkCmpKindSupermaven = { fg = palette.foam },
|
||||
BlinkCmpKindTabNine = { fg = palette.foam },
|
||||
|
||||
-- folke/snacks.nvim
|
||||
SnacksIndent = { fg = palette.overlay },
|
||||
SnacksIndentChunk = { fg = palette.overlay },
|
||||
SnacksIndentBlank = { fg = palette.overlay },
|
||||
SnacksIndentScope = { fg = palette.foam },
|
||||
|
||||
SnacksPickerMatch = { fg = palette.rose, bold = styles.bold },
|
||||
}
|
||||
local transparency_highlights = {
|
||||
DiagnosticVirtualTextError = { fg = groups.error },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue