fidget
fidget copied to clipboard
issue report about Figma export ability
In a few words: it's mostly working. some failures I noticed:
- missing keywords: vector, ellipsis are unrecognized.
- layoutAlign laInherit does not exist.
- sometimes getting the javascript "undefined" in font weight and font name from the TS export script. (I think it is better to have a default such as font weight 200, and "defaultFont", or good error messages so dev knows something is wrong)
- unknown fonts - Perhaps there should be a way for the user of the library to define a default font. for now, I workaround with loadFont("themissingfont", "Noto Sans... some font that I have in my system")
- devs don't initially know about the data folder holding all the assets. (a note in Readme should be enough to fix that)
- can be nice for TS script to output a list of assets: the fonts, images, etc.
- maybe validate existence of files in data before running?
This approach of using Figma for gui widgets is really strong. I appreciate all the time saved by that. I am pointing out initial issues I ran into. Mainly small things. Thanks for the good work.
Thank you! I am aware of some these issues. I think Figma2 will work a little differently. Time will tell.
today I fixed the debugger issues in my vscode installation, so an error that came up about floatoverflow, was detected to be in bumpy lib. I opened a tiny pull request. https://github.com/treeform/bumpy/pull/13
add
- boolean_operation
to the list of unsupported figma features