Adding themes to your Lottie animations can significantly enhance your designs, especially if you need multiple visual styles of a single animation.
This step-by-step guide will show you how to integrate Lottie Theming into your Lottie animations using Lottie Creator.
Using themes in your dotLottie animations
theming_example.lottie contains 1 theme named "dark". We can sync the theme with the system theme by passing the themeId as null when the system theme is light and "dark" when the system theme is dark.