naftalibeder / figma-frame-exporter

Export icons with variants from Figma.
MIT License
13 stars 6 forks source link

Boolean property use property name or omit #2

Closed patrickplaggenborg closed 1 year ago

patrickplaggenborg commented 1 year ago

With multiple boolean properties, filenames become difficult to interpret: 'layer no no yes yes'.

This (old) plugin has a good implementation of boolean variants: https://www.figma.com/community/plugin/996640798188777330/Export-Variants

Would it be possible to implement something similar?

Variant with 'true' or 'on' value:

Variant with 'off' or 'false' value:

naftalibeder commented 1 year ago

~Closed in favor of #4.~

naftalibeder commented 1 year ago

@patrickplaggenborg Thanks for opening this issue! This is now implemented in the published plugin.