mojotech / sass2stylus

Kewl
http://sass2stylus.com/
79 stars 18 forks source link

Issues with complicated if/then/else/content mixin #96

Open evilgeniuscreative opened 8 years ago

evilgeniuscreative commented 8 years ago

Got an error that Sass2Stylus couldn't process this SASS code:

@mixin break-at($name) { @if map-has-key($breakpoints, $name) { @media #{inspect(map-get($breakpoints, $name))} { @content; } } @else { @warn "Unfortunately, no value could be retrieved from #{$breakpoints}. " + "Please make sure it is defined in $breakpoints map."; } }