summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-04-10 19:59:00 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-04-10 20:00:29 +0200
commitfa586289c60f34ed51d9949a26cef259ef989cf5 (patch)
treef521d10b39d491124dda35f2ef33ec77cd748c7a
parent07b76c0376eef34fcbf52ecc21074c5084f980f5 (diff)
Brighten the RichTextLabel color in the default theme
This makes its default color match Label's color, which leads to a more consistent appearance. This partially addresses #24570.
-rw-r--r--scene/resources/default_theme/default_theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index c7a815d8a4..f425972183 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -795,7 +795,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_font("bold_italics_font", "RichTextLabel", default_font);
theme->set_font("mono_font", "RichTextLabel", default_font);
- theme->set_color("default_color", "RichTextLabel", control_font_color);
+ theme->set_color("default_color", "RichTextLabel", Color(1, 1, 1));
theme->set_color("font_color_selected", "RichTextLabel", font_color_selection);
theme->set_color("selection_color", "RichTextLabel", Color(0.1, 0.1, 1, 0.8));