app/assets/stylesheets/grid/_omega.scss in neat-1.6.0 vs app/assets/stylesheets/grid/_omega.scss in neat-1.7.0.pre
- old
+ new
@@ -2,17 +2,17 @@
@mixin omega($query: block, $direction: default) {
$table: if(belongs-to(table, $query), true, false);
$auto: if(belongs-to(auto, $query), true, false);
@if $direction != default {
- @warn "The omega mixin will no longer take a $direction argument. To change the layout direction, use row($direction) or set $default-layout-direction instead."
+ @include -neat-warn("The omega mixin will no longer take a $direction argument. To change the layout direction, use the direction(){...} mixin.");
} @else {
$direction: get-direction($layout-direction, $default-layout-direction);
}
@if $table {
- @warn "The omega mixin no longer removes padding in table layouts."
+ @include -neat-warn("The omega mixin no longer removes padding in table layouts.");
}
@if length($query) == 1 {
@if $auto {
&:last-child {
@@ -40,10 +40,10 @@
@include nth-child(nth($query, 1), $direction);
}
}
@else {
- @warn "Too many arguments passed to the omega() mixin."
+ @include -neat-warn("Too many arguments passed to the omega() mixin.");
}
}
@mixin nth-child($query, $direction) {
$opposite-direction: get-opposite-direction($direction);