Universal Variables for Integers (gap, padding, etc)
A
Andrew Pons
It would be super useful to have support for variables, similar to what Figma offers. Being able to attach specified values to things like padding, gap, or basically anywhere that allows a numerical input would enable a lot of systematic structure that's currently not natively possible.
It could work similarly to how text style sizing works, where its possible to define a size based on the breakpoint. Variables could allow for a layer of abstraction in defining consistent system-wide values, such as "padding-large" being set to 128px on desktop and 64px on mobile, for example. This would make updating values across all pages much easier.
Log In
J
Jakub Bak
So called "design tokens". Super useful and a standard practice in modern web dev. MUCH needed feature.