Skip to main content
A_Gussenberg
Jul 13, 2023 8:38 AM UTC

Calculation formula within variable input

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

75 replies

Bohdan24
Jan 31, 2024 9:53 AM UTC

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

mo_hamwi
Active Member
Jan 31, 2024 9:57 AM UTC

+1 I agree

Toby_Magrath1
Feb 15, 2024 10:05 PM UTC

+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
Feb 15, 2024 10:28 PM UTC

+1 for this. Very nice feature to have 👍

Tim_Judemann
Mar 22, 2024 10:25 AM UTC

+1 from me, too

Anke_M
Apr 12, 2024 4:18 PM UTC

+1 one more vote for this!!!

Apr 17, 2024 3:50 AM UTC

To actually properly support measurement tokens, this is essential.

Apr 17, 2024 5:53 AM UTC

+1 one more vote for this.

Sanny
New Participant
Apr 19, 2024 10:21 AM UTC

any status on this feature?

Bonnie_Mercer
Apr 20, 2024 5:40 AM UTC

Would love this feature also!!