From 99946bbe85198b502260c7ec647d431a35c68ea5 Mon Sep 17 00:00:00 2001 From: Phil LaPier Date: Fri, 18 Nov 2011 15:54:02 -0500 Subject: [PATCH] Removed the warning from the golden-ratio function --- app/assets/stylesheets/functions/_golden-ratio.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/functions/_golden-ratio.scss b/app/assets/stylesheets/functions/_golden-ratio.scss index 5d7dbea60..8f825addf 100644 --- a/app/assets/stylesheets/functions/_golden-ratio.scss +++ b/app/assets/stylesheets/functions/_golden-ratio.scss @@ -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; }