I have been using singularity for about a small year now and I'm still not 100% I'm using it at its full potential, or the "correct" way really.
The main question I have is why you should change the grid-size depending on a media-query.
I'm using SGS like this at the moment:
grids: 12;
$gutters: 1/2;
.column {
// mobile first ... full-width
@include breakpoint($from-medium) { // 2 columns on medium devices
@include grid-span(6, first);
&:nth-child(even) {
@include grid-span(6, last);
}
}
@include breakpoint($from-large) { // 3 columns on larger devices
@include grid-span(4);
&:nth-child(even) {
@include grid-span(4); // needed to override previous MQ since I'm only using min-width.
}
&:nth-child(3n) {
@include grid-span(4, last);
}
&:nth-child(3n+1) {
@include grid-span(4, first);
}
}
}
I would love to reduce the code for this and maybe changing grids in between MQ's might help but I'm not seeing how?