Re: [csswg-drafts] CSS Color; light-dark() should be applicable on more properties. (#10577)

Is there sufficient overlap with https://github.com/w3c/csswg-drafts/issues/10064 to consider something like :

`color-scheme(dark)` as a condition for `<<if-cond>>` ?

So that you can do : `if(color-scheme(dark): blue, else: cyan)`

In other words do we need a dedicated function for color schemed values if we are already considering other syntax for more generic inline conditions?

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


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

Received on Wednesday, 17 July 2024 15:07:36 UTC