Custom vaadin 14 theme. Not working with jar

115 views Asked by At

I wrote my own custom theme in vaadin following packaging theme guide.

It has following structure...

structure

Style.css has following structure...

enter image description here

and theme.json...

enter image description here

When I launch my own app from local with eclipse spring, application has following aspect...

enter image description here

Then I generate a jar with maven clean-install and then run exec jar with my app... If I run my app from jar, application has following aspect (jar)...

enter image description here

You can see differences. With exec jar, bold text has applied to buttons also text sizes... Both has the same theme and vaadin theme app jar and it has been called from pom.xml.

If I move my own theme to my app resource folder, and I do the same (generate exe jar, and run from eclipse and from jar) everything goes well and no difference between jar and eclipse run.

Do I forget something? Can you see something missing? Why exec jar add extra style or bold difference?

Thank you,

best regards.

0

There are 0 answers