Configure font weight and font style separately

It’s great that I can use variables within Text styles, but there’s a large problem with configuring font weight. I want to use number variables for my font weights. Unfortunately, if I want italics, I am forced to use string variables for my weights.

Figma clearly has logic to isolate font-weight and font-style from the chosen weight configuration in the UI (as seen in CSS code output), so why can’t I configure these two properties separately and Figma recombines them on the backend to identify the font face to load?

6 Likes

And when we use string variables for font weight and font style, those two properties won’t be shown as varibales in CSS code output, it’s a huge problem when it comes to mapping designs tokens …
We (Designer and Devs) really need the possibility to set font weight and font style separately! @Figma_Moderation

1 Like