debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss
raw| 1 | @function _shape-size-stripper($shape-size) { |
| 2 | @if $output-bourbon-deprecation-warnings == true { |
| 3 | @warn "[Bourbon] [Deprecation] `_shape-size-stripper` is " + |
| 4 | "deprecated and will be removed in 5.0.0."; |
| 5 | } |
| 6 | |
| 7 | $shape-size-spec: null; |
| 8 | @each $value in $shape-size { |
| 9 | @if ($value == "cover") or ($value == "contain") { |
| 10 | $value: null; |
| 11 | } |
| 12 | $shape-size-spec: "#{$shape-size-spec} #{$value}"; |
| 13 | } |
| 14 | @return $shape-size-spec; |
| 15 | } |