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/dark.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'themes/dark.lua') diff --git a/themes/dark.lua b/themes/dark.lua index 3336eebf..f0f96a1e 100644 --- a/themes/dark.lua +++ b/themes/dark.lua @@ -84,10 +84,12 @@ styles.variable = {fore = colors.light_blue} styles.whitespace = {} -- Element colors. -view.element_color[view.ELEMENT_SELECTION_TEXT] = colors.light_black -view.element_color[view.ELEMENT_SELECTION_BACK] = colors.grey -view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = colors.light_black -view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.grey +-- view.element_color[view.ELEMENT_SELECTION_TEXT] = colors.light_grey +view.element_color[view.ELEMENT_SELECTION_BACK] = colors.grey_black +-- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = colors.light_grey +view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.grey_black +-- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = colors.light_grey +view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.light_black view.element_color[view.ELEMENT_CARET] = colors.grey -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.light_black -- cgit v1.2.3