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: