I made these on the Fourth of July because I had overcooked the tiny onions I wanted to use for my kabobs. Not wanting to waste good baby onions from the garden, I threw this together as a "relish". It is really seat of the pants cooking at its best. Just decide what you want and start adding to it.
Steam unpeeled onions in the microwave on high 2-4 minutes until soft but not mushy. Remove and let cool, then cut off the root end and just squeeze the bulb out of the skin. Discard skins and place bulbs in medium heatproof bowl.
In small saucepan, mix remaining ingredients and bring to simmer. Simmer til sugar is disolved, then adjust taste to your liking, adding more of any of the ingredients to make more or less sweet, vinegary, spicy, etc. pour hot mixture over onions in bowl and let marinate. Best if marinated longer, but I think mine waited about an hour or two before they were served.
As I said, this is not really much of a recipe, more of an afterthought. But they were good.