ui/richtext/RichTextPressR.cs

A RichTextPanel component that matches the regex '\b[Pp]ress [Rr]\b' and defines styling for that token. It sets text/background colors, border color/width/radius and a background gradient for rendering a "Press R" hint.

Reflection
[RichTextPanel( @"\b[Pp]ress [Rr]\b" )]
public class RichTextPressR : RichTextBase
{
	public override Color Color => new Color( 1f, 0.7f, 0.85f );

	public override Color? BorderColor => new Color( 1f, 0.7f, 0.85f ).Saturate( 1f ).WithAlpha(0.6f);
	public override float? BorderWidth => 1f;

	public override float? BorderRadius => 4f;
	public override Color? BackgroundGradientStart => new Color( 0.6f, 0.8f, 1f, 0.1f );
	public override Color? BackgroundGradientEnd => new Color( 1f, 0.8f, 1f, 0.1f );
	public override float? BackgroundGradientAngle => -55f;
}