* base * arrow pointer for buttons * some progress for text buttons, need cleaning * fixed observe button, remove fraction * just for now * ui tweaks * more ui tweaks * feat: ченджлог в лобби --------- Co-authored-by: Remuchi <RemuchiOfficial@gmail.com>
23 lines
759 B
C#
23 lines
759 B
C#
namespace Content.Shared.Chat;
|
|
|
|
public static class ChatChannelExtensions
|
|
{
|
|
public static Color TextColor(this ChatChannel channel)
|
|
{
|
|
return channel switch
|
|
{
|
|
ChatChannel.Server => Color.FromHex("#9051a8"),
|
|
ChatChannel.Radio => Color.LimeGreen,
|
|
ChatChannel.LOOC => Color.MediumTurquoise,
|
|
ChatChannel.OOC => Color.LightSkyBlue,
|
|
ChatChannel.Dead => Color.MediumPurple,
|
|
ChatChannel.Admin => Color.Red,
|
|
ChatChannel.AdminAlert => Color.Red,
|
|
ChatChannel.AdminChat => Color.HotPink,
|
|
ChatChannel.Whisper => Color.DarkGray,
|
|
ChatChannel.Cult => Color.DarkRed, // WD EDIT
|
|
_ => Color.LightGray
|
|
};
|
|
}
|
|
}
|