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

@mirisuzanne this is awesome!

My first big question about mixins and `@apply` are how this avoids the problems @tabatkins talks about in https://www.xanthir.com/b4o00 Is it because function and mixin declarations aren't applied with selectors and don't inherit? What is the scope of a mixin declaration then, global?

Also, one of the use cases for the older `@apply` was that components authors could use it in their styles to allow component users to override arbitrary properties on certain elements. Is that use case supported with `@mixin`?

-- 
GitHub Notification of comment by justinfagnani
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-1724723964 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:05:11 UTC