[csswg-drafts] Short property typization (#7523)

korenevskiy has just created a new issue for https://github.com/w3c/csswg-drafts:

== Short property typization  ==
Let's create an abbreviated form of writing properties and variables.

When there are variables in the amount of 1000 pieces, then this is a heavy code.
It was:
```CSS
@property --color {
  syntax: '<color>';
  initial-value: red;
  inherits: false;
}
```
**Will be:**
It would be convenient to have an abbreviated spelling :
`​@--gradient-start: <syntax> <initial-value> inherits;`
Example:
`@--gradient-start: color red false;`

In the writing of 2 dashes they will show that this is a property.


```CSS
@--header-color: color white false;
@--header-background-color: color black false;
@--header-border-color: color green false;

@--wiget-color: color white false;
@--wiget-background-color: color black false;
@--wiget-border-color: color green false;
....
....
And so on and so forth
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7523 using your GitHub account


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

Received on Thursday, 21 July 2022 11:48:04 UTC