mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
parent
91548dca53
commit
66aabf210b
2 changed files with 23 additions and 11 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
local p = require("rose-pine.palette")
|
local p = require("rose-pine.palette")
|
||||||
|
local config = require("rose-pine.config")
|
||||||
|
|
||||||
|
local bg_base = p.base
|
||||||
|
if config.options.styles.transparency then
|
||||||
|
bg_base = "NONE"
|
||||||
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
normal = {
|
normal = {
|
||||||
|
|
@ -19,8 +25,8 @@ return {
|
||||||
a = { bg = p.surface, fg = p.love, gui = "bold" },
|
a = { bg = p.surface, fg = p.love, gui = "bold" },
|
||||||
},
|
},
|
||||||
inactive = {
|
inactive = {
|
||||||
a = { bg = p.base, fg = p.subtle, gui = "bold" },
|
a = { bg = bg_base, fg = p.subtle, gui = "bold" },
|
||||||
b = { bg = p.base, fg = p.subtle },
|
b = { bg = bg_base, fg = p.subtle },
|
||||||
c = { bg = p.base, fg = p.subtle, gui = "italic" },
|
c = { bg = bg_base, fg = p.subtle, gui = "italic" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,34 +1,40 @@
|
||||||
local p = require("rose-pine.palette")
|
local p = require("rose-pine.palette")
|
||||||
|
local config = require("rose-pine.config")
|
||||||
|
|
||||||
|
local bg_base = p.base
|
||||||
|
if config.options.styles.transparency then
|
||||||
|
bg_base = "NONE"
|
||||||
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
normal = {
|
normal = {
|
||||||
a = { bg = p.rose, fg = p.base, gui = "bold" },
|
a = { bg = p.rose, fg = p.base, gui = "bold" },
|
||||||
b = { bg = p.overlay, fg = p.rose },
|
b = { bg = p.overlay, fg = p.rose },
|
||||||
c = { bg = p.base, fg = p.text },
|
c = { bg = bg_base, fg = p.text },
|
||||||
},
|
},
|
||||||
insert = {
|
insert = {
|
||||||
a = { bg = p.foam, fg = p.base, gui = "bold" },
|
a = { bg = p.foam, fg = p.base, gui = "bold" },
|
||||||
b = { bg = p.overlay, fg = p.foam },
|
b = { bg = p.overlay, fg = p.foam },
|
||||||
c = { bg = p.base, fg = p.text },
|
c = { bg = bg_base, fg = p.text },
|
||||||
},
|
},
|
||||||
visual = {
|
visual = {
|
||||||
a = { bg = p.iris, fg = p.base, gui = "bold" },
|
a = { bg = p.iris, fg = p.base, gui = "bold" },
|
||||||
b = { bg = p.overlay, fg = p.iris },
|
b = { bg = p.overlay, fg = p.iris },
|
||||||
c = { bg = p.base, fg = p.text },
|
c = { bg = bg_base, fg = p.text },
|
||||||
},
|
},
|
||||||
replace = {
|
replace = {
|
||||||
a = { bg = p.pine, fg = p.base, gui = "bold" },
|
a = { bg = p.pine, fg = p.base, gui = "bold" },
|
||||||
b = { bg = p.overlay, fg = p.pine },
|
b = { bg = p.overlay, fg = p.pine },
|
||||||
c = { bg = p.base, fg = p.text },
|
c = { bg = bg_base, fg = p.text },
|
||||||
},
|
},
|
||||||
command = {
|
command = {
|
||||||
a = { bg = p.love, fg = p.base, gui = "bold" },
|
a = { bg = p.love, fg = p.base, gui = "bold" },
|
||||||
b = { bg = p.overlay, fg = p.love },
|
b = { bg = p.overlay, fg = p.love },
|
||||||
c = { bg = p.base, fg = p.text },
|
c = { bg = bg_base, fg = p.text },
|
||||||
},
|
},
|
||||||
inactive = {
|
inactive = {
|
||||||
a = { bg = p.base, fg = p.muted, gui = "bold" },
|
a = { bg = bg_base, fg = p.muted, gui = "bold" },
|
||||||
b = { bg = p.base, fg = p.muted },
|
b = { bg = bg_base, fg = p.muted },
|
||||||
c = { bg = p.base, fg = p.muted },
|
c = { bg = bg_base, fg = p.muted },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue