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

Nice brainstorming so far everyone, but it's time to narrow down the design space so we can make progress. I think we should break down the resolution in two steps:

1. Get resolution that the syntax should be `if( [ <boolean> <c1> <decl-value> <c2>]+ <decl-value> )` where `<c1>` and `<c2>` are _some_ single character tokens. This is something that will be used all over CSS so conciseness is important.
2. Within that far more limited design space, decide what the characters should be. I think the options currently are:
 - For `<c1>`, `?`, `:`, or `,`/`;`
 - For `<c2>`, `:`, or `,`/`;`

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


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

Received on Friday, 19 July 2024 19:50:14 UTC