the-dataface / figma2html

Export Figma frames as responsive HTML and CSS
https://www.figma.com/community/plugin/1109185297790825980/figma2html
MIT License
48 stars 8 forks source link

Make `generateExportables` more specific #15

Closed svickars closed 2 years ago

svickars commented 2 years ago

Update node.findAll to look for frames with names starting with # and ending with px, and that have parent === figma.currentPage, based on #13

svickars commented 2 years ago

add regex expression to properly match frame name node.name.match(/^#\d+px$/). closes #13