RedMadRobot / figma-export

Command line utility to export colors, typography, icons and images from Figma to Xcode / Android Studio project
MIT License
726 stars 114 forks source link

Color style contain number let export color command failed #76

Closed lichin-lin closed 3 years ago

lichin-lin commented 3 years ago

for style value like red/a80, red/a60 will make figma-export colors -i command failed, example as follow:

Figma File and Docs

You can take a look for the file here Figma File Link

Error log

截圖 2021-02-25 上午10 05 08

Expected result

Command should work as usual, maybe let the value become: gray, red, reda80, reda60 or gray, red, redA80, redA60 or gray, red, red_a80, red_a60

lichin-lin commented 3 years ago

never mind, it's my own fault not to check the Regexp in yaml file