mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
parent
2340a5bd20
commit
9b066fd8c5
2 changed files with 15 additions and 3 deletions
|
|
@ -2,6 +2,7 @@ local options = require('rose-pine.config').options
|
||||||
|
|
||||||
local variants = {
|
local variants = {
|
||||||
main = {
|
main = {
|
||||||
|
nc = '#16141f',
|
||||||
base = '#191724',
|
base = '#191724',
|
||||||
surface = '#1f1d2e',
|
surface = '#1f1d2e',
|
||||||
overlay = '#26233a',
|
overlay = '#26233a',
|
||||||
|
|
@ -20,6 +21,7 @@ local variants = {
|
||||||
none = 'NONE',
|
none = 'NONE',
|
||||||
},
|
},
|
||||||
moon = {
|
moon = {
|
||||||
|
nc = '#1f1d30',
|
||||||
base = '#232136',
|
base = '#232136',
|
||||||
surface = '#2a273f',
|
surface = '#2a273f',
|
||||||
overlay = '#393552',
|
overlay = '#393552',
|
||||||
|
|
@ -38,6 +40,7 @@ local variants = {
|
||||||
none = 'NONE',
|
none = 'NONE',
|
||||||
},
|
},
|
||||||
dawn = {
|
dawn = {
|
||||||
|
nc = '#f8f0e7',
|
||||||
base = '#faf4ed',
|
base = '#faf4ed',
|
||||||
surface = '#fffaf3',
|
surface = '#fffaf3',
|
||||||
overlay = '#f2e9e1',
|
overlay = '#f2e9e1',
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ function M._load(options)
|
||||||
}
|
}
|
||||||
maybe.bold_vert_split = (options.bold_vert_split and groups.border)
|
maybe.bold_vert_split = (options.bold_vert_split and groups.border)
|
||||||
or p.none
|
or p.none
|
||||||
maybe.dim_nc_background = (options.dim_nc_background and groups.panel)
|
maybe.dim_nc_background = (options.dim_nc_background and p.nc)
|
||||||
|
|
||||||
h('ColorColumn', { bg = p.overlay })
|
h('ColorColumn', { bg = p.overlay })
|
||||||
h('Conceal', { bg = p.none })
|
h('Conceal', { bg = p.none })
|
||||||
|
|
@ -66,7 +66,10 @@ function M._load(options)
|
||||||
h('SpellCap', { sp = p.subtle, undercurl = true })
|
h('SpellCap', { sp = p.subtle, undercurl = true })
|
||||||
h('SpellLocal', { sp = p.subtle, undercurl = true })
|
h('SpellLocal', { sp = p.subtle, undercurl = true })
|
||||||
h('SpellRare', { sp = p.subtle, undercurl = true })
|
h('SpellRare', { sp = p.subtle, undercurl = true })
|
||||||
h('SignColumn', { fg = p.text, bg = maybe.base })
|
h('SignColumn', {
|
||||||
|
fg = p.text,
|
||||||
|
bg = (options.dim_nc_background and p.none) or maybe.base,
|
||||||
|
})
|
||||||
h('StatusLine', { fg = p.subtle, bg = p.surface })
|
h('StatusLine', { fg = p.subtle, bg = p.surface })
|
||||||
h('StatusLineNC', { fg = p.muted, bg = maybe.base })
|
h('StatusLineNC', { fg = p.muted, bg = maybe.base })
|
||||||
h('StatusLineTerm', { link = 'StatusLine' })
|
h('StatusLineTerm', { link = 'StatusLine' })
|
||||||
|
|
@ -427,7 +430,13 @@ function M._load(options)
|
||||||
h('TelescopeBorder', { fg = groups.border, bg = maybe.surface })
|
h('TelescopeBorder', { fg = groups.border, bg = maybe.surface })
|
||||||
h('TelescopeMatching', { fg = p.rose })
|
h('TelescopeMatching', { fg = p.rose })
|
||||||
h('TelescopeNormal', { fg = p.subtle, bg = maybe.surface })
|
h('TelescopeNormal', { fg = p.subtle, bg = maybe.surface })
|
||||||
h('TelescopePromptNormal', { fg = p.text, bg = maybe.surface })
|
h('TelescopePromptNormal', {
|
||||||
|
fg = p.text,
|
||||||
|
bg = (
|
||||||
|
options.dim_nc_background
|
||||||
|
and (options.disable_float_background and p.nc or p.surface)
|
||||||
|
) or maybe.surface,
|
||||||
|
})
|
||||||
h('TelescopePromptPrefix', { fg = p.subtle })
|
h('TelescopePromptPrefix', { fg = p.subtle })
|
||||||
h('TelescopeSelection', { fg = p.text, bg = p.overlay })
|
h('TelescopeSelection', { fg = p.text, bg = p.overlay })
|
||||||
h('TelescopeSelectionCaret', { fg = p.rose, bg = p.overlay })
|
h('TelescopeSelectionCaret', { fg = p.rose, bg = p.overlay })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue