Re: [WICG/webcomponents] "open-stylable" Shadow Roots (#909)

@nolanlawson 

> Everything that's been proposed above solves some part of this, but not the whole thing – that's kind of my point.

I actually still don't understand you, because it sounds like that you, as the author of the emoji picker, would like to opt-in. In which case the consumer would be able to style absolutely everything. The `layer` proposal, as I understand it, allows this. So the problems that you list exist with `::part`, but they don't exist with the proposals in this thread. If you think they do, can you be more specific about why you think they don't solve it?

You're previous point was that not all components will opt-in. Of course that's true, but that's expected and good. You cannot override all of the JavaScript in your dependencies either. In modules, you can only access the code that's explicitly opt-in via the `export` keyword. People get frustrated that they want to change module internals, but they can't, and that's a good thing.

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

Message ID: <WICG/webcomponents/issues/909/1885262344@github.com>

Received on Wednesday, 10 January 2024 17:13:06 UTC