figma-plugin icon indicating copy to clipboard operation
figma-plugin copied to clipboard

[2.0]: Typography styles are not always created with the right typography variables

Open six7 opened this issue 9 months ago • 0 comments

When we create typography styles we sometimes don't create them properly with the right typography variables.

file for reference: twtextonlytokens (1).zip

  • open the Figma file (duplicate so you have a no-variables version)
  • Export to figma with these options
  • All variables
  • Only typography styles
  • Styles as variables ON
  • You'll see some text styles do not have
  • a font family variable mapped or
  • a font weight variable mapped
  • the font weight not mapped and its the wrong weight from the typography token

If you replicate and only have text styles created without variables, the font family and weights are correct.

six7 avatar Apr 30 '24 21:04 six7