From cb080a63dc6855409300b02195a9d154845ca66d Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Fri, 4 Jun 2021 13:23:01 -0400 Subject: Allow syntax highlighting to be preserved in selected text. Also fix some visual issues with selected and inactive text. --- themes/light.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'themes/light.lua') diff --git a/themes/light.lua b/themes/light.lua index 6aaa9a5c..b91d401c 100644 --- a/themes/light.lua +++ b/themes/light.lua @@ -84,10 +84,12 @@ styles.variable = {fore = colors.dark_lavender} styles.whitespace = {} -- Element colors. -view.element_color[view.ELEMENT_SELECTION_TEXT] = colors.light_black -view.element_color[view.ELEMENT_SELECTION_BACK] = colors.light_grey -view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = colors.light_black -view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.light_grey +-- view.element_color[view.ELEMENT_SELECTION_TEXT] = colors.light_black +view.element_color[view.ELEMENT_SELECTION_BACK] = colors.grey_white +-- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = colors.light_black +view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.grey_white +-- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = colors.light_black +view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.dark_white view.element_color[view.ELEMENT_CARET] = colors.grey_black -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.dark_white -- cgit v1.2.3