Hello Community,
I was wondering if it is possible to calculate numeric values within numeric variables. When creating a desing system i want to have a base layer of numeric tokens derived from the value of 1 REM equal to 16px
number-100 (for the 100%) would then equal 16. If i want to achieve 8 px number-50 would be {number-100}*0.5.
By doing this i only have to change the value of the number-100 to change the entire system. This has proven itself beneficial when working with the same components for a sub brand or a different client. Change the root in one value and let the logic do most of the rest. This works perfectly fine in Tokens studio and would also be a huge asset to the variables in Figma.
Is this already possible? Please let me know in this case!