I've been struggling to access the individual parts of elements that require navigating through the shadow DOM. I've been following a guide for assistance: https://github.com/vaadin/vaadin-themable-mixin/wiki/1.-Style-Scopes
When I add this code to my shared-styles.html file, everything works smoothly:
vaadin-text-field {
border: 1px solid gray;
}
However, when it comes to styling specific parts of the element, the guide suggests doing it like this:
#shadow-root (open)
<style>
:host {
border: 1px solid gray;
}
</style>
Furthermore, it mentions that you can style specific parts (such as input-field) like so:
#shadow-root
<style>
[part="input-field"] {
border: 1px solid gray;
}
</style>
However, I'm having trouble understanding how the last 2 code blocks are supposed to target 'vaadin-text-field' since it's not explicitly mentioned in the snippets. Just adding those code snippets on their own doesn't seem to work. It feels like I might be missing something simple. Thank you for any assistance provided - the support available for Vaadin is truly appreciated!