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

Експериментальний

@pantoken/android — виводить токени дизайну Instructure як XML-ресурси Android.

Він сплющує IR до конкретних значень в одному режимі (@pantoken/core's toStyleDictionary), потім виводить res/values/colors.xml (кольорові токени) та res/values/dimens.xml (токени розмірів) через @pantoken/sd-config. Style Dictionary застосовує Android-трансформації (#aarrggbb, dp/sp).

Інтерфейси ​

Функції ​

Посилання ​

default ​

Перейменовує та реекспортує generateAndroid