mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat: add headings to vim.g.rose_pine_colors
This commit is contained in:
parent
cd176b07b0
commit
b547d92b88
2 changed files with 19 additions and 5 deletions
|
|
@ -8,6 +8,13 @@ local groups = {
|
|||
info = user_colors.info or p.foam,
|
||||
warn = user_colors.warn or p.gold,
|
||||
error = user_colors.error or p.love,
|
||||
headings = user_colors.headings or {
|
||||
h1 = p.love,
|
||||
h2 = p.rose,
|
||||
h3 = p.iris,
|
||||
h4 = p.pine,
|
||||
h5 = p.foam,
|
||||
},
|
||||
}
|
||||
|
||||
local theme = {}
|
||||
|
|
@ -125,11 +132,11 @@ theme.base = {
|
|||
htmlArg = { fg = p.iris },
|
||||
htmlBold = { fg = p.text, style = 'bold' },
|
||||
htmlEndTag = { fg = p.subtle },
|
||||
htmlH1 = { fg = p.love, style = 'bold' },
|
||||
htmlH2 = { fg = p.rose, style = 'bold' },
|
||||
htmlH3 = { fg = p.iris, style = 'bold' },
|
||||
htmlH4 = { fg = p.pine, style = 'bold' },
|
||||
htmlH5 = { fg = p.foam, style = 'bold' },
|
||||
htmlH1 = { fg = groups.headings.h1, style = 'bold' },
|
||||
htmlH2 = { fg = groups.headings.h2, style = 'bold' },
|
||||
htmlH3 = { fg = groups.headings.h3, style = 'bold' },
|
||||
htmlH4 = { fg = groups.headings.h4, style = 'bold' },
|
||||
htmlH5 = { fg = groups.headings.h5, style = 'bold' },
|
||||
htmlItalic = { fg = p.text, style = maybe_italic },
|
||||
htmlLink = { fg = p.text },
|
||||
htmlTag = { fg = p.subtle },
|
||||
|
|
|
|||
|
|
@ -99,6 +99,13 @@ vim.g.rose_pine_colors = {
|
|||
info = '#78ccc5',
|
||||
warn = '#f5c359',
|
||||
error = '#c75c6a',
|
||||
headings = {
|
||||
h1 = '#999999',
|
||||
h2 = '#888888',
|
||||
h3 = '#777777',
|
||||
h4 = '#666666',
|
||||
h5 = '#555555',
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue