ui/richtext/RichTextNotMoving.cs

A RichText panel type used by the UI to style text that matches the pattern "\b[Nn]ot [Mm]oving\b". It sets a custom text color, black stroke color, and a stroke width; commented lines show optional underline settings.

[RichTextPanel( @"\b[Nn]ot [Mm]oving\b" )]
public class RichTextNotMoving : RichTextBase
{
	public override Color Color => new Color( 0.7f, 0.3f, 0.4f );

	//public override bool Underline => true;
	//public override Color? UnderlineColor => Color.Black;

	public override Color? TextStrokeColor => Color.Black;
	public override float? TextStrokeWidth => 4f;
}