I’ve just applied variables to all our project’s text styles.
It all works as expected.
However, in inspect mode, font weight it still displayed as normal css value and not with css-variable.
See screenshots.
Is this a bug or me messing up things?
I’ve just applied variables to all our project’s text styles.
It all works as expected.
However, in inspect mode, font weight it still displayed as normal css value and not with css-variable.
See screenshots.
Is this a bug or me messing up things?
Best answer by djv
Hey All, sorry for the trouble!
I reached out to our engineering team for further insight, and they confirmed that this is expected behavior when using String variables for font weight and size.
We will display Number variable bindings in Dev Mode for these values, but not String variables, as often many of the string representations don’t have CSS equivalent values in code.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.