Skip to main content

I’m encountering an issue where I’m trying to set accent/default (Nahi Jee Mode) to reference shadow/default, but it throws an error saying, “Invalid – that selection would create an infinite loop of variables.” From my understanding, accent/defaultshadow/defaultbutton/primary/secondary/text doesn’t seem to form a circular dependency based on the full variable collection shown in the image. I’ve double-checked the chain, and there’s no clear path looping back to accent/default.


Could there be hidden or unresolved dependencies causing this, or is it a system misinterpretation? Any insights from the community would be greatly appreciated!


The “infinite loop error” when setting a variable alias without a clear circular dependency often stems from indirect dependencies or implicit relationships between variables. To fix this:



  1. Check for hidden indirect dependencies between variables.

  2. Simplify the variable setup to isolate the issue.

  3. Review documentation for specific configuration rules.

  4. Use error handling to prevent infinite loops.


This will help pinpoint and resolve the problem.


Okay Captain Chatgpt but that doesn’t solve the issue.


Reply