I created a toggle animation using Rive, the candle will glow in light mode and blows in dark mode. I have used 5-6timelines for each feature of the candle.
I created a toggle animation using rive, in this the candle glows when user switch to light mode and candle blows when the user switches to the dark mode.