]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Fix -zf-each-breakpoint without small bp 9441/head
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 6 Dec 2016 05:56:50 +0000 (06:56 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 6 Dec 2016 06:05:44 +0000 (07:05 +0100)
commit121ed244822a0331c23bc2179ccb58d8943234b0
tree95e3968f75d3c46c5f644e52dbe2d2358417178c
parent5cf4425005f9c6c127f1559e368a223dd085c7eb
Fix -zf-each-breakpoint without small bp

`$breakpoint-classes` is a list, not a map.

Use `sl-remove()` from SassyList
(https://github.com/at-import/SassyLists) instead of `map-remove()` to
remove the small breakpoint from `$breakpoint-classes`.

Other changes:
- Rename `$map` to `$list`.
- Rename `$size` to `$name`. `$breakpoint-classes` contains breakpoint
names, not sizes. Keep `$-zf-size` for compatibility.
gulp/config.js
gulp/tasks/customizer.js
package.json
scss/foundation.scss
scss/util/_mixins.scss