From e634ee7d46612c6fe514ba0a7114b62e8f8347a6 Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 18 Aug 2023 01:21:13 +0200 Subject: [PATCH] changed color for better readibility of text --- lua/tccs/colors.lua | 87 +++++++++++++++++++++++---------------------- lua/tccs/theme.lua | 2 +- 2 files changed, 45 insertions(+), 44 deletions(-) diff --git a/lua/tccs/colors.lua b/lua/tccs/colors.lua index 0362b51..6f85bbc 100644 --- a/lua/tccs/colors.lua +++ b/lua/tccs/colors.lua @@ -4,53 +4,54 @@ colors.get_colors = function() mycolors = { -- ui - bg = "#191919", - bg_alt = "#0D1016", - fg = "#D4D4D4", - fg_alt = "#CE9178", - cursor = "#AEAFAD", - accent = "#C586C0", - accent_alt = "#608B4E", - ui = "#4D5566", - color_column = "#772222", - popup = "#272727", - border = "#242A35", - border_alt = "#393F4D", - fg_idle = "#FFD602", + bg = "#191919", + bg_alt = "#0D1016", + fg = "#D4D4D4", + fg_alt = "#CE9178", + cursor = "#AEAFAD", + accent = "#C586C0", + accent_alt = "#608B4E", + ui = "#4D5566", + color_column = "#772222", + popup = "#272727", + border = "#242A35", + border_alt = "#393F4D", + fg_idle = "#FFD602", -- syntax - tag = "#9CDCFE", - func = "#DCDCAA", - entity = "#9CDCFE", - string = "#CE9178", - regexp = "#D16969", - markup = "#C586C0", - keyword = "#C586C0", - special = "#D7BA7D", - comment = "#608B4E", - constant = "#4FC1FE", - bold = "#569CD6", - operator = "#C586C0", - number = "#B5CEA8", + tag = "#9CDCFE", + func = "#DCDCAA", + entity = "#9CDCFE", + string = "#CE9178", + regexp = "#D16969", + markup = "#C586C0", + keyword = "#C586C0", + special = "#D7BA7D", + comment = "#608B4E", + constant = "#4FC1FE", + bold = "#569CD6", + operator = "#C586C0", + number = "#B5CEA8", -- git - added_fg = "#6A9955", - added_bg = "#0E1F17", - modified_fg = "#004080", - modified_bg = "#223255", - removed_fg = "#D16969", - removed_bg = "#190E11", + added_fg = "#6A9955", + added_bg = "#0E1F17", + modified_fg = "#569CD6", + modified_fg_alt = "#004080", + modified_bg = "#223255", + removed_fg = "#D16969", + removed_bg = "#190E11", -- lsp - error = "#FB0101", - warning = "#FFD602", - hint = "#608B4E", + error = "#FB0101", + warning = "#FFD602", + hint = "#608B4E", -- line - line_fg = "#D4D4D4", - line_bg = "#272727", - line_bg_alt = "#0D1016", - line_visual = "#C586C0", - line_normal = "#6A9955", - line_insert = "#569CD6", - line_replace = "#D16969", - line_contrast = "#CE9178", + line_fg = "#D4D4D4", + line_bg = "#272727", + line_bg_alt = "#0D1016", + line_visual = "#C586C0", + line_normal = "#6A9955", + line_insert = "#569CD6", + line_replace = "#D16969", + line_contrast = "#CE9178", } -- Extend the colors with overrides passed by `color_overrides` diff --git a/lua/tccs/theme.lua b/lua/tccs/theme.lua index 87535f9..81990b5 100644 --- a/lua/tccs/theme.lua +++ b/lua/tccs/theme.lua @@ -84,7 +84,7 @@ theme.set_highlights = function(opts) hl(0, 'DiffChange', { bg = c.modified_bg }) hl(0, 'DiffDelete', { bg = c.removed_bg }) hl(0, 'diffRemoved', { link = 'DiffDelete' }) - hl(0, 'DiffText', { bg = c.modified_fg }) + hl(0, 'DiffText', { bg = c.modified_fg_alt }) -- netrw hl(0, 'netrwClassify', { fg = c.fg_alt })