Skip to main content

Formulas in token values + Transparency support for color tokens thing


xxver

 

1. Formulas in token values (mathematical operations)
   It would be incredibly useful if we could use simple formulas (e.g. paddingXS*2 + paddingXL*2) when determining token values. Many design systems (for example, Ant Design) use this approach to dynamically obtain tokens. Currently, we haven't even found an analog that can be implemented without any plug-ins). The lack of such a feature makes the work a little more difficult.

2. Transparency support for color tokens  
   Currently, if we need a semi-transparent version of a color marker (for example, purple is 100 at 50% opacity), we have to create a separate marker or manually redefine opacity, which breaks consistency. It would be great if we could keep the original color marker and just apply an opacity modifier (for example, "purple-100" at 40%) without resetting the base value.  

Thank you for reviewing these improvements — we are glad to see how Figma is developing!!  

 

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings