From: Craig Martin Date: Fri, 18 Mar 2016 15:46:38 +0000 (-0400) Subject: Docs: Call out removal of @screen-* variables in v4 X-Git-Tag: v4.0.0-alpha.3~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26a6dc1d16c0efb9783889076e351d15b644ea83;p=thirdparty%2Fbootstrap.git Docs: Call out removal of @screen-* variables in v4 Closes #19561 Closes #19567 [skip sauce] --- diff --git a/docs/migration.md b/docs/migration.md index f4044a3990..f40b2c46cd 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -203,11 +203,11 @@ TODO: audit classes in v3 that aren't present in v4 ### Responsive utilities -The following deprecated variables have been removed in v4.0.0: +The following variables have been removed in v4.0.0. Use the `media-breakpoint-up()`, `media-breakpoint-down()`, or `media-breakpoint-only()` Sass mixins or the `$grid-breakpoints` Sass map instead of: -* `@screen-phone`, `@screen-tablet`, `@screen-desktop`, `@screen-lg-desktop`. Use the more abstract `$screen-{xs,sm,md,lg,xl}-*` variables instead. -* `@screen-sm`, `@screen-md`, `@screen-lg`. Use the more clearly named `$screen-{xs,sm,md,lg,xl}-min` variables instead. -* `@screen-xs`, `@screen-xs-min`. The extra small breakpoint has no lower bound, so these variables were logically absurd. Reformulate your expression in terms of `$screen-xs-max` instead. +* `@screen-phone`, `@screen-tablet`, `@screen-desktop`, `@screen-lg-desktop`. +* `@screen-xs`, `@screen-sm`, `@screen-md`, `@screen-lg`. +* `@screen-xs-min`, `@screen-xs-max`, `@screen-sm-min`, `@screen-sm-max`, `@screen-md-min`, `@screen-md-max`, `@screen-lg-min`, `@screen-lg-max` The responsive utility classes have also been overhauled.