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