LottieFiles Dark Mode tip

@media (prefers-color-scheme: dark) is great, but how to handle LottieFiles animations?

You can style your lottie by giving your After Effects layers .classNames, but LottieFiles animations are inside a shadow DOM.

The š¯“°š¯“²š¯“¼š¯“½ of it -> filter: invert(100%); Saved my life.

More by Ernst van Woerden

View profile