summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-06-15 08:56:42 +0200
committerGitHub <noreply@github.com>2018-06-15 08:56:42 +0200
commit4bfa8fabb7ff098836b23c7f52e6dc273cd2e183 (patch)
tree386887d40143081b732162f64990dd4ee99fb9b4
parent7927eb60137c49ab6eb6d591accf6409500dbc1e (diff)
parent90c5f60f1d3e915aa386f11d72136a2d92a604b3 (diff)
Merge pull request #19574 from letheed/tweak-guideline-color
Tweak adaptative guideline and completion_background color
-rw-r--r--editor/editor_themes.cpp4
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;