summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss
diff options
context:
space:
mode:
Diffstat (limited to 'debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss')
-rw-r--r--debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss
new file mode 100644
index 0000000..6caf05c
--- /dev/null
+++ b/debian/missing-sources/bourbon/app/assets/stylesheets/helpers/_shape-size-stripper.scss
@@ -0,0 +1,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;
+}