Skip to main content
Question

Can't use existing color style or variable in conditional action


IraX
  • Active Member
  • 145 replies

Within a condition I am using the Set variable action to set the color of the variable alertStatus, however I need to go rogue and set that color by hand, despite having it defined in my system (as a style or color variable does not matter).

Is there a way to do this with defined colors? If not this is inefficient and error-prone and there should be a manner of feeding existing colors to variables within actions.

This topic has been closed for replies.

4 replies

Yorgos_Koussoroplis

Same goes for variable modes. I created a collection with all my colors and for each I have a Light mode and a Dark mode. I was expecting to be able to change the mode in the Set variable prototype as per this help article

Select mode definitions in prototype actions

Not sure if it’s a bug or I am doing something wrong.


James_McKay_frogNorway

Yeah, I wanted to point a token colour variable at a different primitive colour variable … though there is only the colour picker or document colours to choose from here. Not the actual colour variables already defined in the primitives collection. 😦


  • 6 replies
  • April 15, 2024

Nope, afaik there is no way to change the mode of a variable. You select it once and when you use set variable, it change the variable only for that mode


Kasia_Julia
  • New Participant
  • 6 replies
  • May 5, 2024

Still interested in this topic πŸ™‚.
If one color value used in many conditionals, it’s ultra inefficient to choose via picker or typing in every time. Any changes in here, or has anybody have hints for any way-arounds?


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