Re: [csswg-drafts] Proposal: Custom CSS Functions & Mixins (#9350)

They avoid the `@apply` issues because they're not defined using the custom property mechanism and passed around that way. They're first-class citizens acting at the appropriate syntax level.

> What is the scope of a mixin declaration then, global?

Yup, same as in Sass/etc.

> Is that use case supported with @mixin?

No. `::part()` was defined to handle that case instead.

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


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

Received on Tuesday, 19 September 2023 02:42:24 UTC