Skip to content

Commit d4b4c88

Browse files
author
Mark Hayes
committed
fix bug with ruby sass where sass variables can be defined in conditional (works in libsass though)
1 parent 2db158f commit d4b4c88

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scss/foundation/components/_global.scss

+6-6
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ $font-smoothing: antialiased !default;
188188

189189
// We use these to control text direction settings
190190
$text-direction: ltr !default;
191-
191+
$default-float: left !default;
192+
$opposite-direction: right !default;
192193
@if $text-direction == ltr {
193-
$default-float: left !default;
194-
$opposite-direction: right !default;
194+
$default-float: left;
195+
$opposite-direction: right;
195196
} @else {
196-
$default-float: right !default;
197-
$opposite-direction: left !default;
197+
$default-float: right;
198+
$opposite-direction: left;
198199
}
199-
200200
// We use these as default colors throughout
201201
$primary-color: #008CBA !default;
202202
$secondary-color: #e7e7e7 !default;

0 commit comments

Comments
 (0)