Re: [csswg-drafts] [css-properties-values-api] Shorthand for custom property declaration (#7523)

I agree with @emilio (as I said earlier).

----

@Crissov 

> @property --color- {
>   syntax: <color>;
>   initial-value: currentcolor;
>   inherits: prefix;
> }
> @property -color {
>   syntax: <color>;
>   initial-value: currentcolor;
>   inherits: suffix;
> }
> :root {
> --color-green: lime; /* registered */
> --brand-color: olive; /* registered */
> --theme-color-red: maroon; /* unregistered */
> }

I keep looking at this and still have _no_ idea what it means. Like, I can't even hazard a guess as to what it _might_ mean. I'm just utterly lost.

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


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

Received on Saturday, 6 December 2025 22:04:08 UTC