Skip to main content
Question

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

  • March 10, 2025
  • 0 replies
  • 50 views

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:

Design File:

 

This topic has been closed for replies.