You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the color variables (#141 ), I'm having some trouble exporting text styles, more specifically fontWeight.
I couldn't make something like this work:
I noticed from Sketch's API that a value between 0 and 12 would be expected, but even converting "700" to "9" also didn't work.
Context
I have been trying to combine style-dictionary with sketch-constructor for a design system.
I'm making my main Sketch library (with all the components) to read Layer and Text styles from this file generated from the tokens.
This will be very helpful because I have a multi-brand/single-platform (themes) token setup.
The text was updated successfully, but these errors were encountered:
Hey,
In addition to the color variables (#141 ), I'm having some trouble exporting text styles, more specifically
fontWeight
.I couldn't make something like this work:
I noticed from Sketch's API that a value between 0 and 12 would be expected, but even converting "700" to "9" also didn't work.
Context
I have been trying to combine
style-dictionary
withsketch-constructor
for a design system.I'm making my main Sketch library (with all the components) to read Layer and Text styles from this file generated from the tokens.
This will be very helpful because I have a multi-brand/single-platform (themes) token setup.
The text was updated successfully, but these errors were encountered: