protected override void RegisterClasses() { ClassMapper .Add(() => ClassProvider.Badge()) .If(() => ClassProvider.BadgeColor(Color), () => Color != Color.None) .If(() => ClassProvider.BadgePill(), () => IsPill); base.RegisterClasses(); }