You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your output file will be empty. Reason for that is that we probably merge tokens before we decide what to exclude. Ideally, something set as SOURCE doesn't overwrite something set as ENABLED, and we don't remove tokens that are part of any set that is ENABLED.
The text was updated successfully, but these errors were encountered:
If I try to select a single set as: token-transformer tokens.json core.json core
This works is fine, and i got the core tokens only.
But if i try to use 2 sets like: token-transformer tokens.json desktop.json core,desktop
This already return a blank json, even if I do not use the excludes command.
The resulting output uses the core value of Helvetica instead of expressive-type's override value:
We're able to work around by removing fontFamily from the globals set, but ideally we could override the base font settings per-theme. Is this the same problem, or something else?
If you have the following structure:
and the "Dark" theme is setup like this:
And your Light theme contains all tokens that the dark theme uses:
And you want to transform this with token-transformer like this:
npx token-transformer themes output.json Foundations,Light,Dark Foundations,Light
Your output file will be empty. Reason for that is that we probably merge tokens before we decide what to exclude. Ideally, something set as SOURCE doesn't overwrite something set as ENABLED, and we don't remove tokens that are part of any set that is ENABLED.
The text was updated successfully, but these errors were encountered: