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