tomato salad

I have several recipes for tomato/onion/herbs, etc salads which can be made ahead of time. Some say to leave in the marinade on the counter for several hours. Can it be left on the counter even overnight? Does refrigerating the salad do something to the chemistry or flavor?