Same variant (light/dark) takes longer to load

Hi, I have a case where two versions of the same component, one for light theme and one for dark theme, have a very different loading time.

Both are huge variants (756 variants), and the only difference between the two are the colors applied. What I can’t get my head around is why they take such a different time to load: the light one loads in around 30s when inserted from the Assets panel, while the dark pretty much instantly is inserted.

The only possible explanation I see is related to the base components, which are by default in light theme. Their colors are overriden in dark theme.

I have made a demo file for everyone to try and explain this.

Thank you!