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 — מייצא את ה-design tokens של Instructure כ-Android resource XML.

It flattens the IR to concrete, single-mode values (@pantoken/core's toStyleDictionary), then מייצא res/values/colors.xml (tokens של צבע) ו-res/values/dimens.xml (tokens של מימדים) דרך @pantoken/sd-config. Style Dictionary מחיל את הטרנספורמות של Android (#aarrggbb, dp/sp).

ממשקים ​

פונקציות ​

הפניות ​

default ​

משנה שם ומייצא מחדש את generateAndroid