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), @pantoken/sd-config을 통해 res/values/colors.xml(색상 토큰)과 res/values/dimens.xml(치수 토큰)을 출력합니다. Style Dictionary는 Android 변환(#aarrggbb, dp/sp)을 적용합니다.

인터페이스 ​

함수 ​

참조 ​

default ​

generateAndroid의 이름을 변경하고 재내보냅니다.