summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-10-03 17:09:56 +0200
committernokoe <nokoe@mailbox.org>2024-10-03 17:10:27 +0200
commitf23afc6b145e47748f1fa76f4fe8b9e907ee101d (patch)
treec5291880a959c70a2716cdc0143c07fea623d7ae
parent784351c6fc8b16abcb92c20d15505a6db2445a99 (diff)
downloadhurrycurry-f23afc6b145e47748f1fa76f4fe8b9e907ee101d.tar
hurrycurry-f23afc6b145e47748f1fa76f4fe8b9e907ee101d.tar.bz2
hurrycurry-f23afc6b145e47748f1fa76f4fe8b9e907ee101d.tar.zst
improve contrast in chat username colors
-rw-r--r--client/menu/communicate/chat/chat_message.gd2
1 files changed, 1 insertions, 1 deletions
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)