Text this: Cosmological phase transitions and the swampland