I don't think it's shallow but it's really true that attraction can grow over time and looks aren't everything. I think as long as you're not ruling out partner after partner over physical appearance if they are otherwise a good match with personality then you're fine