- From: mangelozzi via GitHub <sysbot+gh@w3.org>
- Date: Sun, 29 May 2022 11:28:45 +0000
- To: public-css-archive@w3.org
> BTW, `background: var(--my-color-red)80` doesn't work because (https://drafts.csswg.org/css-variables/#substitute-a-var) > > > [var() substitution](https://drafts.csswg.org/css-variables/#substitute-a-var) takes place at the level of CSS tokens [[css-syntax-3]](https://drafts.csswg.org/css-variables/#biblio-css-syntax-3), not at a textual level; you can’t build up a single token where part of it is provided by a variable And there seems to be no way to concatenate tokens, so without knowing the details, it seems to me that token handling (as opposed to string handling) closes the possibilities of custom property usage. -- GitHub Notification of comment by mangelozzi Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7327#issuecomment-1140428867 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 29 May 2022 11:28:46 UTC