Define a custom style module with a theme-for
attribute to target
a specific Vaadin Element type.
To stay on a safe side, only apply custom styles to either the element
itself (:host
) or the exposed shadow parts ([part~="name"]
).
NOTE: The custom style module must be defined/imported before the element it targets.