As a user of sd-transforms/style-dictionary/tokens-studio figma plugin,
I'd like to cleanup my $themes.json file so that my style-dictionary output looks simple.
Yet at the same time, the redundancy in $themes.json is required from the perspective of the Figma Plugin in order to work properly with collections & figma variables.
In the example, there's 3 dimensions, comp-mobile, brand and primitive. Only brand has multiple variations, the other two are "redundant" from the perspective of style-dictionary. This means that for style-dictionary's purposes, the $themes.json can be simplified to:
What feature would you like?
As a user of sd-transforms/style-dictionary/tokens-studio figma plugin,
I'd like to cleanup my $themes.json file so that my style-dictionary output looks simple. Yet at the same time, the redundancy in $themes.json is required from the perspective of the Figma Plugin in order to work properly with collections & figma variables.
Example
Tokens structure:
$themes.json:
In the example, there's 3 dimensions,
comp-mobile
,brand
andprimitive
. Onlybrand
has multiple variations, the other two are "redundant" from the perspective of style-dictionary. This means that for style-dictionary's purposes, the $themes.json can be simplified to:So the features of this utility:
$figma
stuff, id)Would you be available to contribute this feature?