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

@mirisuzanne 

> From a systems-first approach, I expect components to provide _as little style as absolutely necessary_ to ensure functionality (modeled on UA styles) - and generally allow the page-provided system to fill in _everything else_.

I don't think this is incompatible with open-styleable.

"Global" styles are a very important part of making open-styleable actually viable. I only showed the framework-scoped styles in my example, but I would totally expect all other document styles to also be available, including:
- CSS resets
- utility classes
- all page-provided styles

If for some reason, the shadowroot ends up pulling "too much", that's not a problem because you can override it or not use open-styleable for specific shadowroots (which can even be nested inside open-styleable shadowroots).

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

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

Received on Thursday, 14 March 2024 17:40:51 UTC