CSS variables could be a good solution for themeing across components.  If 
so what about making a Polyfill until CSS Variables gets further support. 
 This was a nice article 
<http://pascalprecht.github.io/2014/08/01/sharing-styles-across-web-components-with-polymer-and-core-style/>on
 
core-style, the current method for styling ui frameworks like jquery-ui, 
kendo-ui, ect. is just to drop a my-light-theme.css on the page, which 
seems easier to do.

On Saturday, November 2, 2013 4:33:33 AM UTC-4, Артур Файзрахманов wrote:
>
> Hi!
> I'm implementing polymer based web application, and I'm very interested in 
> future scaleability of this project.
> At the starting point much of my custom polymer elements had inline 
> styles. I've noticed, that I can put link tag within element's main 
> template to point to external stylesheet, and now I'm using this way to 
> style my elements (which also gives me ability to use my favorite CSS 
> framework to do job for me).
> I've also noticed that polymer ui elements are themes aware, how can I 
> make my elements use themes? I can't find any documentation or a simple 
> tutorial about how can I achieve that.
> Is there some guidelines about the subject?
> What do the themes are pretend to be in general? Are them only about 
> coloring or maybe they are robust way to manage elements appearance, 
> positioning and responsive behavior?
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/2de193b1-d701-40f0-963a-736e4e49d1a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to