-
Notifications
You must be signed in to change notification settings - Fork 114
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
Spacing Grid export support #176
base: master
Are you sure you want to change the base?
Conversation
Hello, @IljaKosynkin. Thanks for the idea and the PR! I have already thought about adding support for exporting spacing from Figma and decide that FigmaExport should not support it for the following reasons:
You can create a Discussion or Issue, describing what you want to do. If other developers vote for it, I will consider adding such functionality. You can continue to use fork in your company and add new features for your need. |
Hey, @subdan, thanks for the quick response! I respectfully disagree with your assessment. Let me explain why:
I've created a discussion poll here to see what people think. I would suggest leaving this PR alive until poll is done and closing it if majority votes "No" and continuing work from the current state of affairs otherwise |
|
Ah, I get your point now and it is a great one! But does it change anything from export implementation view? The designer shall design a spacing grid and adhere to it. Wherever particular designer chooses to use spacing components while composing the screen or not - is up to designer, we do not particularly care about it, as long as spacing grid itself is properly updated with every such change? |
Good time of the day!
First of all, thank you for the all great work you've done! I've enjoyed both working on and working with the script.
Said that, we have a case in our company that is not covered by the script yet: a Spacing Grid export (basically margins, paddings etc; spacing between the components).
I took a liberty to prepare a draft of implementation for your review and I hope that after some discussion and changes we would be able to merge it into the main script.
Note that I haven't created or changed any tests on purpose, as I'm not sure the implementation will be fine from your standpoint. I will gladly add them, when I'll get a greenlight that everything is good on implementation side.
You can see an example of spacings I was going off (prepared by our designer) below: