Skip to main content

It would be convenient if we could inherit the code syntax from a referenced variable. It makes sense that the variable codeSyntax is interpreted out of the box, but it would be very convenient to inherit referenced variables in some scenarios. 

We have a variable collections for designers to control color from a matrix using variable mode. When inspecting the variables in use it would only output --background, --text because this is the name of the variable, but in reality these variables reference variables with other names and codeSyntax. These variables would look something like this:
--ds-color-accent-background, --ds-color-neutral-background. This would also be the variable used in code. 

Whats your thoughts on this?

 

Be the first to reply!

Reply