CSS - Not possible to just add files?

Let’s say I want to play with margins, paddings and backgrounds, but keep using Vaadin theme. Is there an easier way than create a full custom theme? Something like loading the custom css and using CssLayout.

It’s interesting that the layout options don’t have a setPadding and setMargin with sizes (correct me if I’m wrong).

You can use CustomLayout class. Examples: https://vaadin.com/book/-/page/layout.customlayout.html

Thanks!