Skip to content

pantoken-root / android

android ​

Compatibility ​

Target: Android resources. Current format: Generated colors, dimensions, and VectorDrawable compile and link with Android build-tools. Minimum host version: API 35 / build-tools 35.0.0. Tested through API 35 / build-tools 35.0.0. Newer releases require review.

Full compatibility matrix

Eksperymentalne

@pantoken/android — emituje tokeny projektowe Instructure jako XML zasobów Androida.

Spłaszcza IR do konkretnych, jednorodnych wartości (@pantoken/core's toStyleDictionary), then emituje res/values/colors.xml (tokeny kolorów) i res/values/dimens.xml (tokeny wymiarów) za pomocą @pantoken/sd-config. Style Dictionary stosuje transformacje Androida (#aarrggbb, dp/sp).

Interfejsy ​

Funkcje ​

Odwołania ​

default ​

Zmienia nazwę i ponownie eksportuje generateAndroid