ui/richtext/RichTextCommon.cs

A small UI rich-text style declaration used by the RichText system. It matches the pattern "\b[Cc]ommon?\b" and sets color, italic and font weight for matched text.

using Sandbox.UI;

[RichTextPanel( @"\b[Cc]ommon?\b" )]
public class RichTextCommon : RichTextBase
{
	public override Color Color => new Color( 0.9f, 0.9f, 0.9f );
	public override bool Italic => true;
	public override int? FontWeight => 500;
}