Skip to content

fix: pass usesDtcg flag to convertTokenData util (#361)#364

Merged
jorenbroekema merged 3 commits intotokens-studio:mainfrom
heenakwag:fix/font-weight-reference
Jun 26, 2025
Merged

fix: pass usesDtcg flag to convertTokenData util (#361)#364
jorenbroekema merged 3 commits intotokens-studio:mainfrom
heenakwag:fix/font-weight-reference

Conversation

@heenakwag
Copy link
Contributor

Fixes #361 by passing usesDtcg flag to convertTokenData.

The unit test for add font style > handles invalid fontweight structures e.g. mixing token group / token, also handles DTCG format is failing.
The test is expected to trigger an error, but it is not occurring due to the changes I made.
However, I am unsure of the exact meaning of "invalid fontweight structures" as referenced in this test, so I left it unchanged.
I would appreciate assistance with this part.

@changeset-bot
Copy link

changeset-bot bot commented Jun 25, 2025

🦋 Changeset detected

Latest commit: 00084da

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tokens-studio/sd-transforms Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jorenbroekema jorenbroekema merged commit e41b548 into tokens-studio:main Jun 26, 2025
2 checks passed
@jorenbroekema
Copy link
Contributor

Thanks for the fix :)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: (v2) Reference to undefined token {fontWeight.bold} when building with custom transforms

2 participants