[Bug]: ExpandTypesMap composition letterSpacing should remain letterSpacing #316
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
What happened?
https://github.com/tokens-studio/sd-transforms/blob/main/src/index.ts#L51 should be the same as https://github.com/tokens-studio/sd-transforms/blob/main/src/index.ts#L43 (so we can just remove it L51)
This ensures that for composition tokens, letterSpacing props are going to be of type letterSpacing, and not dimension. This way, the sd-transforms letterspacing transform can apply to them.
Reproduction
Cannot repro in configurator because it does not support JS config and the expand types map needs to be imported first..
Expected output
No response
Version
1.2.4
The text was updated successfully, but these errors were encountered: