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

Eksperimental

@pantoken/android — menghasilkan token reka bentuk Instructure sebagai XML sumber Android.

Ia meratakan IR kepada nilai konkrit, bermod tunggal (@pantoken/core's toStyleDictionary), kemudian menghasilkan res/values/colors.xml (token warna) dan res/values/dimens.xml (token dimensi) melalui @pantoken/sd-config. Style Dictionary menerapkan transform Android (#aarrggbb, dp/sp).

Antaramuka ​

Fungsi ​

Rujukan ​

default ​

Menamakan semula dan mengeksport semula generateAndroid