Variables: Use of Math with Aliases

I’m super excited to be using native variables in Figma; however, there are couple of glaring holes.

  1. Identifying an EM scale for text (maybe this will come with Font Variables support)
  2. Need to be able to reference an existing Variable (an Alias) and be able to do math on it; for instance, if Spacer = 20px, i would like to be able to reference {spacer}/2 to get 10px without changing the parent value
2 Likes

Variable math is possible with a plugin. https://www.figma.com/community/plugin/899028246731755335

Generator Variables

This is interesting, but unfortunately not what I’m trying to accomplish. I can already do math with variables in TokenStudio, which does it very well with a Plugin, I just really want to be able to do this without a plugin in the native Figma Variables.