- From: Romain Menke via GitHub <noreply@w3.org>
- Date: Tue, 10 Jun 2025 12:33:46 +0000
- To: public-css-archive@w3.org
The thing having a type is indeed important.
If `@custom-<anything>` is implementable and isn't an excessive burden to implementors then, yes I do think it is the way to go :)
But I don't have any strong attachment to the currently specified syntax.
Something more general purpose would also be fine.
Maybe something inspired by `@property`?:
```css
@prelude --foo {
syntax: "@media"; /* with some specific syntax to reference "whatever is valid in that other prelude" */
value: (width >= 768px);
}
```
--
GitHub Notification of comment by romainmenke
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7622#issuecomment-2959027500 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 June 2025 12:33:46 UTC