Well, in my opinion, pink eye cannot spread through foods, so you do not need to worry about it. First, you should know that pink eye is a kind of eye infection which can just lead to redness in your eyes. Also, itchy eyes, burning eyes can be very common. Of course, pink eye is severely contagious and can spread through indirect contact and direct contact. According to some researches, pink eye can be spread indirectly. By the way, the infection can also spread from one eye to the other by rubbing or touching one eye and then rubbing or touching the unaffected eye. But there is no evidence which shows that it can spread through foods.
The three common styles of pink eyes includes viral conjunctivitis, allergic conjunctivitis and bacterial conjunctivitis, but only the last one of them is contagious. One apparent symptom of bacterial conjunctivitis is the abnormal discharges in the corner of eyes, I mean, you may have yellow, sticky or greenish-yellow eye discharges containing the bacteria. They can infect through hands and items that have touched the contagious eyes, or even through air. So if your hand touch the eyes or the items that have touched contagious eye, and you do not wash them thoroughly afterwards, the food will be contagious, not by itself, but by the bacteria brought by your hand.