- From: Tim Nguyen via GitHub <noreply@w3.org>
- Date: Mon, 29 Dec 2025 22:27:57 +0000
- To: public-css-archive@w3.org
The original idea behind color-layers() was to replace/simplify this kind of hack: ``` background-color: var(--color-0); background-image: linear-gradient(var(--color-1)), linear-gradient(var(--color-2)) ``` into ``` background-color: color-layers(var(--color-0), var(--color-1), var(--color-2)) ``` so it's been assuming how compositing works which I think uses srgb. Not opposed to adding a colorspace option, but I wonder if default should be srgb or oklab -- GitHub Notification of comment by nt1m Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13254#issuecomment-3697670951 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 29 December 2025 22:27:58 UTC