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

@supports not with Sass interpolation is broken #412

Open
cheit-epic opened this issue Nov 8, 2024 · 0 comments
Open

@supports not with Sass interpolation is broken #412

cheit-epic opened this issue Nov 8, 2024 · 0 comments

Comments

@cheit-epic
Copy link

When using not in combination with an interpolated Sass variable, the parser breaks with the error ( expected scss(css-lparentexpected)

$foo: "(display: grid)";
$foo2: "display: grid";

@mixin Mixin()
{
  @supports #{foo} {
    //works
  }

  @supports not #{$foo} {
    //doesn't work
  }

  @supports not (#{$foo2}) {
    //works
  }
}
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