ui/richtext/RichTextNewCopy.cs

A small UI rich text panel class marked with a RichTextPanel attribute for the pattern "new copy". It subclasses RichTextBase and overrides a few animation and color properties to return static values (animation name, duration, timing, direction, and white color).

[RichTextPanel( @"\bnew copy\b" )]
public class RichTextNewCopy : RichTextBase
{
	public override string AnimationName => "echo-clone";
	public override float? AnimationDuration => 1.2f;
	public override string AnimationTimingFunction => "ease-in";
	public override string AnimationDirection => "normal";

	public override Color Color => new Color( 1f, 1f, 1f );
}