Please add support for math operations for setting variables’ values like we do in Tokens Studio for Figma plugin. This would allow to build presets based on a common base value and therefore easily switch between e.g. standard and dense layouts.
Published a plugin that does exactly this, will post a link here after it passes the review 🤞
+1 - very much need
https://www.figma.com/community/plugin/1365339609215368041/dynamic-variables
Ok, here’s the plugin, give it a try!
For example, @K16E_Inc request will look like this
{{ $rounder * 1.5 }}
+1, really need this also!
It would save a ton of time and help create clean systems, especially for Type systems, spacing etc.
Im using this personally for my invoicing. Would love to just assign Gross (rate * hours), Goods and Services Tax (Gross * 10%), and Net (Gross + GST). Just set your hourly rate once, then just enter in your hours and you have an invoice.
@Ee_Yern_Ng my plugin can help you! I have already posted an example with tax calculation here:
https://forum.figma.com/t/calculations-and-maths-in-variables/70645/2
https://forum.figma.com/t/calculations-and-maths-in-variables/70645/3
+1, I desperately need this to simplify my design system
I was searching for this feature because I need to set the base ratio for the fonts.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.