Use the accent color to highlight selected text
This makes selections easier to see, while making them fit better within the editor theme. This closes #22552.
This commit is contained in:
@@ -407,7 +407,6 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||
_initial_set("text_editor/theme/color_theme", "Adaptive");
|
||||
hints["text_editor/theme/color_theme"] = PropertyInfo(Variant::STRING, "text_editor/theme/color_theme", PROPERTY_HINT_ENUM, "Adaptive,Default,Custom");
|
||||
_initial_set("text_editor/theme/line_spacing", 6);
|
||||
_initial_set("text_editor/theme/selection_color", Color::html("40808080"));
|
||||
|
||||
_load_default_text_editor_theme();
|
||||
|
||||
@@ -635,7 +634,7 @@ void EditorSettings::_load_default_text_editor_theme() {
|
||||
_initial_set("text_editor/highlighting/caret_color", Color::html("aaaaaa"));
|
||||
_initial_set("text_editor/highlighting/caret_background_color", Color::html("000000"));
|
||||
_initial_set("text_editor/highlighting/text_selected_color", Color::html("000000"));
|
||||
_initial_set("text_editor/highlighting/selection_color", Color::html("6ca9c2"));
|
||||
_initial_set("text_editor/highlighting/selection_color", Color::html("5a699ce8"));
|
||||
_initial_set("text_editor/highlighting/brace_mismatch_color", Color(1, 0.2, 0.2));
|
||||
_initial_set("text_editor/highlighting/current_line_color", Color(0.3, 0.5, 0.8, 0.15));
|
||||
_initial_set("text_editor/highlighting/line_length_guideline_color", Color(0.3, 0.5, 0.8, 0.1));
|
||||
|
||||
Reference in New Issue
Block a user