From c581a158c20afd5ca96a07f7ea52bdac5709667e Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 18 Aug 2023 00:38:55 +0200 Subject: [PATCH] changed cursor and search color --- lua/tccs/colors.lua | 1 + lua/tccs/theme.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/tccs/colors.lua b/lua/tccs/colors.lua index 5092be8..0362b51 100644 --- a/lua/tccs/colors.lua +++ b/lua/tccs/colors.lua @@ -8,6 +8,7 @@ colors.get_colors = function() bg_alt = "#0D1016", fg = "#D4D4D4", fg_alt = "#CE9178", + cursor = "#AEAFAD", accent = "#C586C0", accent_alt = "#608B4E", ui = "#4D5566", diff --git a/lua/tccs/theme.lua b/lua/tccs/theme.lua index 1ff95e6..87535f9 100644 --- a/lua/tccs/theme.lua +++ b/lua/tccs/theme.lua @@ -6,7 +6,7 @@ theme.set_highlights = function(opts) hl(0, 'Normal', { fg = c.fg, bg = c.bg }) hl(0, 'ColorColumn', { bg = c.color_column }) - hl(0, 'Cursor', { fg = c.tag }) + hl(0, 'Cursor', { fg = c.cursor }) hl(0, 'CursorLine', { bg = c.bg_alt }) hl(0, 'CursorColumn', { bg = c.bg_alt }) @@ -33,7 +33,7 @@ theme.set_highlights = function(opts) hl(0, 'FloatBorder', { fg = c.fg, bg = c.popup }) hl(0, 'Question', { fg = c.fg_alt }) - hl(0, 'Search', { fg = c.bg, bg = c.fg }) + hl(0, 'Search', { fg = c.bg, bg = c.fg_alt }) hl(0, 'SpecialKey', { fg = c.popup }) hl(0, 'SpellCap', { fg = c.warning, undercurl = true, sp = c.error })