Re: [csswg-drafts] [css-values-5] Using `if()` to do dark/light switching of image urls. (#10577)

> The use-case I want more than anything else is:
> 
> ```css
> color-scheme: light-dark(dark, light);
> ```

🤔 I think this would be cyclic and should be invalid.

Same for:
```css
color-scheme: if(color-scheme(dark): dark, else: light);
```

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


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

Received on Thursday, 10 October 2024 15:22:05 UTC