@@ 14,7 14,9 @@
# https://github.com/neanias/everforest-nvim?tab=readme-ov-file#overriding-highlight-groups
# https://github.com/neanias/everforest-nvim/blob/main/lua/everforest/highlights.lua
extraConfigLua = ''
- require('everforest').setup({
+ local everforest = require('everforest')
+
+ everforest.setup({
background = 'hard',
italics = true,
on_highlights = function(hl, palette)
@@ 23,6 25,13 @@
end,
})
vim.o.background = "light"
+
+ local colours = require("everforest.colours")
+ local palette = colours.generate_palette(everforest.config, vim.o.background)
+
+ -- set telescope colours
+ vim.api.nvim_set_hl(0, "TelescopeResultsBorder", { bg = palette.bg_green })
+ vim.api.nvim_set_hl(0, "TelescopePreviewBorder", { bg = palette.bg_red })
'';
colorscheme = "everforest";
}