Nesting of variables

Is there any scope for nested variables?

For example:
I have variables for following colour codes.
#purple50
#purple100
#purple500

Now, I want to create another variable for primary button’s background color
#background-primary = #purple500

By doing so my other team members don’t have to remember the #purple500 is to be used primary backgound color. Also maintaining making a change would be easier.

You can alias a variable value to another variable:

Just click the Libraries tab when changing the color

1 Like

Got it! It is here.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.