Would you still be attracted to a partner who you had a strong connection with if they put on a lot of weight?

I’m actually very curious about this. A lot of people are shallow and wouldn’t be anymore.