Skip to content

Commit

Permalink
Removed the warning from the golden-ratio function
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed Nov 18, 2011
1 parent aaabf77 commit 99946bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/assets/stylesheets/functions/_golden-ratio.scss
Expand Up @@ -4,15 +4,14 @@
$value: ($value * 1.618);
}
}

@if $increment < 0 {
$increment: abs($increment);
@for $i from 1 through $increment {
$value: ($value / 1.618);
}
}
@if $increment == 0 {
@warn "Increment value cannot be zero; must be ...-3, -2, -1, 1, 2, 3...";
}

@return $value;
}

Expand Down

0 comments on commit 99946bb

Please sign in to comment.