Resolved onWarning, falling back to onPrimary.
Color get resolvedOnWarning => onWarning ?? onPrimary;