- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Mon, 30 Jan 2023 18:22:05 +0000
- To: public-css-archive@w3.org
Actually, thinking about it, we can do this with the current syntax (provided we get ranges), by simply using a helper variable:
```css
.container {
 --accent-color-l: color-extract(lab.l of var(--accent-color));
}
@container style(--accent-color-l > 80) {
 /* .. */
}
```
-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7068#issuecomment-1409105994 using your GitHub account
-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 30 January 2023 18:22:06 UTC