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

@mixin arguments causing parse error #135

Open
stevenvachon opened this issue Jul 23, 2019 · 3 comments
Open

@mixin arguments causing parse error #135

stevenvachon opened this issue Jul 23, 2019 · 3 comments

Comments

@stevenvachon
Copy link

@mixin border-shadow($inset: inset) {
  border: 1px solid silver;
  @if $inset == inset {
    box-shadow: inset 1px 1px 1px 0px, black;
  }
  @else if $inset == outset {
    box-shadow: 1px 1px 1px 0px black;
  }
}

a {
  @include border-shadow(inset);
  color: rebeccapurple;
}
"precss: /cp-pen-styles:6:13: Could not resolve the variable \"$inset\" within \"if $inset == outset\""
@AndriyHromyak
Copy link

i got same error, and i see this has been 2 year since last commit. is it supported? does any one know any alternatives?

@thisVioletHydra
Copy link

same problem 🤔

@clayteller
Copy link

I have the same issue 😕

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

4 participants