From d4b4c88453342095b3bd55b3ca0b9d9dbd4db9ba Mon Sep 17 00:00:00 2001 From: Mark Hayes Date: Wed, 5 Feb 2014 11:57:39 -0800 Subject: [PATCH] fix bug with ruby sass where sass variables can be defined in conditional (works in libsass though) --- scss/foundation/components/_global.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scss/foundation/components/_global.scss b/scss/foundation/components/_global.scss index c2266c2435..865b049f0f 100644 --- a/scss/foundation/components/_global.scss +++ b/scss/foundation/components/_global.scss @@ -188,15 +188,15 @@ $font-smoothing: antialiased !default; // We use these to control text direction settings $text-direction: ltr !default; - +$default-float: left !default; +$opposite-direction: right !default; @if $text-direction == ltr { - $default-float: left !default; - $opposite-direction: right !default; + $default-float: left; + $opposite-direction: right; } @else { - $default-float: right !default; - $opposite-direction: left !default; + $default-float: right; + $opposite-direction: left; } - // We use these as default colors throughout $primary-color: #008CBA !default; $secondary-color: #e7e7e7 !default;