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

Experimental

@pantoken/android — emit Instructure design tokens as Android resource XML.

It flattens the IR to concrete, single-mode values (@pantoken/core's toStyleDictionary), then emits res/values/colors.xml (colour tokens) and res/values/dimens.xml (dimension tokens) via @pantoken/sd-config. Style Dictionary applies the Android transforms (#aarrggbb, dp/sp).

Interfaces ​

Functions ​

References ​

default ​

Renames and re-exports generateAndroid