ui/richtext/RichTextUntilYouChoose.cs

A small RichText style component. It defines a panel rule that matches text like "(Until you choose)" and sets italic, font size, and color for that matched rich text segment.

[RichTextPanel( @"\([Uu]ntil you choose\)" )]
public class RichTextUntilYouChoose : RichTextBase
{
	public override bool Italic => true;

	public override float? FontSize => 10f;
	public override Color Color => new Color( 1f ).WithAlpha(0.6f);
}