Skip to content

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

Closed
@jac31885

Description

@jac31885

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions