Components inside a frame change their mode partially

Hi! I’m not sure what caused this, but I’ve stopped having the automatic color token change automatically work inside the document when changing the mode for the outer frame that contains the components.

I created color tokens for light and dark theme. But when I change the overall appearence, the components inside change color only partially (like border becomes dark, but not the text). They have the appearence property set to Auto by default, but they only see Light in it, even though the outer container is set to Dark