Preheat oven to 180°C/350 °F. Peel and mince garlic. Peel onion and thinly slice. Halve cherry tomatoes. Remove thyme, parsley, and rosemary leaves from sprigs and chop together finely. Add halved cherry tomatoes, sun-dried tomatoes, sliced onion, and minced garlic to a baking dish.