Anti-inflammatory diets during pregnancy are associated with better postpartum sleep quality among women with obesity prior to pregnancy.