From 377b0f4065291251cbd189fa0bd586d939af75c8 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 31 Jul 2025 11:09:13 +0300 Subject: [PATCH] feat(telescope): theming changes --- config/colourscheme.nix | 11 ++++++++++- config/plugins/telescope.nix | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/config/colourscheme.nix b/config/colourscheme.nix index c2fb920..32ed8c0 100644 --- a/config/colourscheme.nix +++ b/config/colourscheme.nix @@ -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"; } diff --git a/config/plugins/telescope.nix b/config/plugins/telescope.nix index a00eac2..9bfa255 100644 --- a/config/plugins/telescope.nix +++ b/config/plugins/telescope.nix @@ -15,6 +15,7 @@ }; settings = { defaults = { + borderchars = [" " " " " " " " " " " " " " " "]; file_ignore_patterns = [ "%.lock" ]; -- 2.44.1