2.2 KiB
Transform Groups
Transform Groups are a way to easily define and use groups of transforms. They are an array of transforms. You can define custom transform groups with the registerTransformGroup.
You use transformGroups in your config file under platforms > [platform] > transformGroup
{
"source": ["properties/**/*.json"],
"platforms": {
"android": {
"transformGroup": "android"
}
}
}
Pre-defined Transform groups
web
Transforms:
attribute/cti name/cti/kebab size/px color/css
scss
Transforms:
attribute/cti name/cti/kebab time/seconds content/icon size/rem color/css
less
Transforms:
attribute/cti name/cti/kebab time/seconds content/icon size/rem color/hex
html
Transforms:
attribute/cti attribute/color name/human
android
Transforms:
attribute/cti name/cti/snake color/hex8android size/remToSp size/remToDp
ios
Transforms:
attribute/cti name/cti/pascal color/UIColor content/objC/literal asset/objC/literal size/remToPt font/objC/literal
assets
Transforms: