Re: [w3c/webcomponents] Theming options for shadow roots (#864)

# Should work without JS
For me one of the big "selling points" of web components is that web designers (HTML & CSS, no JS skills) have a simple way to just load and use custom tags providing additional features, e.g. calendar, image gallery etc.
Custom properties work in this context (no JS), but as we know they are very cumbersome to use due to their global nature and really just work well for your "theming variables" usecase. They are not good for fine-tuning components (at least as long as the component developer did not expose every possible css variable for each element as a custom property).
To allow fine-tuning (=adopting an existing component to match the brand in a pixel-perfect way) for web designers we will also need a way to get CSS into any webcomponent without using JS (similar to the old dom-module/template/style approach, but for all webcomponents and simpler if possible)




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

Received on Wednesday, 26 February 2020 12:12:09 UTC