Skip to content
Browse files

Created bourbon-deprecated-upcoming file and moved border-radius into it

  • Loading branch information...
1 parent 884c1f5 commit 7a530b962fa802c90fcd0ca4fa9d6195382c4160 Phil LaPier committed
Showing with 36 additions and 0 deletions.
  1. +33 −0 app/assets/stylesheets/_bourbon-deprecated-upcoming.scss
  2. +3 −0 app/assets/stylesheets/_bourbon.scss
View
33 app/assets/stylesheets/_bourbon-deprecated-upcoming.scss
@@ -0,0 +1,33 @@
+//************************************************************************//
+// These mixins/functions will be deprecated in the next MAJOR version release
+//************************************************************************//
+
+// Bourbon 3.0 removal
+//************************************************************************//
+@mixin border-radius ($radii) {
+ @include prefixer(border-radius, $radii, webkit spec);
+ @warn "border-radius mixin is deprecated and will be removed in the next major version release.";
+}
+
+@mixin border-top-left-radius($radii) {
+ @include prefixer(border-top-left-radius, $radii, webkit spec);
+ @warn "border-top-left-radius mixin is deprecated and will be removed in the next major version release.";
+}
+
+@mixin border-top-right-radius($radii) {
+ @include prefixer(border-top-right-radius, $radii, webkit spec);
+ @warn "border-top-right-radius mixin is deprecated and will be removed in the next major version release.";
+}
+
+@mixin border-bottom-left-radius($radii) {
+ @include prefixer(border-bottom-left-radius, $radii, webkit spec);
+ @warn "border-bottom-left-radius mixin is deprecated and will be removed in the next major version release.";
+}
+
+@mixin border-bottom-right-radius($radii) {
+ @include prefixer(border-bottom-right-radius, $radii, webkit spec);
+ @warn "border-bottom-right-radius mixin is deprecated and will be removed in the next major version release.";
+}
+
+// To-Do for Bourbon 3.0:
+// Remove other border-radius-top/bottom/left/right 'webkit' prefix
View
3 app/assets/stylesheets/_bourbon.scss
@@ -40,3 +40,6 @@
@import "addons/position";
@import "addons/prefixer";
@import "addons/timing-functions";
+
+// Soon to be deprecated Mixins
+@import "bourbon-deprecated-upcoming";

0 comments on commit 7a530b9

Please sign in to comment.
Something went wrong with that request. Please try again.