- From: flachware via GitHub <noreply@w3.org>
- Date: Mon, 12 Jan 2026 11:20:02 +0000
- To: public-css-archive@w3.org
flachware has just created a new issue for https://github.com/w3c/csswg-drafts:
== Syntactic sugar for variables ==
With all the features that have already been added to CSS, and with mixins around the corner, there is little reason left for me to continue using a preprocessor – except for the verbose variable syntax. Would it be feasible to add syntactic sugar to provide a more ergonomic alternative?
```css
/* Standard syntax */
.element {
color: var(--element-color);
}
/* Shorthand syntax */
.element {
color: @element-color;
}
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13334 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 January 2026 11:20:03 UTC