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 — παράγει tokens σχεδίασης Instructure ως Android resource XML.

Απλοποιεί το IR σε συγκεκριμένες, μονότροπες τιμές (το toStyleDictionary του @pantoken/core), στη συνέχεια παράγει res/values/colors.xml (tokens χρωμάτων) και res/values/dimens.xml (tokens διαστάσεων) μέσω του @pantoken/sd-config. Το Style Dictionary εφαρμόζει τους μετασχηματισμούς Android (#aarrggbb, dp/sp).

Διεπαφές ​

Συναρτήσεις ​

Αναφορές ​

default ​

Μετονομάζει και επαναεξάγει το generateAndroid