Good afternoon, I try to connect this design
Label label2 = new Label("This text has a lot of style"); label2.addStyleName("mystyle"); layout.addComponent(label2); this style
.mystyle { font-family: fantasy; font-style: italic; font-size: 25px; font-weight: bolder; line-height: 30px; } but how to do this I can not understand, this style is registered in the folder of the mytheme project in the style.css file is not connected in the same place created a separate file mystyle.css the result is the same what is the reason?
style.cssthisstyle.cssconnect to the final html? - Artem Gorlachevlabelshould beclass="mystyle"- Artem Gorlachev.mystyle{...}is generally that in order.mystyle{...}connect to an element it is necessary that the element inhtmlhas an attributeclass="mystyle"; I am not at all familiar with vaadin ( - Artem Gorlachev