Skip to content

Commit

Permalink
fix bug with ruby sass where sass variables can be defined in conditi…
Browse files Browse the repository at this point in the history
…onal (works in libsass though)
  • Loading branch information
Mark Hayes committed Feb 5, 2014
1 parent 2db158f commit d4b4c88
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scss/foundation/components/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d4b4c88

Please sign in to comment.