Is there anyone using Style Dictionary with Figma Tokens?
For us newbies, how do we apply units to our values? In most cases we’d want
rem. This might be more of a Style Dictionary question, but I have yet to see it answered in a direct manner. If all Figma values are based on pixels, then they need to be converted to
rem or appended with
I can’t define my
1rem because calculating strings with integers or floats just doesn’t work.
In my Style Dictionary config, I have specified
"transforms": ["attribute/cti", "size/rem"]