Skip to content
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

[Feature]: Support for multiple values in tokens #320

Open
1 task
jac31885 opened this issue Oct 10, 2024 · 0 comments
Open
1 task

[Feature]: Support for multiple values in tokens #320

jac31885 opened this issue Oct 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jac31885
Copy link

What feature would you like?

Currently Tokens Studio allows for multiple values to be set within a token, but SD transform ignore these values when it comes to transforming into 'px' values. I believe this is the case also when using REM transforms (but havent tested properly).

For example:

"padding": { "$type": "spacing", "$value": "8 16" }

Output:

$component-button-xsmall-padding: 8 16;

Whereas with single values result in correct format
$component-button-small-spacing: 8px;

Would you be available to contribute this feature?

  • Yes, I would like to contribute this
@jac31885 jac31885 added the enhancement New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant