ui/richtext/RichTextPunch.cs

A RichText panel class that styles words matching the regex for "punch" variants. It sets skew, font weight, and a pinkish-orange color for matched text in rich text rendering.

using Sandbox;

[RichTextPanel( @"\b[Pp]unch(es|ing)?\b" )]
public class RichTextPunch : RichTextBase
{
	public override float? SkewX => -6;
	public override int? FontWeight => 900;

	public override Color Color => new Color( 1f, 0.7f, 0.6f, 0.9f );
}