mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat!: spring cleaning
This commit is contained in:
parent
92762f4fa2
commit
7de6b77b76
19 changed files with 1067 additions and 963 deletions
|
|
@ -1,68 +1,58 @@
|
|||
local options = require('rose-pine.config').options
|
||||
|
||||
local options = require("rose-pine.config").options
|
||||
local variants = {
|
||||
main = {
|
||||
---@deprecated for backwards compatibility
|
||||
_experimental_nc = '#16141f',
|
||||
nc = '#16141f',
|
||||
base = '#191724',
|
||||
surface = '#1f1d2e',
|
||||
overlay = '#26233a',
|
||||
muted = '#6e6a86',
|
||||
subtle = '#908caa',
|
||||
text = '#e0def4',
|
||||
love = '#eb6f92',
|
||||
gold = '#f6c177',
|
||||
rose = '#ebbcba',
|
||||
pine = '#31748f',
|
||||
foam = '#9ccfd8',
|
||||
iris = '#c4a7e7',
|
||||
highlight_low = '#21202e',
|
||||
highlight_med = '#403d52',
|
||||
highlight_high = '#524f67',
|
||||
none = 'NONE',
|
||||
_nc = "#16141f",
|
||||
base = "#191724",
|
||||
surface = "#1f1d2e",
|
||||
overlay = "#26233a",
|
||||
muted = "#6e6a86",
|
||||
subtle = "#908caa",
|
||||
text = "#e0def4",
|
||||
love = "#eb6f92",
|
||||
gold = "#f6c177",
|
||||
rose = "#ebbcba",
|
||||
pine = "#3e8fb0",
|
||||
foam = "#9ccfd8",
|
||||
iris = "#c4a7e7",
|
||||
highlight_low = "#21202e",
|
||||
highlight_med = "#403d52",
|
||||
highlight_high = "#524f67",
|
||||
},
|
||||
moon = {
|
||||
---@deprecated for backwards compatibility
|
||||
_experimental_nc = '#1f1d30',
|
||||
nc = '#1f1d30',
|
||||
base = '#232136',
|
||||
surface = '#2a273f',
|
||||
overlay = '#393552',
|
||||
muted = '#6e6a86',
|
||||
subtle = '#908caa',
|
||||
text = '#e0def4',
|
||||
love = '#eb6f92',
|
||||
gold = '#f6c177',
|
||||
rose = '#ea9a97',
|
||||
pine = '#3e8fb0',
|
||||
foam = '#9ccfd8',
|
||||
iris = '#c4a7e7',
|
||||
highlight_low = '#2a283e',
|
||||
highlight_med = '#44415a',
|
||||
highlight_high = '#56526e',
|
||||
none = 'NONE',
|
||||
_nc = "#1f1d30",
|
||||
base = "#232136",
|
||||
surface = "#2a273f",
|
||||
overlay = "#393552",
|
||||
muted = "#6e6a86",
|
||||
subtle = "#908caa",
|
||||
text = "#e0def4",
|
||||
love = "#eb6f92",
|
||||
gold = "#f6c177",
|
||||
rose = "#ea9a97",
|
||||
pine = "#3e8fb0",
|
||||
foam = "#9ccfd8",
|
||||
iris = "#c4a7e7",
|
||||
highlight_low = "#2a283e",
|
||||
highlight_med = "#44415a",
|
||||
highlight_high = "#56526e",
|
||||
},
|
||||
dawn = {
|
||||
---@deprecated for backwards compatibility
|
||||
_experimental_nc = '#f8f0e7',
|
||||
nc = '#f8f0e7',
|
||||
base = '#faf4ed',
|
||||
surface = '#fffaf3',
|
||||
overlay = '#f2e9e1',
|
||||
muted = '#9893a5',
|
||||
subtle = '#797593',
|
||||
text = '#575279',
|
||||
love = '#b4637a',
|
||||
gold = '#ea9d34',
|
||||
rose = '#d7827e',
|
||||
pine = '#286983',
|
||||
foam = '#56949f',
|
||||
iris = '#907aa9',
|
||||
highlight_low = '#f4ede8',
|
||||
highlight_med = '#dfdad9',
|
||||
highlight_high = '#cecacd',
|
||||
none = 'NONE',
|
||||
_nc = "#f8f0e7",
|
||||
base = "#faf4ed",
|
||||
surface = "#fffaf3",
|
||||
overlay = "#f2e9e1",
|
||||
muted = "#9893a5",
|
||||
subtle = "#797593",
|
||||
text = "#464261",
|
||||
love = "#b4637a",
|
||||
gold = "#ea9d34",
|
||||
rose = "#d7827e",
|
||||
pine = "#286983",
|
||||
foam = "#56949f",
|
||||
iris = "#907aa9",
|
||||
highlight_low = "#f4ede8",
|
||||
highlight_med = "#dfdad9",
|
||||
highlight_high = "#cecacd",
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -70,5 +60,4 @@ if variants[options.variant] ~= nil then
|
|||
return variants[options.variant]
|
||||
end
|
||||
|
||||
return vim.o.background == 'light' and variants.dawn
|
||||
or variants[options.dark_variant or 'main']
|
||||
return vim.o.background == "light" and variants.dawn or variants[options.dark_variant or "main"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue