ui/richtext/RichTextUnique.cs

A small UI rich text styling component. It defines a RichTextPanel matching the word 'unique' (case-insensitive) and sets color, italic, and font weight for that token.

using Sandbox.UI;

[RichTextPanel( @"\b[Uu]nique\b" )]
public class RichTextUnique : RichTextBase
{
	public override Color Color => new Color( 1f, 1f, 0.6f );
	public override bool Italic => true;
	public override int? FontWeight => 500;
}