Resolved onSuccess, falling back to onPrimary.
Color get resolvedOnSuccess => onSuccess ?? onPrimary;