Open akhilpt07 opened 1 year ago
The value must be a string in your tokens JSON file, not an object with multiple properties.
See the discussion about "composite tokens" in https://github.com/amzn/style-dictionary/issues/848
TL;DR currently if you want to use such tokens you'll need custom transformers.
If you follow DTCG specs for your shadow declarations, that might be of interest https://github.com/lukasoppermann/style-dictionary-utils/blob/main/src/transformer/shadow-css.ts for instance.
after style build shadow values become object