mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
nvim/lua/user/plugins/core/colorscheme.lua: use custom_hightlights
This commit is contained in:
parent
aba8d805ad
commit
e3e733f528
1 changed files with 184 additions and 185 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
local options = {
|
local options = {
|
||||||
flavour = "mocha",
|
flavour = "mocha",
|
||||||
transparent_background = not vim.g.neovide,
|
transparent_background = not vim.g.neovide,
|
||||||
|
|
@ -12,13 +13,13 @@ local options = {
|
||||||
overlay0 = "#3F4256",
|
overlay0 = "#3F4256",
|
||||||
overlay1 = "#5B5F7C",
|
overlay1 = "#5B5F7C",
|
||||||
overlay2 = "#767BA0",
|
overlay2 = "#767BA0",
|
||||||
|
|
||||||
text = "#eceef4",
|
text = "#eceef4",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
no_italic = true,
|
no_italic = true,
|
||||||
no_bold = true,
|
no_bold = true,
|
||||||
highlight_overrides = {
|
custom_highlights = function(colors)
|
||||||
mocha = function(colors)
|
|
||||||
return {
|
return {
|
||||||
CursorLine = { bg = colors.surface0 },
|
CursorLine = { bg = colors.surface0 },
|
||||||
SignColumnSep = { bg = colors.surface0, fg = colors.lavender },
|
SignColumnSep = { bg = colors.surface0, fg = colors.lavender },
|
||||||
|
|
@ -226,7 +227,6 @@ local options = {
|
||||||
["@tag.blade"] = { fg = colors.mauve },
|
["@tag.blade"] = { fg = colors.mauve },
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
|
||||||
integrations = {
|
integrations = {
|
||||||
cmp = true,
|
cmp = true,
|
||||||
treesitter = true,
|
treesitter = true,
|
||||||
|
|
@ -239,7 +239,6 @@ local options = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
name = "catppuccin",
|
name = "catppuccin",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue