A RichText markup class for the UI that applies a purple color and shadow to text matched by the regex "\b[Mm]ark(?:s|ed)?\b". It inherits RichTextBase and overrides Color and shadow properties.
[RichTextPanel( @"\b[Mm]ark(?:s|ed)?\b" )]
public class RichTextMark : RichTextBase
{
public override Color Color => new Color( 0.75f, 0.4f, 1f );
public override float? TextShadowBlur => 3f;
public override Color? TextShadowColor => new Color( 0.6f, 0.1f, 1f, 1f );
public override float? TextShadowOffsetY => -4f;
}