Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
evilgeniuscreative opened this issue Jul 7, 2016 · 0 comments
Open

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

evilgeniuscreative opened this issue Jul 7, 2016 · 0 comments

Comments

@evilgeniuscreative
Copy link

evilgeniuscreative commented Jul 7, 2016

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.";
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant