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

Aside from web component authoring perspective, I'd also suggest some affordances from an end-user perspective (as in the user of a web component provided by a library): an API to enable this at runtime. It can be an attribute as suggested by @PaulHMason, for example, `<command-bar style-mode="inherit-host"></command-bar>`

This can help me, as a user, to use a web component with global overrides if needed and without if not needed.

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

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

Received on Tuesday, 28 February 2023 13:23:27 UTC