I am using Polymer Templates for my views. Defining styling CSS semms to work except for the font definition. It just doesnt pick up the custom fonts.
How can I include custom fonts into Polymer Templates?
Here is my try so far: (h1 is drawn red but not using the custom font, font-files are copied in mentioned directory)
I didnt look at the console.
But now found out, that fonts must be declared in the custom-style section.
What I do now is to include the theming moduel in the custom-style tags as well, see below
Dear Vaadin engineers, when you do your magic please LOG warning/errors/clues when dealing with js resources. Finding this took 2 hours of poking around as to why initially my code was doing absolutely nothing.
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.