Vaadin 14 cannot be resolved BoxShadowBorders and LumoStyles

Hello.

I am developing a view directly in java, without design.

However when I try to assign theme properties to components like:

component.addClassName (BoxShadowBorders.TOP);

component.addClassNames (
	LumoStyles.Margin.Horizontal.XL,
	LumoStyles.Padding.Vertical.XL,
	LumoStyles.Spacing.Bottom.M);

Cannot be resolved BoxShadowBorders and LumoStyles.

Which library do I need to import into the pom?

Thanks.

Hi,
BoxShadowBorders and LumoStyles are two classes in Business App Starter and can’t be used in other projects of course. They are not part of Vaadin framework. See https://vaadin.com/docs/v14/business-app/overview.html for more info.

thank you, clarified me.