ui/richtext/RichTextZombie.cs

A small RichText panel class for UI that matches the word "Zombie" or "Zombies" and styles it. It sets a left skew of -4 degrees and gives matched text a green color.

using Sandbox;
using Sandbox.UI;

[RichTextPanel( @"\bZombies?\b" )]
public class RichTextZombie : RichTextBase
{
	public override float? SkewX => -4;

	public override Color Color => new Color( 0f, 0.75f, 0f );
}