From 90c5f60f1d3e915aa386f11d72136a2d92a604b3 Mon Sep 17 00:00:00 2001 From: letheed Date: Fri, 15 Jun 2018 00:31:43 +0200 Subject: Tweak adaptative guideline and completion_background color --- editor/editor_themes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 6d9a5c161f..261b4a44dd 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -1056,7 +1056,7 @@ Ref create_editor_theme(const Ref p_theme) { const Color string_color = Color::html(dark_theme ? "#ffd942" : "#ffd118").linear_interpolate(mono_color, dark_theme ? 0.5 : 0.3); const Color te_background_color = dark_theme ? background_color : base_color; - const Color completion_background_color = base_color; + const Color completion_background_color = dark_theme ? base_color : background_color; const Color completion_selected_color = alpha1; const Color completion_existing_color = alpha2; const Color completion_scroll_color = alpha1; @@ -1069,7 +1069,7 @@ Ref create_editor_theme(const Ref p_theme) { const Color selection_color = alpha2; const Color brace_mismatch_color = error_color; const Color current_line_color = alpha1; - const Color line_length_guideline_color = warning_color; + const Color line_length_guideline_color = dark_theme ? base_color : background_color; const Color word_highlighted_color = alpha1; const Color number_color = basetype_color.linear_interpolate(mono_color, dark_theme ? 0.5 : 0.3); const Color function_color = main_color; -- cgit v1.2.3