A UI rich text style component for 'shock' or 'lightning' words. It defines color and text shadow properties for matched text via a RichTextPanel attribute with a regex.
[RichTextPanel( @"\b([Ss]hock(ed|ing)?|[Ll]ightning)\b" )]
public class RichTextShock : RichTextBase
{
//public override string Icon => "bolt";
public override Color Color => new Color( 1f, 1f, 0.5f );
public override float? TextShadowBlur => 2f;
public override Color? TextShadowColor => new Color( 1f, 0.8f, 0f, 0.9f );
public override float? TextShadowOffsetY => -2f;
}