Hi,
I want to use number variables for font weight so that the variables connection can be displayed in dev mode / inspect panel. However, it seems that the font weight is ignored when applying the text style to text in Figma.
When string variables are used, you get to see the following in dev mode / inspect panel > CSS:
font-weight: 400;
When number variables are used, you get to see the following in dev mode / inspect panel > CSS:
font-weight: var(--Regular, 400);
After creating number variables for font weight and text styles that are connected to the variables:
It seems that the font weight is ignored when applying the text style to text in Figma. When using string variables it does work.
Is this a known issue?
Question
Font weight can't be applied to text if number variables are used
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.