Dev mode shouldn't flag as "Overrides" changes made through variable modes

Hi!
I have a file with some instances that had some variable modes applied (e.g. dark mode instead of light). Nothing else was overridden in the instance. However, Dev Mode shows the banner the message saying: “This instance overrides the color and layout defined by the component.”.

Screenshot 2024-02-26 at 10.33.18

I don’t think that’s correct, though, because we didn’t override anything. We just chose a different color scheme in variables.
If i inspect the changes, it shows that apparently I overrode the colours (which is not true, I just applied a different mode). To avoid any mistake, I wouldn’t flag it as “override”, rather I would highlight that it has a different mode than the “standard” one (which would be rather better).

Thanks!

Hi there, thanks for your feedback!
Our Dev mode would like to have a look at it. Can you please share a link of your file, and share the file with support-share@figma.com (with edit access), so they can take a closer look?

If you are not able to, can you do a minimal repro with a new file that just shows a simple component that exhibits this? It will help us to investigate further! Thanks