ui/richtext/bases/RichTextTextNegative.cs

A small RichText markup element class for the UI. It defines a panel for negative text using a regex tag and sets no icon and a red color.

[RichTextPanel( @"\[-\](.*?[%ms]?)\[/-\]" )]
public class RichTextTextNegative : RichTextBase
{
	public override string Icon => "";
	public override Color Color => Color.Parse( "#e84d4d" ) ?? Color.Red;
}