ui/richtext/RichTextHeal.cs

A UI RichText panel class that styles healing-related text. It matches words like 'Heal', 'Healing', or 'Healed' and sets color, shadow, and font weight properties for the matched text.

Reflection
using Sandbox.UI;

[RichTextPanel( @"\b[Hh]eal(ing|ed)?\b" )]
public class RichTextHeal : RichTextBase
{
	public override Color Color => Color.Green.Saturate( 0.3f ).WithAlpha( 0.9f );

	public override float? TextShadowBlur => 4f;
	public override Color? TextShadowColor => Color.Green.Saturate( 1f ).WithAlpha( 0.7f );
	public override float? TextShadowOffsetY => -2f;
	public override int? FontWeight => 700;
}