Re: [WICG/webcomponents] Web components should be able to easily adapt to the host page while maintaining enapsulation (Issue #986)

I would be happy if I could opt in to external native element styling by simply setting an attribute on the elements within the shadow root. Something like `<button allow-external-styles></button>`. That would limit external style matches to `button { ... }` only, but I think that's fine because I don't see much sense in going crazy with different styles for different shadow dom buttons - the idea is consistency. If people want to get really creative then there's always `part`.

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

Message ID: <WICG/webcomponents/issues/986/1447598369@github.com>

Received on Tuesday, 28 February 2023 05:22:47 UTC