Re: [csswg-drafts] [css-mixins-1] I don't think we should've removed @macro (#14387)

```
@macro --reset {
  appearance: none;
}

.button {
  @extend --reset;
  background-color: rebeccapurple;
  color: white;
}

/* desugars to */
.button {
  appearance: none;
  background-color: rebeccapurple;
  color: white;
}
```

That's how `@mixin` already works per spec:

```
@mixin --reset {
  appearance: none;
}

.button {
  @apply --reset;
  background-color: rebeccapurple;
  color: white;
}
```

However, we never had Sass's `@extend` feature in the spec, and it's not currently planned to add it. However, you can get similar functionality by nesting mixins, instead.

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


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

Received on Wednesday, 26 August 2026 03:30:34 UTC