From 8223c970677e4d88c9b6b6d81bda23daf11062bb Mon Sep 17 00:00:00 2001 From: Hassan Khalid Date: Fri, 31 Dec 2021 08:43:19 +0000 Subject: [PATCH] feat: set TelescopeNormal to default fg and bg colors (#137) When transparency is enabled the background for Telescope seems to be just black. This this doesn't blend well with the rest of the theme in transparency mode. While the default fg and bg are not transparent, they do provide a better contrast and seems easier on the eye. --- lua/tokyonight/theme.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 96e9dd3..7e106cf 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -303,7 +303,8 @@ function M.setup(config) GitSignsDelete = { fg = c.gitSigns.delete }, -- diff mode: Deleted line |diff.txt| -- Telescope - TelescopeBorder = { fg = c.border_highlight }, + TelescopeBorder = { fg = c.border_highlight, bg = c.bg_float }, + TelescopeNormal = { fg = c.fg, bg = c.bg_float }, -- NvimTree NvimTreeNormal = { fg = c.fg_sidebar, bg = c.bg_sidebar },