Re: [csswg-drafts] [css-variables-2] Custom shorthands with `@property` (#7879)

I very like that idea 😍
Even more because it is strongly typed.

But there is one thing I don't like.
This code...
```
--some-shorthand: green 10px block;
```
... looks like definition, not like applying.

I like the way how it's made in Less. With an `@includes` property with a list of "mixins" names in the value. It looks more like 'apply this mixims to this block' than 'there i define a new value for this mixin'.

I don't know if CSS let property be named from the symbol `@`, and do it need to be called `includes`, but i think there needs at least a new property for it)

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


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

Received on Friday, 14 October 2022 17:51:40 UTC