ui/richtext/RichTextInvulnerable.cs

UI RichText panel class that matches the word 'invulnerable' in rich text and styles it. It sets text color to black, a yellow semi-opaque stroke with width 3, and inherits from RichTextBase.

Reflection
using Sandbox.UI;

[RichTextPanel( @"\b[Ii]nvulnerable\b" )]
public class RichTextInvulnerable : RichTextBase
{
	public override Color Color => Color.Black;

	//public override int? FontWeight => 800;
	public override float? TextStrokeWidth => 3f;
	public override Color? TextStrokeColor => Color.Yellow.WithAlpha(0.9f);
}