Hi everyone. I’m playing around with variables and I’m running into an issue where my components aren’t inheriting the parent mode unless that mode is in the same collection. I’m not sure if this is by design or if it’s a bug. If it’s by design, it doesn’t work very well for large component libraries (I’m trying to keep my backgrounds and elevations in one collection and components in other collections). My modes are all named the same (Light and Dark). Is there something I’m missing? Thanks!
Page 1 / 1
Hey Natalia, thanks for reaching out!
This is an expected behavior, because we do not resolve modes by name. We actually resolve modes by collectionId + modeId.
The modes from different collections should be separate and individually selectable, but we can’t fully determine the actual issue with what you’re describing.
Are you able to share a screenshot or a link to your file, so we can take a closer look?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.