Yes, vinegar-based condiments should ideally be kept in dark bottles to protect them from light exposure, which can degrade their quality and flavor over time.
Vinegar, especially when infused with herbs, spices, or fruits, contains compounds that are sensitive to light. Exposure to light, particularly ultraviolet (UV) light, can cause these compounds to break down, leading to a loss of flavor, color changes, and a reduction in the overall quality of the condiment. Dark bottles, typically made of amber or dark green glass, help to filter out harmful light rays, preserving the vinegar's characteristics for a longer period. Clear bottles offer little to no protection, making the condiment more susceptible to degradation. Think of it like storing wine; darker bottles are preferred for the same reason. The darker the bottle, the better the protection.
If you can't find a dark bottle, store your vinegar-based condiments in a dark pantry or cupboard to minimize light exposure. This will help to extend their shelf life and maintain their flavor profile.