protected override void RegisterClasses() { ClassMapper .Add(() => ClassProvider.Button()) .If(() => ClassProvider.ButtonColor(Color), () => Color != Color.None) .If(() => ClassProvider.ButtonOutline(Color), () => IsOutline) .If(() => ClassProvider.ButtonSize(Size), () => Size != Size.None) .If(() => ClassProvider.ButtonBlock(), () => IsBlock) .If(() => ClassProvider.ButtonActive(), () => IsActive); AddonContainerClassMapper .If(() => ClassProvider.AddonContainer(), () => IsAddons); base.RegisterClasses(); }