This is a very rough proposal for a radical Susy 2.0 API overhaul.
- Flexible: Allow all the main layout approaches.
- float / isolation
- columns (symmetrical & asymmetrical) / fractions / explicit widths
- gutters inside or outside - before, after, or split
- Simple: Less API is better.
- Less universal settings, everything can be controlled on-the-fly when possible
- Less mixins, with more power and flexibility
- Moving Forward: Backwards functionality should be maintained.
- Anything you created in Susy 1.0 can be recreated in 2.0
- Layouts created in 1.0 do not need to work in 2.0 automatically
- Light Touch: Always do the minimum possible to achieve a layout.
- If there's a question, less output is the answer.
- Prepared: Plan ahead for flexbox & grid modules. (not considered yet in this proposal)
(Changes inspired largely by Singularity and Salsa, with elements from Zen as well.)
I went with
grid-span
here becausecolumn-span
feels wrong when it is possible to do arbitrary widths. From there, it seemed reasonable thatgrid
would be used to establish the element we are spanning. This is, of course, all up for debate.