Skip to main content
Solved

Refencing variables across collections _and_ modes

  • June 13, 2024
  • 1 reply
  • 234 views

Description

I have a Primitives collection where I store raw colors. Two modes exist, Dark and Light. As the name implies, it only stores the color scale and associated color value (see first screenshot).

Then I have a Tokens collection where I store colors according to their intent. Again, two modes exist, Dark and Light. Each intent references a color from the Primitives collection, ideally matching the appropritate mode (see next screenshot).

Problem

I have not found a way to create a primitive-to-token variable reference in the secondary mode. The Light mode primitives just don’t appear on the library selection menu (see next screenshot).

I think this is a common enought pattern. Am I missing something or is this functionality not implemented?

Best answer by davelsan

It seems the feature is implemented and works correctly. To reference the Light primitives first I needed to change the variable mode for both collections in the main canvas.

You may consider this question answered. Thanks!

View original
This topic has been closed for replies.

1 reply

  • Author
  • 2 replies
  • Answer
  • June 13, 2024

It seems the feature is implemented and works correctly. To reference the Light primitives first I needed to change the variable mode for both collections in the main canvas.

You may consider this question answered. Thanks!


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