|
@@ -1040,6 +1040,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 function_definition_color = Color::html(dark_theme ? "#01e1ff" : "#00a5ba");
|
|
|
+ const Color node_path_color = Color::html(dark_theme ? "64c15a" : "#518b4b");
|
|
|
|
|
|
const Color te_background_color = Color(0, 0, 0, 0);
|
|
|
const Color completion_background_color = base_color;
|
|
@@ -1101,6 +1102,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
|
|
setting->set_initial_value("text_editor/highlighting/search_result_border_color", search_result_border_color, true);
|
|
|
|
|
|
setting->set_initial_value("text_editor/highlighting/gdscript/function_definition_color", function_definition_color, true);
|
|
|
+ setting->set_initial_value("text_editor/highlighting/gdscript/node_path_color", node_path_color, true);
|
|
|
} else if (text_editor_color_theme == "Default") {
|
|
|
setting->set_initial_value("text_editor/highlighting/symbol_color", Color::html("badfff"), true);
|
|
|
setting->set_initial_value("text_editor/highlighting/keyword_color", Color::html("ffffb3"), true);
|
|
@@ -1134,6 +1136,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
|
|
setting->set_initial_value("text_editor/highlighting/search_result_border_color", Color(0.1, 0.45, 0.1, 1), true);
|
|
|
|
|
|
setting->set_initial_value("text_editor/highlighting/gdscript/function_definition_color", Color::html("#01e1ff"), true);
|
|
|
+ setting->set_initial_value("text_editor/highlighting/gdscript/node_path_color", Color::html("#64c15a"), true);
|
|
|
}
|
|
|
|
|
|
return theme;
|