design-token-transformer icon indicating copy to clipboard operation
design-token-transformer copied to clipboard

No android output for this file

Open ninovanhooff opened this issue 10 months ago • 0 comments

Using this file as input, I expect to see an Android build output with colors for Android, like there is for ios and ios-swift. Ideally I would like Android Jetpack Compose compatible files, but xml is fine, too.

But no android folder is created when following the readme.

  • Export my colors from figma
  • place the file in ./token/, overwriting the sample file
  • npm run transform-tokens

When I then run the android task, it says it cannot find inputs for colors

 node ./examples/android/build.js

android
No properties for values/font_styles.xml. File not created.
No properties for values/dimens.xml. File not created.
No properties for values/colors.xml. File not created.
No properties for values-night/colors.xml. File not created.
Copying ./examples/android/filesToCopy/font_family.xml to ./examples/build/android/font/font_family.xml

Now the android folder is created, but as the cli output hints at, its only the template font file that gets created

File used:

design-tokens.tokens.json

ninovanhooff avatar Mar 28 '24 15:03 ninovanhooff