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

Generate Responsive Code #10

Open
ghost opened this issue Apr 25, 2017 · 5 comments
Open

Generate Responsive Code #10

ghost opened this issue Apr 25, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 25, 2017

Need to make it so that Slinky generates responsive code. I think as long as it made it so that the everything stacked on top of each other in mobile clients in the order groups were created in Sketch it wouldn't be too difficult.

Note: Since this is email, it'll need to stack without media queries. Perhaps exporting it to Inky (Foundation for Emails) code would work well for that.

@TedGoas
Copy link

TedGoas commented Apr 28, 2017

Perhaps this could be done in phases. Eg:

  • Phase 1 - Responsive using media-queries
  • Phase 2 - Responsive without using media-queries (Hybrid design, Fab four, etc.)

@finchalyzer
Copy link
Owner

finchalyzer commented Apr 28, 2017

Responsive is a bit tricky to make it fully automatically. It's nearly impossible to guess only from the design what/when/how should break into which screen sizes. An additional UI to edit the parameters could solve the issue.

What do you think about making Slinky compatible with Auto Layout Sketch plugin since they have this already covered? The workflow in this case would be - create the design, make the responsive rules with Auto Layout and then export with Slinky.

@TedGoas
Copy link

TedGoas commented Apr 28, 2017

+1 additional UI - Like a text field in Sketch? Riffing from Auto Layout's pattern could be a good idea since it seems like a popular plugin folks are already familiar with.

@ghost
Copy link
Author

ghost commented Apr 28, 2017

I was actually just wondering if an initial implementation would be making people put their content in groups, and then when the email sizes down, it just stacks in descending order... At least for an MVP.

@ghost
Copy link
Author

ghost commented May 8, 2017

Could be possible to pull some of the code from this project and implement it here: https://animaapp.github.io/docs/v1/launchpad/

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

No branches or pull requests

2 participants