Detaching variable should first revert to alias, then to hex code

I have set up a design system with a core color ramp of 10-step color ramps, for example, blue-1 to blue-10.

I then assigned those steps as aliases to semantic variables that I use to define the states of various components. For example, I create a semantic variable for button-hover, and assign blue-6 as an alias.

I would like to be able to detach one of my semantic variables, but preserve the alias. So when detaching the color variant ‘button-hover’, the variant reverts to ‘blue-6’. rather than the hex code Then if necessary I can detach again to revert to the hex.

Current behavior:

  1. Detach variable with alias from layer
  2. Layer reverts to the hex code

Desired behavior:

  1. Detach variable with alias from layer
  2. Layer reverts to alias variable
  3. Detach alias from layer
  4. Layer reverts to hex code
1 Like

Completely agree with you… otherwise what’s the point of creating alias at first place…

Alias name should come first then the hex code.

1 Like

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