mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
init
This commit is contained in:
commit
f0c2be8d63
7 changed files with 502 additions and 0 deletions
58
lua/rose-pine/palette.lua
Normal file
58
lua/rose-pine/palette.lua
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
local palette = {
|
||||
base = '#191724',
|
||||
surface = '#1f1d2e',
|
||||
overlay = '#26233a',
|
||||
inactive = '#555169',
|
||||
subtle = '#6e6a86',
|
||||
text = '#e0def4',
|
||||
love = '#eb6f92',
|
||||
gold = '#f6c177',
|
||||
rose = '#ebbcba',
|
||||
pine = '#31748f',
|
||||
foam = '#9ccfd8',
|
||||
iris = '#c4a7e7',
|
||||
highlight = '#2a2837',
|
||||
highlight_inactive = '#211f2d',
|
||||
highlight_overlay = '#3a384a',
|
||||
none = 'NONE',
|
||||
}
|
||||
|
||||
if vim.g.rose_pine_variant == 'dawn' then
|
||||
palette = {
|
||||
base = '#faf4ed',
|
||||
surface = '#fffaf3',
|
||||
overlay = '#f2e9de',
|
||||
inactive = '#9893a5',
|
||||
subtle = '#6e6a86',
|
||||
text = '#575279',
|
||||
love = '#b4637a',
|
||||
gold = '#ea9d34',
|
||||
rose = '#d7827e',
|
||||
pine = '#286983',
|
||||
foam = '#56949f',
|
||||
iris = '#907aa9',
|
||||
highlight = '#eee9e6',
|
||||
highlight_inactive = '#f2ede9',
|
||||
highlight_overlay = '#e4dfde',
|
||||
}
|
||||
elseif vim.g.rose_pine_variant == 'moon' then
|
||||
palette = {
|
||||
base = '#232136',
|
||||
surface = '#2a273f',
|
||||
overlay = '#393552',
|
||||
inactive = '#59546d',
|
||||
subtle = '#817c9c',
|
||||
text = '#e0def4',
|
||||
love = '#eb6f92',
|
||||
gold = '#f6c177',
|
||||
rose = '#ea9a97',
|
||||
pine = '#3e8fb0',
|
||||
foam = '#9ccfd8',
|
||||
iris = '#c4a7e7',
|
||||
highlight = '#312f44',
|
||||
highlight_inactive = '#2a283d',
|
||||
highlight_overlay = '#3f3c53',
|
||||
}
|
||||
end
|
||||
|
||||
return palette
|
||||
Loading…
Add table
Add a link
Reference in a new issue