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.)
Honestly, I think
grid-span
is even worse when using arbitrary widths and not the grid system.regarding
$width
- I can see how3 of 6
can be different then3/6
as in non-uniform grids, but it still seems a bit confusing, maybe they can be united somehow.on the
$position
side, it should be possible to not only doat 3
for container-relative floats but alsoat 30%
.