Re: [csswg-drafts] [css-values-5] What is the MVP for inline conditionals on custom properties? (#10064)

A random thought after reading https://github.com/w3c/csswg-drafts/issues/10489, which proposes to align `mix()` to have `of` and `to` keywords instead of commas with what is defined for `progress()` which has `from` and `to`.

I guess, another option for `if()` could be something like `if(A then B else C)`, although it might be a bit weird when the commas are involved, as visually you'd think the keywords belong to different parts: `if(A then B, C else D)`.

(not sure how I feel about this option compared to others, but I felt it might be useful to bring it up here as it was not mentioned yet)

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


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

Received on Tuesday, 25 June 2024 18:28:30 UTC