@@ -18,19 +18,28 @@ figma:
1818
1919# [optional] Common export parameters
2020common :
21+ # [optional]
2122 colors :
22- # RegExp pattern for color name validation before exporting
23+ # [optional] RegExp pattern for color name validation before exporting
2324 nameValidateRegexp : ' ^[a-zA-Z_]+$' # RegExp pattern for: background, background_primary, widget_primary_background
25+ # [optional] RegExp pattern for replacing. Supports only $n
26+ nameReplaceRegexp : ' color_$1'
27+ # [optional]
2428 icons :
25- # Name of the Figma's frame where icons components are located
29+ # [optional] Name of the Figma's frame where icons components are located
2630 figmaFrameName : Colors
27- # RegExp pattern for icon name validation before exporting
31+ # [optional] RegExp pattern for icon name validation before exporting
2832 nameValidateRegexp : ' ^(ic)_(\d\d)_([a-z0-9_]+)$' # RegExp pattern for: ic_24_icon_name, ic_24_icon
33+ # [optional] RegExp pattern for replacing. Supports only $n
34+ nameReplaceRegexp : ' icon_$2_$1'
35+ # [optional]
2936 images :
30- # Name of the Figma's frame where image components are located
37+ # [optional] Name of the Figma's frame where image components are located
3138 figmaFrameName : Illustrations
32- # RegExp pattern for image name validation before exporting
39+ # [optional] RegExp pattern for image name validation before exporting
3340 nameValidateRegexp : ' ^(img)_([a-z0-9_]+)$' # RegExp pattern for: img_image_name
41+ # [optional] RegExp pattern for replacing. Supports only $n
42+ nameReplaceRegexp : ' image_$2'
3443
3544# [optional] iOS export parameters
3645ios :
0 commit comments