From f23afc6b145e47748f1fa76f4fe8b9e907ee101d Mon Sep 17 00:00:00 2001 From: nokoe Date: Thu, 3 Oct 2024 17:09:56 +0200 Subject: improve contrast in chat username colors --- client/menu/communicate/chat/chat_message.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/menu') diff --git a/client/menu/communicate/chat/chat_message.gd b/client/menu/communicate/chat/chat_message.gd index c6e64a7c..33dd92c8 100644 --- a/client/menu/communicate/chat/chat_message.gd +++ b/client/menu/communicate/chat/chat_message.gd @@ -23,7 +23,7 @@ class_name ChatMessage func set_message(username: String, message: String, username_color: Color, fade_away: bool = false, fade_time: float = 5.): sender_label.text = "<%s>" % username message_label.text = message - sender_label.add_theme_color_override("font_color", username_color) + sender_label.add_theme_color_override("font_color", username_color.lightened(.5)) if fade_away: fade_away_timer.start(fade_time) -- cgit v1.2.3-70-g09d2