1Heat butter and oil together in a skillet over medium heat; add onion. Cook and stir until onion is translucent, 10 to 15 minutes. Stir garlic, thyme, salt, and pepper into onion; cook and stir until fragrant, about 2 minutes. Remove skillet from heat.