We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build
1 parent 28fdc7a commit 739eb0aCopy full SHA for 739eb0a
packages/tokens/scripts/build.ts
@@ -72,6 +72,13 @@ StyleDictionary.registerTransform({
72
isThemeable = true;
73
}
74
75
+ // TODO! understand how we can make this themeable using `usesReferences`/`getReferences`
76
+ // if (token.key === "{typography.display-500.font-family}") {
77
+ // console.log('usesReferences', usesReferences(token.original.$value));
78
+ // const refs = getReferences(token.original.$value, StyleDictionaryInstance.tokenMap);
79
+ // console.log('refs', refs);
80
+ // }
81
+
82
// TODO understand if we really need this to split themeable vs non-themeable tokens
83
// if (usesReferences(token.original.$value)) {
84
// const refs = getReferences(token.original.$value, StyleDictionaryInstance.tokenMap);
0 commit comments