Issues creating text styles from typography tokens #631
chriskerr-performio
started this conversation in
General
Replies: 2 comments 3 replies
-
Is the font weight / family combination available in Figma? I see that you used font weight 500. But is that what the weight is called in Figma? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have just run into this issue: I have created tokens by importing styles => |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @six7!
I'm having some issues with applying typography tokens as styles.
My typography tokens are set up to reference via aliases the related tokens per the screengrab attached.
However when I use Create Styles, none of the actual values are applied to the style. All the styles are created, but they all default to 12/Auto and the wrong font, weight, etc.
I note that in the Edit Token dialog for typography, when you enter an alias, it does not return the value of the alias (unlike say color, where is tells you the hex value and shows the colour preview swatch.
Is this a bug, or am I doing it wrong?
I also note that by default textDecoration and textCase use the older "$" notation instead of the curly brackets for the alias. This was auto-populated when i imported my styles into Figma Tokens. Is this intentional and should I manually change these to curlys?
Beta Was this translation helpful? Give feedback.
All reactions