mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-28 21:17:13 +00:00
aadb22ffcf
- Add Bourbon and Neat
16 lines
440 B
SCSS
16 lines
440 B
SCSS
@function new-breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) {
|
|
|
|
@if length($query) == 1 {
|
|
$query: $default-feature nth($query, 1) $total-columns;
|
|
}
|
|
|
|
@else if length($query) % 2 == 0 {
|
|
$query: append($query, $total-columns);
|
|
}
|
|
|
|
@if not belongs-to($query, $visual-grid-breakpoints) {
|
|
$visual-grid-breakpoints: append($visual-grid-breakpoints, $query, comma) !global;
|
|
}
|
|
|
|
@return $query;
|
|
}
|