modularscale / modularscale-sass

Modular scale calculator built into your Sass

Home Page:http://www.modularscale.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Libsass 3 complains about syntax

cibulka opened this issue · comments

Hello, thanks for the great plugin!

I am using Modular scale through Bower with newly updated sindresorhus/grunt-sass (that uses Libsass 3.0 Beta).

After the update, I started receiving following error on compilation:

Running "sass:child" (sass) task
>> only variable declarations and control directives are allowed inside functions
>>   Line 35  Column 5  ../cibulka-wp-theme/assets/bower_components/modular-scale/stylesheets/modular-scale/_sort-list.scss
Warning:  Use --force to continue.

Line 38 of _sort-list.scss contains condition written as @elseif (not @else if). When I've inserted the required space, everything started working as expected.