I use vaadin 7 and I build it with maven.
There is a CSS file called 'the_name_of_myProject'/src/main/webapp/VAADIN/themes/mytheme/styles.css If I modify it in any way, my modifications are overridden by the next maven build. Looks like the file is always re-generated from jars.
What can I do if I want those modifications to survive?
I have created my own theme with a different name but it did not help either because its .css were overridden in the same way.
Any advice is appreciated.
Sass is an extension of CSS. Here is a description: link
Maven generates CSS from Sass. You can put your custom css code into styles.scss.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With