diff --git a/editor/plugins/shader_editor_plugin.cpp b/editor/plugins/shader_editor_plugin.cpp index 73ebb437e74..e696560ae8d 100644 --- a/editor/plugins/shader_editor_plugin.cpp +++ b/editor/plugins/shader_editor_plugin.cpp @@ -172,8 +172,10 @@ void ShaderTextEditor::_load_theme_settings() { } } + const Color user_type_color = EDITOR_GET("text_editor/highlighting/user_type_color"); + for (List::Element *E = built_ins.front(); E; E = E->next()) { - get_text_edit()->add_keyword_color(E->get(), member_variable_color); + get_text_edit()->add_keyword_color(E->get(), user_type_color); } // Colorize comments.