Rename the bundled text editor themes for consistency with themes

The Adaptive text editor theme is the default, and has therefore
been renamed Default for consistency with the Default theme preset.
It keeps its automatic dark/light switch status.

The Default text editor theme was actually a legacy Godot 2-style theme,
so it has been renamed to Godot 2 to match the theme preset.
Its background color has been changed to be a constant opaque color,
since the new editor theme made the theme look less good on a translucent
background. The previous background color on light theme also lacked
contrast.
This commit is contained in:
Hugo Locurcio 2021-05-27 10:22:36 +02:00
parent 364ea7f280
commit 1704be0a44
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
4 changed files with 15 additions and 16 deletions

View file

@ -108,7 +108,7 @@ private:
void _add_property_info_bind(const Dictionary &p_info);
void _load_defaults(Ref<ConfigFile> p_extra_config = Ref<ConfigFile>());
void _load_default_text_editor_theme();
void _load_godot2_text_editor_theme();
bool _save_text_editor_theme(String p_file);
bool _is_default_text_editor_theme(String p_theme_name);