-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't add px or rem using the right transforms #1199
Labels
Comments
The DTCG type for font sizes is called "fontSize", not "fontSizes". You can use this package https://github.com/tokens-studio/sd-transforms -> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello there :)
I'm using the following list of transforms
"transforms": ['attribute/cti', 'name/cti/kebab', 'time/seconds', 'content/icon', 'color/css', 'size/px'],
taken from the transform group "scss" listed in the documentation. I have addedsize/px
, in order to addpx
to the number of the values, but the files I get after the build are still without thepx
:The
size/px
was just an example as I was testing, but indeed what I want to is to haverem
values :) (yes, I already tried addingsize/rem
transform instead of the CSS one and it didn't work either :/The input are tokens exported from Tokens Studio for Figma, they look like this:
Do you have any idea why is this happening? Perhaps I'm missing something?
Thank you in advance! :)
The text was updated successfully, but these errors were encountered: