]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Remove deprecation warnings around new CSS export mixins, as it's hard to accurately...
authorGeoff Kimball <geoff@zurb.com>
Wed, 17 Feb 2016 19:58:24 +0000 (11:58 -0800)
committerGeoff Kimball <geoff@zurb.com>
Wed, 17 Feb 2016 19:58:24 +0000 (11:58 -0800)
scss/components/_flex.scss
scss/components/_menu-icon.scss
scss/components/_title-bar.scss
scss/grid/_flex-grid.scss
scss/grid/_grid.scss

index d2de620a2a8735cce0b4c63698b8d9c153c53714..36123952da599ba6346d87c03d09b7d9cbc6f4f3 100644 (file)
@@ -1,6 +1,4 @@
 @mixin foundation-flex-classes {
-  $-zf-flex-classes-imported: true !global;
-
   // Horizontal alignment using justify-content
   @each $hdir, $prop in map-remove($-zf-flex-justify, left) {
     .align-#{$hdir} {
index e8f1e4e4b47e24f32e37c5b22daf473cbd27f17f..b0df173bbaf4882d583fddacbaf2fe22a18d73b2 100644 (file)
@@ -1,6 +1,4 @@
 @mixin foundation-menu-icon {
-  $-zf-menu-icon-imported: true !global;
-
   .menu-icon {
     @include hamburger($color: $titlebar-icon-color, $color-hover: $titlebar-icon-color-hover);
   }
index eb194c96299a5ac92729d1bd2f11fb1decedae63..8a268802a45124b1e486b6e595bbb37c8317d8d8 100644 (file)
@@ -83,12 +83,6 @@ $titlebar-icon-spacing: 0.25rem !default;
     display: inline-block;
   }
 
-  // Remove this in 6.3
-  @if not $-zf-menu-icon-imported {
-    @warn 'In Foundation 6.2, a new component mixin was added called "foundation-menu-icon". Add "@import foundation-menu-icon" to the main Sass file of your project to remove this warning.';
-    @include foundation-menu-icon;
-  }
-
   .menu-icon.dark {
     @include hamburger;
   }
index 57bd815dd7ba69f9bb592ec6973df3e0b0d5a123..71fe71febd89cd694b42d535c37dd0e51838a053 100644 (file)
       .#{$-zf-size}-order-#{$i} {
         @include flex-order($i);
       }
+
       .#{$-zf-size}-up-#{$i} {
         @include flex-grid-layout($i);
       }
     // scss-lint:disable PlaceholderInExtend
     @extend .column;
   }
-
-  // Remove this in 6.3
-  @if not $-zf-flex-classes-imported {
-    @warn 'In Foundation 6.2, a new component mixin was added called "foundation-flex-classes". Add "@import foundation-flex-classes" to the main Sass file of your project, above "@import foundation-flex-grid", to remove this warning.';
-    @include foundation-flex-classes;
-  }
 }
index 646cdaab602e642f9efeba015b6e95ae98686b9a..0a8d879cf7f2c606a201ef802811705de76c19f8 100644 (file)
@@ -38,7 +38,7 @@ $-zf-end-float: if($grid-column-align-edge, $global-right, $global-left);
 $grid-column-responsive-gutter: null !default;
 @if $grid-column-responsive-gutter {
   // scss-lint:disable DebugStatement
-  @debug 'Rename $grid-column-responsive-gutter to $grid-column-gutter to remove this warning.';
+  @warn 'Rename $grid-column-responsive-gutter to $grid-column-gutter to remove this warning.';
   $grid-column-gutter: $grid-column-responsive-gutter;
 }