mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat(palette): add initial support for new color leaf (#290)
* feat(palette): add new color 'leaf' * feat: add highlight groups to defaults
This commit is contained in:
parent
fe5f4e11f7
commit
c4b55e85fb
3 changed files with 12 additions and 1 deletions
|
|
@ -155,26 +155,32 @@ local function set_highlights()
|
||||||
DiagnosticError = { fg = groups.error },
|
DiagnosticError = { fg = groups.error },
|
||||||
DiagnosticHint = { fg = groups.hint },
|
DiagnosticHint = { fg = groups.hint },
|
||||||
DiagnosticInfo = { fg = groups.info },
|
DiagnosticInfo = { fg = groups.info },
|
||||||
|
DiagnosticOk = { fg = groups.ok },
|
||||||
DiagnosticWarn = { fg = groups.warn },
|
DiagnosticWarn = { fg = groups.warn },
|
||||||
DiagnosticDefaultError = { link = "DiagnosticError" },
|
DiagnosticDefaultError = { link = "DiagnosticError" },
|
||||||
DiagnosticDefaultHint = { link = "DiagnosticHint" },
|
DiagnosticDefaultHint = { link = "DiagnosticHint" },
|
||||||
DiagnosticDefaultInfo = { link = "DiagnosticInfo" },
|
DiagnosticDefaultInfo = { link = "DiagnosticInfo" },
|
||||||
|
DiagnosticDefaultOk = { link = "DiagnosticOk" },
|
||||||
DiagnosticDefaultWarn = { link = "DiagnosticWarn" },
|
DiagnosticDefaultWarn = { link = "DiagnosticWarn" },
|
||||||
DiagnosticFloatingError = { link = "DiagnosticError" },
|
DiagnosticFloatingError = { link = "DiagnosticError" },
|
||||||
DiagnosticFloatingHint = { link = "DiagnosticHint" },
|
DiagnosticFloatingHint = { link = "DiagnosticHint" },
|
||||||
DiagnosticFloatingInfo = { link = "DiagnosticInfo" },
|
DiagnosticFloatingInfo = { link = "DiagnosticInfo" },
|
||||||
|
DiagnosticFloatingOk = { link = "DiagnosticOk" },
|
||||||
DiagnosticFloatingWarn = { link = "DiagnosticWarn" },
|
DiagnosticFloatingWarn = { link = "DiagnosticWarn" },
|
||||||
DiagnosticSignError = { link = "DiagnosticError" },
|
DiagnosticSignError = { link = "DiagnosticError" },
|
||||||
DiagnosticSignHint = { link = "DiagnosticHint" },
|
DiagnosticSignHint = { link = "DiagnosticHint" },
|
||||||
DiagnosticSignInfo = { link = "DiagnosticInfo" },
|
DiagnosticSignInfo = { link = "DiagnosticInfo" },
|
||||||
|
DiagnosticSignOk = { link = "DiagnosticOk" },
|
||||||
DiagnosticSignWarn = { link = "DiagnosticWarn" },
|
DiagnosticSignWarn = { link = "DiagnosticWarn" },
|
||||||
DiagnosticUnderlineError = { sp = groups.error, undercurl = true },
|
DiagnosticUnderlineError = { sp = groups.error, undercurl = true },
|
||||||
DiagnosticUnderlineHint = { sp = groups.hint, undercurl = true },
|
DiagnosticUnderlineHint = { sp = groups.hint, undercurl = true },
|
||||||
DiagnosticUnderlineInfo = { sp = groups.info, undercurl = true },
|
DiagnosticUnderlineInfo = { sp = groups.info, undercurl = true },
|
||||||
|
DiagnosticUnderlineOk = { sp = groups.ok, undercurl = true },
|
||||||
DiagnosticUnderlineWarn = { sp = groups.warn, undercurl = true },
|
DiagnosticUnderlineWarn = { sp = groups.warn, undercurl = true },
|
||||||
DiagnosticVirtualTextError = { fg = groups.error, bg = groups.error, blend = 10 },
|
DiagnosticVirtualTextError = { fg = groups.error, bg = groups.error, blend = 10 },
|
||||||
DiagnosticVirtualTextHint = { fg = groups.hint, bg = groups.hint, blend = 10 },
|
DiagnosticVirtualTextHint = { fg = groups.hint, bg = groups.hint, blend = 10 },
|
||||||
DiagnosticVirtualTextInfo = { fg = groups.info, bg = groups.info, blend = 10 },
|
DiagnosticVirtualTextInfo = { fg = groups.info, bg = groups.info, blend = 10 },
|
||||||
|
DiagnosticVirtualTextOk = { fg = groups.ok, bg = groups.ok, blend = 10 },
|
||||||
DiagnosticVirtualTextWarn = { fg = groups.warn, bg = groups.warn, blend = 10 },
|
DiagnosticVirtualTextWarn = { fg = groups.warn, bg = groups.warn, blend = 10 },
|
||||||
|
|
||||||
Boolean = { fg = palette.rose },
|
Boolean = { fg = palette.rose },
|
||||||
|
|
@ -897,6 +903,7 @@ local function set_highlights()
|
||||||
DiagnosticVirtualTextError = { fg = groups.error },
|
DiagnosticVirtualTextError = { fg = groups.error },
|
||||||
DiagnosticVirtualTextHint = { fg = groups.hint },
|
DiagnosticVirtualTextHint = { fg = groups.hint },
|
||||||
DiagnosticVirtualTextInfo = { fg = groups.info },
|
DiagnosticVirtualTextInfo = { fg = groups.info },
|
||||||
|
DiagnosticVirtualTextOk = { fg = groups.ok },
|
||||||
DiagnosticVirtualTextWarn = { fg = groups.warn },
|
DiagnosticVirtualTextWarn = { fg = groups.warn },
|
||||||
|
|
||||||
FloatBorder = { fg = palette.muted, bg = "NONE" },
|
FloatBorder = { fg = palette.muted, bg = "NONE" },
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,10 @@ config.options = {
|
||||||
error = "love",
|
error = "love",
|
||||||
hint = "iris",
|
hint = "iris",
|
||||||
info = "foam",
|
info = "foam",
|
||||||
|
ok = "leaf",
|
||||||
|
warn = "gold",
|
||||||
note = "pine",
|
note = "pine",
|
||||||
todo = "rose",
|
todo = "rose",
|
||||||
warn = "gold",
|
|
||||||
|
|
||||||
git_add = "foam",
|
git_add = "foam",
|
||||||
git_change = "rose",
|
git_change = "rose",
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ local variants = {
|
||||||
pine = "#31748f",
|
pine = "#31748f",
|
||||||
foam = "#9ccfd8",
|
foam = "#9ccfd8",
|
||||||
iris = "#c4a7e7",
|
iris = "#c4a7e7",
|
||||||
|
leaf = "#95b1ac",
|
||||||
highlight_low = "#21202e",
|
highlight_low = "#21202e",
|
||||||
highlight_med = "#403d52",
|
highlight_med = "#403d52",
|
||||||
highlight_high = "#524f67",
|
highlight_high = "#524f67",
|
||||||
|
|
@ -33,6 +34,7 @@ local variants = {
|
||||||
pine = "#3e8fb0",
|
pine = "#3e8fb0",
|
||||||
foam = "#9ccfd8",
|
foam = "#9ccfd8",
|
||||||
iris = "#c4a7e7",
|
iris = "#c4a7e7",
|
||||||
|
leaf = "#95b1ac",
|
||||||
highlight_low = "#2a283e",
|
highlight_low = "#2a283e",
|
||||||
highlight_med = "#44415a",
|
highlight_med = "#44415a",
|
||||||
highlight_high = "#56526e",
|
highlight_high = "#56526e",
|
||||||
|
|
@ -52,6 +54,7 @@ local variants = {
|
||||||
pine = "#286983",
|
pine = "#286983",
|
||||||
foam = "#56949f",
|
foam = "#56949f",
|
||||||
iris = "#907aa9",
|
iris = "#907aa9",
|
||||||
|
leaf = "#6d8f89",
|
||||||
highlight_low = "#f4ede8",
|
highlight_low = "#f4ede8",
|
||||||
highlight_med = "#dfdad9",
|
highlight_med = "#dfdad9",
|
||||||
highlight_high = "#cecacd",
|
highlight_high = "#cecacd",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue