Closed SergeyKovalenko closed 3 years ago
Hi. Thanks.
Is it possible to import assets from different pages? Is there any way to specify a page for import in the config file?
No. You can specify only common.icons.figmaFrameName
and common.images.figmaFrameName
options. All the icons/images must be placed in a single frame on a single page.
Do you have any requirements on how the Figma frame should be named? For example, "Body status emoji", is it a valid name?
If you export icons (figma-export icons
) and do not specify custom frame name, frame must be named "Icons"
.
If you export images (figma-export images
) and do not specify custom frame name, frame must be named "Illustrations"
.
See example in the Figma example file here.
You can set custom frame name in the config file. See common.icons.figmaFrameName
and common.images.figmaFrameName
.
We have two frames with icons "Icon" and "Body status" on the different pages.
When I specify custom figmaFrameName Icon
everything works like a charm.
But when I change it to figmaFrameName Body status
i see Components not found in the Figma file. Have you published Components to the Library?
That's why am I wondering maybe it depends on the page name, since Icon
frame, and Body status
added to different pages.
Is it possible to specify custom frame name with whitespaces (e.g. "My Icons")?
But when I change it to figmaFrameName Body status i see Components not found in the Figma file. Have you published Components to the Library?
It must works. I've checked it.
common:
icons:
figmaFrameName: Body status
That's why am I wondering maybe it depends on the page name, since Icon frame, and Body status added to different pages.
No. I've checked. I moved "Body status" frame to "Page 2" and it still works.
Is it possible to specify custom frame name with whitespaces (e.g. "My Icons")?
Yes.
Got it. Thank you!
Cool! If you will have any questions feel free to contact me.
Thank you for such a great tool? It saves a ton of time.
I have a couple of questions: