Skip to main content
Question

Is there a bug when animating variable mode based gradient fills?


Preston S

I have a simple gradient style using color variables with light and dark mode values:

 

 

 

This gradient is used as a fill on the hover variant of a component with a simple dissolve animation while hovering:

 

 

This works fine in Auto (Light) mode, but when placed in a Dark mode frame, there seems to be a flash of light mode colors when mousing out of the component.

Has anyone else encountered this?

Is it a bug, or am I missing something with how color variable modes interact with animations?

Prototype:

https://www.figma.com/proto/iGdy5sUmLWi7LCVrAWKSps/Variable-Based-Gradient-Animation-Bug%3F?page-id=0%3A1&node-id=1-39&viewport=244%2C320%2C0.31&t=91eXvhbCOOKUB3PF-1&scaling=min-zoom&content-scaling=fixed

Design File:

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings