You can think of this recipe as a template, and you can alter it according to your tastes.
'garnish' on Serious Eats
This recipe is adapted from a recipe that Todd Thrasher provided to Imbibe magazine. I've added lime zest and fresh thyme, both of which work well in cocktails. The result is a bright, citrusy onion that tastes fantastic in a Gibson.
Candied citrus zest makes a lovely garnish for summer desserts. It also makes a damn fine addition to summer cocktails, and is the secret ingredient in my rosemary lemonade cake.