We were pleased that the new typography tokens allow us to offer a default mode (base size 16 for accessibility) and a dense mode (base size 14 for table-heavy applications with reduced accessibility on request).
But for this to work with Figma right now, we would have to create separate tokens for each text style so that we can change them with the modes…
This just seems not feasible. Because in code it works by changing 1 single variable - the base size - we would have to create a BUNCH of extra design tokens just for Figma and then hide them from publishing so they do not appear in our documentation.
Calculate text size based on a base size variable
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.