Re: [w3c/webcomponents] Support Custom Pseudo-elements (#300)

I disagree that `::theme` is unimportant. Having very deep shadow trees is going to be very common. If you have to manually forward each part at every level it is going to get quite verbose. I can imagine CSS frameworks like Bootstrap having widgets that contain 3 or 4 parts. With deep trees and each level adding new parts I can see the outer components might have an absurd number of things to forward.

`::theme` gives you an escape hatch for the cases where you have global-esque styles, such as when you use a CSS framework. Being able to use `::theme(bootstrap-form)` and define the styles only once will be a big advantage.

-- 
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/300#issuecomment-279536510

Received on Monday, 13 February 2017 22:01:22 UTC