Re: [csswg-drafts] [css-mixins-1] Alternatives to using a scoping rule (#13727)

@LeaVerou Theoretically, would you be OK with renaming `@macro` to `@mixin`, and then figure out new way of accessing scoped mixins in a way that makes it more clear to authors that it is in fact scoped? For example, "named scopes", or "parametric scopes":

```css
.parent {
  --mywidth: 100px;
  /* Applies a named scope called `--sync-size`, defined elsewhere ... somehow. */
  @scope --sync-size(var(--mywidth));
}
```

-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13727#issuecomment-4143327096 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 27 March 2026 15:13:08 UTC