Hello,

I was wondering how I could create themable components.
I know how to create a theme for a component, but the theme is then 
included directly into the component and is not themable from outside of 
the component.
But if instead of including the theme into the component, I call the theme 
from the application, then the theme is not associated to the component 
itself but to the whole application and so css encapsulation does not work 
any more.
I think that's how angular material2 work. Theme (and all css) is not 
encapsulated.
I would like to create themable component which theme is encapsulated to 
the component itself.

Thanks for your help.

Best regards.
Christophe

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to