A RichTextPanel style class that matches text 'Over 1 HP' (case-insensitive) and defines appearance properties. It sets text color, border radius and a subtle background gradient for matched rich text.
[RichTextPanel( @"\b[Oo]ver 1 [Hh][Pp]\b" )]
public class RichTextOver1Hp : RichTextBase
{
public override Color Color => new Color( 1f, 0.7f, 0.85f );
public override float? BorderRadius => 10f;
public override Color? BackgroundGradientStart => new Color( 1f, 0.8f, 1f, 0f );
public override Color? BackgroundGradientEnd => new Color( 1f, 0.8f, 1f, 0.2f );
public override float? BackgroundGradientAngle => -55f;
}