@mixin bar {
  @at-root @bar {a: b}
}

.foo {
  @include bar;
}