enum AppState { idle, busy, isolatedBusy, failed, } enum ButtonStyleMode { primary, flat, }