mirror of
https://github.com/scratchfoundation/scratchx.git
synced 2024-12-11 00:31:01 -05:00
11 lines
274 B
SCSS
11 lines
274 B
SCSS
|
@function _shape-size-stripper($shape-size) {
|
||
|
$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;
|
||
|
}
|