diff options
author | nokoe <nokoe@mailbox.org> | 2024-10-03 17:09:56 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-10-03 17:10:27 +0200 |
commit | f23afc6b145e47748f1fa76f4fe8b9e907ee101d (patch) | |
tree | c5291880a959c70a2716cdc0143c07fea623d7ae /client | |
parent | 784351c6fc8b16abcb92c20d15505a6db2445a99 (diff) | |
download | hurrycurry-f23afc6b145e47748f1fa76f4fe8b9e907ee101d.tar hurrycurry-f23afc6b145e47748f1fa76f4fe8b9e907ee101d.tar.bz2 hurrycurry-f23afc6b145e47748f1fa76f4fe8b9e907ee101d.tar.zst |
improve contrast in chat username colors
Diffstat (limited to 'client')
-rw-r--r-- | client/menu/communicate/chat/chat_message.gd | 2 |
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) |