Re: [css-houdini-drafts] [css-custom-functions] user-defined custom CSS functions (#1007)

As a programmer, I slightly prefer the at-rule syntax, which looks similar to different programming languages. It should also be kept in mind to be able to define a [worklet](https://drafts.css-houdini.org/worklets/) for extended functionality.

I also like the idea of realizing mixins with that syntax, though I wonder whether functions and mixins should be mixed (pun intended 😄). I mean, whether it should be allowed to let a function return property values or several property declarations. I'd rather expect to have two different syntaxes for that, e.g. an `@mixin` rule.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1007#issuecomment-678753441 using your GitHub account


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

Received on Sunday, 23 August 2020 09:51:33 UTC