The new Valo theme in Vaadin 7.3 and later comes bundled with some fonts:
I'm struggling with adding these Valo fonts into my custom theme. This is what I have but it doesn't seem to work.
styles.scss
$v-font-family: 'Lato', sans-serif, 'Open Sans';
@import "../valo/valo";
.myTheme {
@include valo;
@import "myRules";
}
This is what I get in the console:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) http://name/name/VAADIN/themes/myTheme/Lato-regular-webfont.woff
It should point to http://name/name/VAADIN/themes/valo/Lato-regular-webfont.woff
I guess I forgot about something but I've searched and it's not mentioned in the Book of Vaadin.