diff options
author | letheed <letheed@outlook.com> | 2018-06-15 00:31:43 +0200 |
---|---|---|
committer | letheed <letheed@outlook.com> | 2018-06-15 00:31:43 +0200 |
commit | 90c5f60f1d3e915aa386f11d72136a2d92a604b3 (patch) | |
tree | d39809c85013f39f776f25b50611fc644ab5c33f | |
parent | 4da621603eaf4b85dbaacb64a010ec2e62574ec5 (diff) |
Tweak adaptative guideline and completion_background color
-rw-r--r-- | editor/editor_themes.cpp | 4 |
1 files 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<Theme> create_editor_theme(const Ref<Theme> 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<Theme> create_editor_theme(const Ref<Theme> 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; |