In a medium size bowl combine the salt and sugar to warm water, give a mix until dissolved.
Add vinegar to the water mixture.
Add the onion. Let sit at room temperature for at least an hour. After that you an cover and put in the refrigerator until needed.