Re: [csswg-drafts] propose a `hexa()` function that mirrors `rgba()` functionality for hex color codes (#7327)

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

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


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

Received on Saturday, 28 May 2022 21:33:11 UTC