Skip to main content
Question

Auto Variable Mode Not Inheriting Parent Container

  • October 10, 2023
  • 1 reply
  • 297 views

Talia_Rose

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!

This topic has been closed for replies.

1 reply

djv
Figmate
  • Community Support
  • 4773 replies
  • October 20, 2023

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?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings