We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, josef lets you define a grid globally, and reference those layouts whenever @include grid(classname); is invoked.
@include grid(classname);
What I’d love to be able to do is to define a map of properties, and reference that with the grid() function. Just for example, some pseudo-sass:
grid()
$grid-mast: ( "mar": 68, "col": 68, "gut": 26, … "breakpoints": ( "small": (cols: 4, min: 0, margin: $pad), "med": (cols: 6, min: 30em, margin: $gut), "large": (cols: 8, min: 40em) ) ); $grid-content: ( "mar": 68, "col": 68, "gut": 26, … "breakpoints": ( "xs": (cols: 4, min: 0, margin: $pad), "sm": (cols: 6, min: 40em, margin: $gut), "md": (cols: 8, min: 60em), "lg": (cols: 12, min: 78em), "xl": (cols: 12, min: 95em) ) ); @include grid( .mast-content, $grid-mast ); @include grid( .page-content, $grid-content );
This’d be a huge help for regions that might have unique breakpoint needs, and/or simpler (or more complex) grids.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now, josef lets you define a grid globally, and reference those layouts whenever
@include grid(classname);
is invoked.What I’d love to be able to do is to define a map of properties, and reference that with the
grid()
function. Just for example, some pseudo-sass:This’d be a huge help for regions that might have unique breakpoint needs, and/or simpler (or more complex) grids.
The text was updated successfully, but these errors were encountered: