Skip to main content
A_Gussenberg
July 13, 2023

Calculation formula within variable input

  • July 13, 2023
  • 74 replies
  • 11482 views

Hey folks, first of all I love the new variable function. Within the setup of spacings I want to reference my base value (“8”) and do calculations, e.g. (spacing-base)*2". This works fine and the value is calculated properly within the input to add a new variable. But I expected not that the calculation string changes to the absolute value. With this behaviour I loose the connection/ reference to my base value and the calculation is some how obsolete.

Does anybody feel the same?
Will there be an update?

image

Thanks

74 replies

Bohdan24
January 31, 2024

+1 Need this feature to be able to create easy customisable design system

mo_hamwi
Active Member
January 31, 2024

+1 I agree

Toby_Magrath1
February 15, 2024

+1000 we def need this asap. I am trying to set up a pretty large library that will be shared across many lines of business, they all have and want different things like spacing, padding, and corners plus we want to add controls for density which a multiplier would be perfect for e.g. #base-spacing*1.5

Robert_Wiese
February 15, 2024

+1 for this. Very nice feature to have 👍

Tim_Judemann
March 22, 2024

+1 from me, too

Anke_M
April 12, 2024

+1 one more vote for this!!!

April 17, 2024

To actually properly support measurement tokens, this is essential.

April 17, 2024

+1 one more vote for this.

Sanny
New Participant
April 19, 2024

any status on this feature?

Bonnie_Mercer
April 20, 2024

Would love this feature also!!