Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue report about Figma export ability #168

Open
kobi2187 opened this issue Oct 4, 2021 · 3 comments
Open

issue report about Figma export ability #168

kobi2187 opened this issue Oct 4, 2021 · 3 comments

Comments

@kobi2187
Copy link

kobi2187 commented Oct 4, 2021

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.

@treeform
Copy link
Owner

treeform commented Oct 4, 2021

Thank you! I am aware of some these issues. I think Figma2 will work a little differently. Time will tell.

@kobi2187
Copy link
Author

kobi2187 commented Oct 6, 2021

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.
treeform/bumpy#13

@aMOPel
Copy link

aMOPel commented Jul 19, 2022

add

  • boolean_operation

to the list of unsupported figma features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants