[research] Implement ThemableMixin similar to Polymer version
web-padawan opened this issue · comments
Serhii Kulykov commented
Starting from lit/lit-element#470,finalize
method is now protected and is used to collect styles from the prototype chain. We can try to use that point to collect additional style modules for shadow parts, roughly the same as ThemableMixin
works. Also, the _getUniqueStyles
method looks as what we could override (but that one is private and we should use it carefully).