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

Closed
1 task
jac31885 opened this issue Oct 10, 2024 · 0 comments · Fixed by #332
Closed
1 task

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

jac31885 opened this issue Oct 10, 2024 · 0 comments · Fixed by #332
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

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
@jorenbroekema jorenbroekema added good first issue Good for newcomers help wanted Extra attention is needed labels Nov 1, 2024
@florin01hyma florin01hyma self-assigned this Nov 5, 2024
@florin01hyma florin01hyma linked a pull request Nov 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants