ui/richtext/RichTextRandomButton.cs

A UI rich text style component that defines the appearance for a "RANDOM" button token. It sets colors, border, radius and a subtle background gradient by overriding properties on RichTextBase.

[RichTextPanel( @"\bRANDOM\b" )]
public class RichTextRandomButton : RichTextBase
{
	public override Color Color => new Color( 1f, 1f, 0.5f );

	public override Color? BorderColor => new Color( 1f, 1f, 0.9f ).Saturate( 1f ).WithAlpha(0.2f);
	public override float? BorderWidth => 1f;

	public override float? BorderRadius => 3f;
	public override Color? BackgroundGradientStart => new Color( 1f, 1f, 0.5f, 0.1f );
	public override Color? BackgroundGradientEnd => new Color( 1f, 1f, 0.5f, 0.1f );
	public override float? BackgroundGradientAngle => -105f;
}