Closed vdecree closed 9 years ago
I'm assuming you cloned this repo directly (or master
) instead of using the gem or Bower, because those warnings come from 2.6.0 that hasn't been released yet. The warnings should be pretty explanatory as to what you need to do to remove them, but take a look at the 2.6.0 Changelog for the full breakdown.
Thanks Snugug — you are correct in your assumption. I'll have a tinker now, many thanks.
There isn't a way to group add them, but simply changing to the following should work:
$BREAKPOINTS: (
tiny: 320px,
480: 480px,
640: 640px,
700: 700px,
768: 768px,
768to920: (768px 920px),
920: 920px,
1200: 1200px,
1250: 1250px,
1260: 1260px,
);
Thanks man, sorted!
I'm getting the warnings using Susy2's breakpoint wrapper susy-breakpoint() and everything works fine: from line 74 of bower_components/susy/sass/susy/language/susy/_breakpoint-plugin.scss from line 21 of bower_components/susy/sass/susy/language/susy/_breakpoint-plugin.scss
I know this is close but for clarification does this mean that where I have @include breakpoint
I should put @include breakpoint-set
? (I know that's probably oversimplifying it.)
I'm using grunt-sass.
UPDATE
While the error triggers on every usage of @include breakpoint(xyz)
the message is correct, doing a string replace fixes the issue.
For my issue below, it was an load out-of-order issue. Perhaps this helps someone in the future.
Yes confused here too - just migrated from Bower 2.5 to npm 2.7 and our codebase is spewing hundreds of warnings. I'm none the wiser as to what the solution is.
Sample line of code causing the error:
@include breakpoint($bp-tablet) {
right: 57px;
}
We have only a single instance of $breakpoint-no-query-fallbacks: true;
Replacing it with:
@include breakpoint-set('no query fallbacks', true);
results in:
Error: Undefined mixin 'breakpoint-set'.
Comment out the legacy warning in bower_components/breakpoint-sass/stylesheets/_breakpoint.scss:41 and the warnings will disappear
//////////////////////////////
// Breakpoint Mixin
//////////////////////////////
@mixin breakpoint($query, $no-query: false) {
//@include legacy-settings-warning;
Hi there,
Everything technically works, although I get a lot of warning messages:
Running "sass:app" (sass) task
My grid.scss
Can anyone point me in the right direction?