ui/richtext/RichTextAutoAim.cs

A UI rich-text panel class for highlighting the phrase "Auto-Aim" (case-insensitive) in rich text. It sets a yellow saturated color and configures an animation named "track" with a 2.5s duration and a custom cubic-bezier timing function.

[RichTextPanel( @"\b[Aa]uto-[Aa]im\b" )]
public class RichTextAutoAim : RichTextBase
{
	public override Color Color => Color.Yellow.Saturate( 0.4f );

	public override string AnimationName => "track";
	public override float? AnimationDuration => 2.5f;
	public override string AnimationTimingFunction => "cubic-bezier(0.68, -0.55, 0.27, 1.55)";
}