Re: [WICG/webcomponents] [exportparts] support exporting via wildcards `exportparts="*, primary-*"` (Issue #1051)

Supporting wildcards like this would be a massive help, but there's still an extremely large styling API to document, and that's pretty undesirable.

Here is an alternative idea, although I'm not sure if this is supportable in CSS: `exportparts` could support a special wildcard sigil that enabled parts matching on parts. Imagine the same tree as the example above, but each export part is just set as `**`, then these selectors would match:

`x-theme::part(primary)::part(r)::part(track)`
`x-theme::part(primary)::part(thumb)`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1051#issuecomment-1986442458
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1051/1986442458@github.com>

Received on Friday, 8 March 2024 21:27:36 UTC