Hello everyone. I’m new to vaadin and currently working with a project which has been build on Vaadin 7.
I am having a hard time finding information how css styling actually works inside of it.
Let’s say I have a Label component, which I would like to style:
Label.addStyleName(“myownstyle”);
And I have my style like this:
.myownstyle {
font-family: fantasy;
font-style: italic;
font-size: 25px;
}
Where should I store my css code then?
anywhere in the resource folder? Or in some specific css file like vaadinstyle.css?
Should I write a path to this file somewhere?
Ok, I guess I found the answer:
There are VAADIN.themes folder which contains styles.scss, which has all the custom styles that has been used by other developer in this application.
Thank you for your help!