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-ի դիզայն տոկենները որպես Android ռեսուրսի XML։

Այն հարթում է IR-ը կոնկրետ, մեկ ռեժիմի արժեքների (@pantoken/core-ի toStyleDictionary), ապա արտադրում է res/values/colors.xml (գույնի տոկեններ) և res/values/dimens.xml (չափերի տոկեններ) միջոցով @pantoken/sd-config. Style Dictionary-ը կիրառում է Android փոխարկումները (#aarrggbb, dp/sp).

Ինտերֆեյսներ ​

Ֆունկցիաներ ​

Հղումներ ​

default ​

Վերանվանում և վերաարտադրում է generateAndroid