B"H
Hello,
Vaadin 14.2
I am looking for example how to create exceptional cases for components
e.g. in my app, all text inputs looks same but one of them should be different.
So I tried use the addThemeName and create special css for that with no success
e.g.
Any idea what am doing wrong, or where i can find more examples, does addClassName can assist here?
Thanks
:host ([theme~="searchInput"]
)[part="input-field"]
{
background: linear-gradient(to bottom, #d6d9de, #fefeff);
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
border: 1px solid #1e5582;
border-right: 0px;
font-style: italic;
}