- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Dec 2023 16:09:19 +0000
- To: public-css-archive@w3.org
> Ok, thanks, I think I understand the `@color-scheme` at rule now. How does this affect the proposed `schemed-value()` function?
You can use your custom `color-scheme` name inside `schemed-value()`:
```
@color-scheme --solarized-dark {
…
}
html {
color-scheme: --solarized-dark light dark;
}
a {
color: schemed-value(
--solarized-dark yellow,
light red,
dark lime
);`
}
```
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9660#issuecomment-1836370329 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 1 December 2023 16:09:22 UTC